Elamur Research⌕
☰
home / papers / 2003 / Early results for Named Entity Recognition with Conditional Random Fields, Feature Induction and Web-Enhanced Lexicons

Early results for Named Entity Recognition with Conditional Random Fields, Feature Induction and Web-Enhanced Lexicons

Summary

The paper tackles named entity recognition on the CoNLL-2003 shared task, which covers English and German news with PERSON, LOCATION, ORGANIZATION and MISC labels. It asks two practical questions: which feature combinations a Conditional Random Field should actually use, and where task-relevant word lists can be found. For the first, the authors adapt the Della Pietra et al. likelihood-gain feature induction from joint to conditional sequence models. Several approximations keep the search cheap enough to run. For the second, they introduce WebListing. This method takes entity seeds from the labeled data and expands them into large lexicons by exploiting HTML formatting regularities, implemented through GoogleSets. Built in only a few person-weeks, the system reaches 84.04% F1 on the English test set using roughly 6.4 thousand induced features. A fixed-conjunction baseline with about a million features scores far lower. German, which had only a handful of small lexicons, reaches 68.11%. The work shows that selecting features automatically can make models both more accurate and much more compact.

Key points

  • Results on CoNLL-2003 test sets: English F1 is 84.04% with 6423 features, and German F1 is 68.11%. A baseline using fixed conjunction patterns gets F1 73.34% with about 1 million features.

  • Induction starts from an empty model. Each round proposes candidates, which are single atomic tests or pairwise conjunctions with tests and existing features. The highest-gain candidates are added, and weights are retrained with L-BFGS.

  • Two shortcuts make gain estimation tractable:

    • A mean-field approximation turns the sequence problem into per-token classification.
    • Only tokens the current model mislabels are scored.
    • Newton's method then finds each candidate's weight in about 12 iterations.
  • English used several feature families, all applied in a window of −2 to +2:

    • the word itself;
    • 16 character-level regex patterns for capitalization and digits;
    • 8 hand-made lexicons;
    • 15 lexicons taken from specific websites;
    • 25 WebListing lexicons;
    • "firstmention" copies of these tests.

    German used only 5 small lexicons, with character bi- and tri-grams added instead.

  • Setup: a first-order CRF implemented in Java took roughly 12 hours to train on a 1GHz Pentium machine, with Gaussian prior variance 0.5. Each round added at most 1000 features (gain threshold 5.0) and ran 10 L-BFGS iterations.

Interesting ideas

  • I1. Grow features instead of enumerating all conjunctions. Adding only conjunctions that clearly raise conditional log-likelihood keeps the model small. It also lets designers propose a very large pool of atomic tests and wide context windows without a memory blowup. This is useful wherever feature templates explode, for example in morphologically rich languages.
  • I2. Score candidates only on current errors. Most tokens are already labeled correctly early in training, so restricting the gain computation to mislabeled tokens saves a lot of time. This error-focused trick could carry over to other incremental feature or rule selection loops.
  • I3. Add many features per round and stop training early. The authors add a batch of top-gain features at once, accepting some redundancy. They also run only a few optimizer iterations between rounds to limit overfitting. This is a pragmatic balance of speed and regularization for any greedy model-building procedure.
  • I4. Expand lexicons from training seeds using web list formatting. Entities seen in labeled data serve as seeds. Other items that appear in the same HTML list structure are harvested as new lexicon entries. This is a cheap way to build domain gazetteers, such as sports teams or parties, for lower-resource languages, provided a suitable list-expansion tool exists for that language.
  • I5. Use "first mention" features. Copying a word's features from its earlier capitalized occurrence in the document passes context from an unambiguous mention to later ambiguous ones. This document-level consistency trick is simple to add to any token tagger.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Linguistics & languages

Topics: Named entity recognition

Cited by

175 papers of our library cite it (of the 140673 whose bibliographies we read); 5 of them have a page here, 170 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{mccallum2003early,
  title = {{Early results for Named Entity Recognition with Conditional Random Fields, Feature Induction and Web-Enhanced Lexicons}},
  author = {McCallum, Andrew and Li, Wei},
  booktitle = {Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003},
  year = {2003},
  doi = {10.3115/1119176.1119206},
  url = {https://doi.org/10.3115/1119176.1119206}
}

References

11 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. A. Borthwick, J. Sterling, E. Agichtein, and R. Grishman. 1998. Exploiting diverse knowledge sources via maximum entropy in named entity recognition. In Proceedings of the Sixth Workshop on Very Large Corpora, Association for Computational Linguistics. find
  2. M. Collins and Y. Singer. 1999. Unsupervised models for named entity classification. In Proceedings of the Joint SIG-DAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora. find
  3. Stephen Della Pietra, Vincent J. Della Pietra, and John D. Lafferty. 1997. Inducing Features of Random Fields. IEEE English devel. LOC MISC ORG PER Overall Precision 93.82% 83.99% 84.23% 92.64% 89.84% Recall 91.78% 78.52% 82.03% 93.65% 88.10% F β=1 92.79 81.17 83.11 93.14 88.96 find
  4. English test LOC MISC ORG PER Overall Precision 87.23% 74.44% 79.52% 91.05% 84.52% Recall 87.65% 71.37% 78.33% 89.98% 83.55% F β=1 87.44 72.87 78.92 90.51 84.04 German devel. LOC MISC ORG PER Overall Precision 68.55% 72.66% 70.64% 82.21% 73.60% Recall 68.84% 45.25% 54.88% 64.31% 59.01% F β=1 68.69 5… find
  5. Rosie Jones, Andrew McCallum, Kamal Nigam, and Ellen Riloff. 1999. Bootstrapping for Text Learning Tasks. In IJCAI-99 Workshop on Text Mining: Foundations, Techniques and Applications. find
  6. John Lafferty, Andrew McCallum, and Fernando Pereira. 2001. Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data. In Proc. ICML. find
  7. Robert Malouf. 2002. A comparison of algorithms for maximum entropy parameter estimation. In Sixth Workshop on Computational Language Learning (CoNLL-2002). find our card
  8. Andrew McCallum and Fang-Fang Feng. 2003. Chinese Word Segmentation with Conditional Random Fields and Integrated Domain Knowledge. In Unpublished Manuscript. find
  9. Andrew McCallum. 2003. Efficiently Inducing Features of Conditional Random Fields. In Nineteenth Conference on Uncertainty in Artificial Intelligence (UAI03). (Submitted). find
  10. Adwait Ratnaparkhi. 1996. A Maximum Entropy Model for Part-of-Speech Tagging. In Eric Brill and Kenneth Church, editors, Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 133–142. Association for Computational Linguistics. find
  11. Fei Sha and Fernando Pereira. 2003. Shallow Parsing with Conditional Random Fields. In Proceedings of Human Language Technology, NAACL. find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/papers/mccallum-2003-early-results-named-entity-recognition/