Towards History-based Grammars: Using Richer Models for Probabilistic Parsing
Paper · 1993 · Ezra Black, Fred Jelinek, John Lafrerty et al.
Summary
The paper addresses structural ambiguity in parsing. Earlier probabilistic models, such as the standard P-CFG, condition each rule choice on very little context. The authors propose History-based Grammars (HBG), a generative model in which the probability of expanding each node may depend on anything already built in the leftmost derivation. This includes words, syntactic and semantic categories, lexical heads and tree structure. Decision trees group derivation histories into equivalence classes, which makes such rich conditioning estimable. In this implementation, only the path from the current node to the root and the child index are examined.
The experiments use a broad-coverage feature-based unification grammar, IBM computer-manual text and the Lancaster Treebank as the gold standard. On 760 test sentences of 7–17 words, HBG raises the Viterbi rate from 60% (P-CFG) to 75%, cutting errors by 37%. The result suggests that statistical models learned from treebanks can take over much of the disambiguation burden. Traditionally, grammarians handled that burden through manual tuning.
Key points
- Data and domain:
- The vocabulary is the 3,000 most frequent words from a 600,000-word corpus of 10 computer manuals.
- The authors kept a few million words of fully covered sentences, drawn from 40M words of manuals.
- Gold parses come from the Lancaster Treebank, which uses 17 non-terminal labels and 240 tags.
- Grammar:
- It is a unification grammar with 21 features and 672 rule templates, of which 400 were used on 15,000 sentences.
- Its more than 10,000 non-terminal labels are mapped onto Treebank labels for evaluation. Tags are ignored in that evaluation.
- Evaluation metrics:
- The any-consistent rate is the share of sentences where the grammar proposes the correct parse anywhere among its candidates. It reaches 90%.
- The Viterbi rate is the share of sentences where the model's top parse is correct. It is 60% for P-CFG and 75% for HBG.
- A simpler head-annotated model scores 66%.
- Baseline training: The P-CFG baseline was trained with a Treebank-constrained version of the Inside-Outside algorithm.
- HBG estimation:
- A decision tree models only the rule-template component of HBG. The other four factors use n-gram models with deleted interpolation.
- Training used about 9,000 sentence-tree pairs, yielding about 240,000 tuples and a tree of roughly 40,000 nodes.
- Building the tree took 18 hours and produced a model of nearly 100 MB.
Interesting ideas
- I1. Two separate metrics. The paper measures grammar coverage (any-consistent rate) apart from model selection (Viterbi rate). This shows whether errors come from a missing parse or a wrong choice, and it is a useful diagnostic for any parse-and-rank system.
- I2. Division of labour. The grammarian works only on coverage, while statistics learned from a treebank pick the best parse. This clean split could organise rule-based pipelines for low-resource languages.
- I3. Decision trees over histories. Asking questions about the derivation history lets a model use rich context without an explosion of parameters. The same trick could be applied to any sequential prediction task with structured context.
- I4. Bit-string encoding of categories and words. Similar items share prefixes in their codes. Categories and rules were coded by hand, and words via mutual-information clustering. This lets the decision tree ask questions at varying levels of granularity, which helps generalise from sparse data.
- I5. Functional parent versus immediate parent. The functional parent skips over unit productions such as NP2 → NP1, so that informative context is not hidden behind uninformative chain nodes. This is relevant to any tree-based feature extraction.
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 Ezra Black, Fred Jelinek, John Lafrerty, David M. Magerman, Robert Mercer and Salim Roukos. 1993. Towards History-based Grammars: Using Richer Models for Probabilistic Parsing. 31st Annual Meeting of the Association for Computational Linguistics.
@inproceedings{black1993history,
title = {{Towards History-based Grammars: Using Richer Models for Probabilistic Parsing}},
author = {Ezra Black, Fred Jelinek, John Lafrerty, David M. Magerman, Robert Mercer and Salim Roukos},
booktitle = {31st Annual Meeting of the Association for Computational Linguistics},
year = {1993},
doi = {10.3115/981574.981579},
url = {https://doi.org/10.3115/981574.981579}
}References
- Baker, J. K., 1975. Stochastic Modeling for Automatic Speech Understanding. In Speech Recognition, edited by Raj Reddy, Academic Press, pp. 521-542. find
- Brent, M. R. 1991. Automatic Acquisition of Subcategorization Frames from Untagged Free-text Corpora. In Proceedings of the 29th Annual Meeting of the Association for Computational Linguistics. Berkeley, California. find
- Brill, E., Magerman, D., Marcus, M., and Santorini, B. 1990. Deducing Linguistic Structure from the Statistics of Large Corpora. In Proceedings of the June 1990 DARPA Speech and Natural Language Workshop. Hidden Valley, Pennsylvania. find
- Brown, P. F., Della Pietra, V. J., deSouza, P. V., Lai, J. C., and Mercer, R. L. Class-based ngram Models of Natural Language. In Proceedings of ~he IBM Natural Language ITL, March, 1990. Paris, France. find
- Church, K. 1988. A Stochastic Parts Program and Noun Phrase Parser for Unrestricted Text. In Proceedings of the Second Conference on Applied Natural Language Processing. Austin, Texas.
- Gale, W. A. and Church, K. 1990. Poor Estimates of Context are Worse than None. In Proceedings of the June 1990 DARPA Speech and Natural Language Workshop. Hidden Valley, Pennsylvania. find
- Harrison, M. A. 1978. Introduction to Formal Language Theory. Addison-Wesley Publishing Company. find
- Hindle, D. and Rooth, M. 1990. Structural Ambiguity and Lexical Relations. In Proceedings of the :June 1990 DARPA Speech and Natural Language Workshop. Hidden Valley, Pennsylvania. :Jelinek, F. 1985. Self-organizing Language Modeling for Speech Recognition. IBM Report. find
- Magerman, D. M. and Marcus, M. P. 1991. Pearl: A Probabilistic Chart Parser. In Proceedings of the February 1991 DARPA Speech and Natural Language Workshop. Asilomar, California. find
- Derouault, A., and Merialdo, B., 1985. Probabilistic Grammar for Phonetic to French Transcription. ICASSP 85 Proceedings. Tampa, Florida, pp. 1577-1580. find
- Sharman, R. A., :Jelinek, F., and Mercer, R. 1990. Generating a Grammar for Statistical Training. In Proceedings of the :June 1990 DARPA Speech and Natural Language Workshop. Hidden Valley, Pennsylvania. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/black-1993-history-based-grammars-richer-models/