Elamur Research⌕
☰
home / papers / 1996 / A Maximum Entropy Model for Part-Of-Speech Tagging

A Maximum Entropy Model for Part-Of-Speech Tagging

Summary

The paper addresses English part-of-speech tagging, where previous taggers evaluated on the Wall St. Journal portion of the Penn Treebank had achieved roughly 96.5% accuracy. Ratnaparkhi asks whether richer use of context can push this further. He builds a Maximum Entropy (log-linear) tagger that treats tagging as predicting each tag from a "history": the surrounding words within two positions, the two previous tags, and, for rare or unseen words, spelling cues such as prefixes, suffixes, digits, capitals and hyphens. Parameters are estimated with Generalized Iterative Scaling. Decoding uses a beam search, optionally restricted by a tag dictionary. On unseen test data the tagger scores 96.6%, matching or slightly beating Markov-model, decision-tree and transformation-based taggers, and it does so without word classes or elaborate smoothing. The study also finds that word-specific features add little, because annotation in the treebank is inconsistent across annotators. Training and testing on a single annotator's data improves accuracy by about 0.5%. This suggests that corpus noise, more than modelling power, limits WSJ tagging accuracy.

Key points

  • Data: WSJ section of the Penn Treebank, split into contiguous parts.
    • Training: 40,000 sentences / 962,687 words.
    • Development: 8,000 / 192,826.
    • Test: 5,485 / 133,805.
    • Unknown words: 6,107 in development and 3,546 in test.
  • Baseline on development data with the tag dictionary: 96.43% word accuracy, 86.23% on unknown words, 47.55% whole-sentence accuracy. Without the dictionary, word accuracy is 96.31%.
  • Final result on the held-out test set: 96.6%. Comparable systems score about 96.5%, including Brill's TBL (85% on unknown words) and Magerman's SDT.
  • Settings and cost:
    • Words seen fewer than 5 times count as "rare."
    • Features occurring fewer than 10 times are discarded, except current-word features.
    • Beam size is 5.
    • Training took about 24 hours on an IBM RS/6000.
  • Word-specific features gave little gain. Tag distributions for words like "about" differ by annotator, and a single-annotator setup yields about 0.5% higher accuracy.

Interesting ideas

  • I1. Rare words stand in for unknown words. Spelling features are learned only from infrequent training words, which mimic the out-of-vocabulary items seen at test time. This is a cheap way to train OOV handling, and it could transfer to morphologically rich languages like Ukrainian.
  • I2. Feature templates with a count cutoff. Yes/no context templates are instantiated automatically from the training data, and rare features are simply dropped. This replaces complex smoothing with one easy-to-tune threshold, which suits any log-linear or feature-based classifier.
  • I3. Tag dictionary as a speed tool. Known words are allowed only the tags they appeared with in training. The accuracy gain is tiny, but the search space shrinks a lot. This trade-off is useful wherever decoding speed matters.
  • I4. Analysing errors by annotator. Comparing tag distributions per annotator exposes inconsistencies in the gold standard and explains why accuracy plateaus. This is a valuable check before chasing small gains on any treebank, including UD corpora.
  • I5. Probabilistic outputs for downstream use. Because the tagger produces a probability for each decision, it can be plugged into larger probabilistic systems such as parsers or chunkers. Rule-based approaches like TBL cannot offer this.

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: Natural language processing

Topics: Treebanks · Part-of-speech tagging

Cited by

300 papers of our library cite it (of the 140884 whose bibliographies we read); 32 of them have a page here, 268 not yet.

Cite

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

@inproceedings{ratnaparkhi1996maximum,
  title = {{A Maximum Entropy Model for Part-Of-Speech Tagging}},
  author = {Ratnaparkhi, Adwait},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {1996},
  url = {https://aclanthology.org/W96-0213/}
}

References

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

  1. ARPA. 1994. Proceedings of the Human Language Technology Workshop. find
  2. Adam Berger, Stephen A. Della Pietra, and Vincent J. Della Pietra. 1996. A Maximum Entropy Approach to Natural Language Processing. Computational Linguistics, 22(1):39-71. find our card
  3. Eric Brill. 1994. Some Advances in Transformation-Based Part of Speech Tagging. In Proceedings off the Twelfth National Conference on Artificial Intelligence, volume 1, pages 722-727. find
  4. Peter F Brown, Vincent DellaPietra, Peter V deSouza, Jennifer C Lai, and Robert L Mercer. 1992. Class-Based n-gram Models of Natural Language. Computational Linguistics, 18(4). find
  5. J. N. Darroch and D. Ratcliff. 1972. Generalized Iterative Scaling for Log-Linear Models. The Annals of Mathematical Statistics, 43(5) :1470-1480. find
  6. Steven Della Pietra, Vincent Della Pietra, and John Lafferty. 1995. Inducing Features of Random Fields. Technical Report CMU-CS95-144, School of Computer Science, Carnegie-Mellon University. find
  7. F Jelinek, J Lafferty, D Magerman, R Mercer, A Ratnaparkhi, and S Roukos. 1994. Decision Tree Parsing using a Hidden Derivational Model. In Proceedings of the Human Language Technology Workshop (ARP, 1994), pages 272-277. find
  8. Ray Lau, Ronald Rosenfeld, and Salim Roukos. 1993. Adaptive Language Modeling Using The Maximum Entropy Principle. In Proceedings of the Human Language Technology Workshop, pages 108-113. ARPA. find
  9. David M. Magerman. 1995. Statistical Decision-Tree Models for Parsing. In Proceedings of the 33rd Annual Meeting of the ACL. find our card
  10. Mitchell P. Marcus, Beatrice Santorini, and Mary Ann Mareinkiewicz. 1994. Building a large annotated corpus of English: the Penn Treebank. Computational Linguistics, 19(2):313-330. find our card
  11. Bernard Merialdo. 1994. Tagging English Text with a Probabilistic Model. Computational Linguistics, 20(2):155-172. find our card
  12. Adwait Ratnaparkhi, Jeff Reynar, and Salim Roukos. 1994. A Maximum Entropy Model for Prepositional Phrase Attachment. In Proceedings of the Human Language Technology Workshop (ARP, 1994), pages 250-255. T°tal W°rd Accuracy 1 9 I 6 Unkn°wn . 6 W°rd 3 % Accuracy 85.56% Table 11: Performance of Special… find our card
  13. Ralph Weischedel, Marie Meteer, Richard Schwartz, Lance Ramshaw, and Jeff Palmucci. 1993. Coping With Ambiguity and Unknown Words through Probabilistic Models. Computational Linguistics, 19(2):359-382. Sentence AccuracY47.51% I find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/ratnaparkhi-1996-maximum-entropy-model-part-speech/