Named-entity recognition

From Wikipedia, the free encyclopedia
  (Redirected from Entity extraction)
Jump to: navigation, search

Named-entity recognition (NER) (also known as entity identification, entity chunking and entity extraction) is a subtask of information extraction that seeks to locate and classify elements in text into pre-defined categories such as the names of persons, organizations, locations, expressions of times, quantities, monetary values, percentages, etc.

Most research on NER systems has been structured as taking an unannotated block of text, such as this one:

Jim bought 300 shares of Acme Corp. in 2006.

And producing an annotated block of text that highlights the names of entities:

[Jim]Person bought 300 shares of [Acme Corp.]Organization in [2006]Time.

In this example, a person name consisting of one token, a two-token company name and a temporal expression have been detected and classified.

State-of-the-art NER systems for English produce near-human performance. For example, the best system entering MUC-7 scored 93.39% of F-measure while human annotators scored 97.60% and 96.95%.[1][2]

Problem definition[edit]

In the expression named entity, the word named restricts the task to those entities for which one or many rigid designators, as defined by Kripke, stands for the referent.[citation needed] For instance, the automotive company created by Henry Ford in 1903 is referred to as Ford or Ford Motor Company. Rigid designators include proper names as well as certain natural kind terms like biological species and substances.

Full named-entity recognition is often broken down, conceptually and possibly also in implementations,[3] as two distinct problems: detection of names, and classification of the names by the type of entity they refer to (e.g. person, organization, location and other[4]). The first phase is typically simplified to a segmentation problem: names are defined to be contiguous spans of tokens, with no nesting, so that "Bank of America" is a single name, disregarding the fact that inside this name, the substring "America" is itself a name. This segmentation problem is formally similar to chunking.

Temporal expressions and some numerical expressions (i.e., money, percentages, etc.) may also be considered as named entities in the context of the NER task. While some instances of these types are good examples of rigid designators (e.g., the year 2001) there are also many invalid ones (e.g., I take my vacations in “June”). In the first case, the year 2001 refers to the 2001st year of the Gregorian calendar. In the second case, the month June may refer to the month of an undefined year (past June, next June, June 2020, etc.). It is arguable that the named entity definition is loosened in such cases for practical reasons. The definition of the term named entity is therefore not strict and often has to be explained in the context it is used.[5]

Certain hierarchies of named entity types have been proposed in the literature. BBN categories, proposed in 2002, is used for Question Answering and consists of 29 types and 64 subtypes.[6] Sekine's extended hierarchy, proposed in 2002, is made of 200 subtypes.[7] More recently, in 2011 Ritter used a hierarchy based on common Freebase entity types in ground-breaking experiments on NER over social media text.[8]

Formal evaluation[edit]

To evaluate the quality of a NER system's output, several measures have been defined. While accuracy on the token level is one possibility, it suffers from two problems: the vast majority of tokens in real-world text are not part of entity names as usually defined, so the baseline accuracy (always predict "not an entity") is extravagantly high, typically >90%; and mispredicting the full span of an entity name is not properly penalized (finding only a person's first name when their last name follows is scores ½ accuracy).

In academic conferences such as CoNLL, a variant of the F1 score has been defined as follows:

  • Precision is the number of predicted entity name spans that line up exactly with spans in the gold standard evaluation data. I.e. when [Person Hans] [Person Blick] is predicted but [Person Hans Blick] was required, precision for the predicted name is zero. Precision is then averaged over all predicted entity names.
  • Recall is similarly the number of names in the gold standard that appear at exactly the same location in the predictions.
  • F1 score is the harmonic mean of these two.

It follows from the above definition that any prediction that misses a single token, includes a spurious token, or has the wrong class, "scores no points", i.e. does not contribute to either precision or recall.

Approaches[edit]

NER systems have been created that use linguistic grammar-based techniques as well as statistical models, i.e. machine learning. Hand-crafted grammar-based systems typically obtain better precision, but at the cost of lower recall and months of work by experienced computational linguists. Statistical NER systems typically require a large amount of manually annotated training data. Semisupervised approaches have been suggested to avoid part of the annotation effort.[9][10]

Many different classifier types have been used to perform machine-learned NER, with conditional random fields being a typical choice.[11]

Problem domains[edit]

Research indicates that even state-of-the-art NER systems are brittle, meaning that NER systems developed for one domain do not typically perform well on other domains.[12] Considerable effort is involved in tuning NER systems to perform well in a new domain; this is true for both rule-based and trainable statistical systems.

Early work in NER systems in the 1990s was aimed primarily at extraction from journalistic articles. Attention then turned to processing of military dispatches and reports. Later stages of the automatic content extraction (ACE) evaluation also included several types of informal text styles, such as weblogs and text transcripts from conversational telephone speech conversations. Since about 1998, there has been a great deal of interest in entity identification in the molecular biology, bioinformatics, and medical natural language processing communities. The most common entity of interest in that domain has been names of genes and gene products. There has been also considerable interest in the recognition of chemical entities and drugs in the context of the CHEMDNER competition, with 27 teams participating in this task.[13]

Current challenges and research[edit]

Despite the high F1 numbers reported on the MUC-7 dataset, the problem of Named Entity Recognition is far from being solved. The main efforts are directed to reducing the annotation labor by employing semi-supervised learning,[14][15] robust performance across domains[16][17] and scaling up to fine-grained entity types.[18][19] In recent years, many projects have turned to a crowdsourcing, which is a promising solution to obtain high-quality aggregate human judgments for supervised and semi-supervised machine learning approaches to NER.[20]

A recently emerging task of identifying "important expressions" in text and cross-linking them to Wikipedia [21] [22][23] can be seen as an instance of extremely fine-grained named entity recognition, where the types are the actual Wikipedia pages describing the (potentially ambiguous) concepts. Below is an example output of a Wikification system:

<ENTITY url="http://en.wikipedia.org/wiki/Michael_I._Jordan"> Michael Jordan </ENTITY> is a professor at  <ENTITY url="http://en.wikipedia.org/wiki/University_of_California,_Berkeley"> Berkeley </ENTITY>

Software[edit]

  • GATE supports NER across many languages and domains out of the box, usable via graphical interface and also Java API
  • NETagger includes the Java based Illinois Named Entity Recognition tool, trained for the standard 4 types, as well as for an extended set of entities.
  • OpenNLP includes rule based and statistical named entity recognition
  • Stanford CoreNLP includes a Java-based CRF named entity recognition tool

See also[edit]

References[edit]

  1. ^ Elaine Marsh, Dennis Perzanowski, "MUC-7 Evaluation of IE Technology: Overview of Results", 29 April 1998 PDF
  2. ^ MUC-07 Proceedings (Named Entity Tasks)
  3. ^ Carreras, Xavier; Màrquez, Lluís; Padró, Lluís (2003). "A simple named entity extractor using AdaBoost". CoNLL. 
  4. ^ Tjong Kim Sang, Erik F.; De Meulder, Fien (2003). "Introduction to the CoNLL-2003 shared task: Language-independent named entity recognition". CoNLL. 
  5. ^ Named Entity Definition. Webknox.com. Retrieved on 2013-07-21.
  6. ^ Bbn’S Proposed Answer Categories For Question Answering. Ldc.upenn.edu. Retrieved on 2013-07-21.
  7. ^ Sekine's Extended Named Entity Hierarchy. Nlp.cs.nyu.edu. Retrieved on 2013-07-21.
  8. ^ Ritter, A; S. Clark, Mausam, O. Etzioni. (2011). "Named Entity Recognition in Tweets: An Experimental Study". Proc. Empirical Methods in Natural Language Processing. 
  9. ^ Dekang Lin; Xiaoyun Wu (2009). "Phrase clustering for discriminative learning". Proc. J. Conf. of the ACL and 4th Int'l J. Conf. on Natural Language Processing of the AFNLP. pp. 1030–1038. 
  10. ^ Nothman, Joel; et al. (2013). "Learning multilingual named entity recognition from Wikipedia". Artificial Intelligence 194: 151–175. 
  11. ^ Jenny Rose Finkel; Trond Grenager; Christopher Manning (2005). "Incorporating Non-local Information into Information Extraction Systems by Gibbs Sampling". 43rd Annual Meeting of the Association for Computational Linguistics. pp. 363–370. 
  12. ^ Poibeau, Thierry and Kosseim, L. (2001) Proper Name Extraction from Non-Journalistic Texts. Proc. Computational Linguistics in the Netherlands.
  13. ^ Template:Cite M Krallinger, F Leitner, O Rabal, M Vazquez, J Oyarzabal and A Valencia, Overview of the chemical compound and drug name recognition (CHEMDNER) task. Proceedings of the Fourth BioCreative Challenge Evaluation Workshop vol. 2. 6-37
  14. ^ Lin, Dekang; Wu, Xiaoyun (2009). "Phrase clustering for discriminative learning". Annual Meeting of the ACL and IJCNLP. pp. 1030–1038. 
  15. ^ Word representations: A simple and general method for semi-supervised learning.
  16. ^ Design Challenges and Misconceptions in Named Entity Recognition.
  17. ^ Frustratingly Easy Domain Adaptation.
  18. ^ Fine-Grained Named Entity Recognition Using Conditional Random Fields for Question Answering.
  19. ^ Sekine's Extended Named Entity Hierarchy. Nlp.cs.nyu.edu. Retrieved on 2013-07-21.
  20. ^ Web 2.0-based crowdsourcing for high-quality gold standard development in clinical Natural Language Processing
  21. ^ Linking Documents to Encyclopedic Knowledge.
  22. ^ Learning to link with Wikipedia.
  23. ^ Local and Global Algorithms for Disambiguation to Wikipedia.

External links[edit]