A Linear Observed Time Statistical Parser Based on Maximum Entropy Models
Paper · 1997 · Adwait Ratnaparkhi
Summary
The paper tackles full syntactic parsing of English. It aims for parse quality above earlier statistical parsers while keeping feature engineering light and decoding fast. Ratnaparkhi recasts parsing as a sequence of small decisions made in three left-to-right passes: POS tagging, flat-chunk detection, and then an alternation of constituent-building and completeness-checking steps. A separate maximum entropy model scores each kind of decision. Its features are generated automatically from short templates over the local context, such as neighbouring words, tags, constituent labels and head words. A simple breadth-first search keeps only the top-scoring partial derivations. Trained and tested on the Penn Treebank (Wall St. Journal), the parser reaches about 87% precision and 86% recall. This beats the best results previously reported, from Collins (1996) and Magerman's SPATTER (1995). Its running time grows linearly with sentence length in practice. The parser also outputs several ranked parses, and an oracle choosing the best of the top 20 would score about 93%. That gap points to reranking as a valuable research direction.
Key points
- Accuracy on section 23 of the WSJ part of the Penn Treebank is roughly 87% precision and 86% recall, measured with PARSEVAL and with the looser measures used by Collins (1996) and Magerman (1995).
- Four procedures (TAG, CHUNK, BUILD, CHECK) run in three passes. Their actions are designed so that every complete parse tree corresponds to exactly one derivation.
- BUILD labels each tree as Start X or Join X. CHECK answers Yes or No on whether the newest proposed constituent is finished, which plays the role of reduce versus shift in a shift-reduce parser.
- Feature templates cover head words, which are found with Magerman's head-finding rules. Each lexical predicate also gets backed-off variants that drop one or more words, which helps with rare words.
- An oracle that picks the best of the top 20 parses would reach about 93% precision and recall.
Interesting ideas
- I1. Splitting a reduce into incremental decisions. Instead of committing to a whole CFG rule at once, the parser attaches trees one by one and then asks a yes/no completeness question. Small, local classification steps like these are easier to model and could suit other structured-prediction tasks, such as transition-based parsers for UD treebanks.
- I2. Back-off expressed as features. Sparse lexical predicates are paired with less specific versions that omit words, and the maximum entropy model learns how much to trust each one. This avoids hand-tuned smoothing schemes like the one in Collins's bigram parser.
- I3. Oracle upper bound for reranking. Measuring how good the best parse in the top N could be gives a ceiling for any reranker. This tells you whether building a second-stage model is worth the effort, and the check works for any system that produces n-best output.
- I4. Chunking as a reusable intermediate layer. Flat phrases are found first with the same Start/Join tagging scheme, and later passes then work on a shorter forest. A staged pipeline like this can simplify parsers for languages or domains with limited resources.
- I5. Plain words instead of word clusters. Unlike SPATTER, the model uses raw words in its predicates, which removes a costly clustering step. Adding new kinds of information, such as punctuation cues, only requires writing another template.
Institutions
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 9,086 worksArtificial Intelligence · 8,889 worksArts and Humanities · 9,296 worksLanguage and Linguistics · 9,206 works
Cite
Cite as Adwait Ratnaparkhi. 1997. A Linear Observed Time Statistical Parser Based on Maximum Entropy Models. Second Conference on Empirical Methods in Natural Language Processing.
@inproceedings{ratnaparkhi1997linear,
title = {{A Linear Observed Time Statistical Parser Based on Maximum Entropy Models}},
author = {Adwait Ratnaparkhi},
booktitle = {Second Conference on Empirical Methods in Natural Language Processing},
year = {1997},
url = {https://aclanthology.org/W97-0301/}
}References
- Berger, Adam, Stephen A. Della Pietra, and Vincent J. Della Pietra. 1996. A Maximum Entropy Approach to Natural Language Processing. Computational Linguistics, 22(1):39-71.
- Black, Ezra et al. 1991. A Procedure for Quantitatively Comparing the Syntactic Coverage of English Grammars. In Proceedings of the February 1991 DARPA Speech and Natural Language Workshop, pages 306-311. find
- Black, Ezra, Fred Jelinek, John Lafferty, David M. Magerman, Robert Mercer, and Salim Roukos. 1993. Towards History-based Grammars: Using Richer Models for Probabilistic Parsing. In Proceedings of the 31st Annual Meeting of the ACL, Columbus, Ohio.
- Collins, Michael John. 1996. A New Statistical Parser Based on Bigram Lexical Dependencies. In Proceedings of the 34th Annual Meeting of the ACL. find
- Darroch, J. N. and D. Ratcliff. 1972. Generalized Iterative Scaling for Log-Linear Models. The Annals of Mathematical Statistics, 43(5):1470-1480. find
- Jelinek, Fred, John Lafferty, David M. Magerman, Robert Mercer, Adwait Ratnaparkhi, and Salim Roukos. 1994. Decision Tree Parsing using a Hidden Derivational Model. In Proceedings of the Human Language Technology Workshop, pages 272-277. ARPA. find
- Lau, Ray, 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
- Magerman, David M. 1995. Statistical Decision-Tree Models for Parsing. In Proceedings of the 33rd Annual Meeting of the ACL.
- Marcus, Mitchell P., Beatrice Santorini, and Mary Ann Marcinkiewicz. 1994. Building a large annotated corpus of English: the Penn Treebank. Computational Linguistics, 19(2):313-330.
- Ratnaparkhi, Adwait. 1996. A Maximum Entropy Part of Speech Tagger. In Conference on Empirical Methods in Natural Language Processing, University of Pennsylvania, May 17-18. find
- Ratnaparkhi, Adwait. 1997. A Simple Introduction to Maximum Entropy Models for Natural Language Processing. Technical Report 97-08, Institute for Research in Cognitive Science, University of Pennsylvania. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/ratnaparkhi-1997-linear-observed-time-statistical-parser/