[Paper Review] Towards History-based Grammars: Using Richer Models for Probabilistic Parsing
This paper introduces History-Based Grammars (HBG), a probabilistic parsing model that leverages rich linguistic context—including lexical, syntactic, semantic, and structural information from parse tree derivations—to resolve ambiguities. By using decision trees trained on the Penn Treebank to model context from leftmost derivations, HBG achieves a 75% Viterbi parsing accuracy, significantly outperforming the state-of-the-art P-CFG model at 60%, marking a 25% relative reduction in error rate.
We describe a generative probabilistic model of natural language, which we call HBG, that takes advantage of detailed linguistic information to resolve ambiguity. HBG incorporates lexical, syntactic, semantic, and structural information from the parse tree into the disambiguation process in a novel way. We use a corpus of bracketed sentences, called a Treebank, in combination with decision tree building to tease out the relevant aspects of a parse tree that will determine the correct parse of a sentence. This stands in contrast to the usual approach of further grammar tailoring via the usual linguistic introspection in the hope of generating the correct parse. In head-to-head tests against one of the best existing robust probabilistic parsing models, which we call P-CFG, the HBG model significantly outperforms P-CFG, increasing the parsing accuracy rate from 60% to 75%, a 37% reduction in error.
Motivation & Objective
- To address structural and semantic ambiguities in natural language parsing by incorporating detailed linguistic context beyond standard n-gram or rule-based models.
- To develop a probabilistic parsing framework that models context from the entire derivation history of a parse tree, not just immediate neighbors.
- To demonstrate that richer contextual modeling, even when complex, can yield measurable gains in parsing accuracy when properly trained.
- To explore whether increasing contextual richness in probabilistic models leads to better disambiguation, especially in challenging syntactic constructions.
Proposed method
- HBG models the joint probability P(T; w) of a sentence w and its parse tree T, selecting the most probable parse via argmax over all possible trees.
- The model uses leftmost derivations to define context, indexing non-terminal nodes and extracting histories of rule applications and their parent nodes.
- Two types of parent nodes are used: immediate parent (direct dominator) and functional parent (which determines syntactic role), enabling better handling of unit productions.
- Decision trees are trained on Treebank data to classify histories and minimize entropy, learning how contextual features predict correct rule applications.
- The model incorporates features such as syntactic category, semantic role, lexical head, and structural position from the derivation history to guide parsing decisions.
- The training process uses approximately 10,000 sentence-tree pairs, generating around 240,000 history-rule tuples to train a decision tree with ~40,000 nodes.
Experimental results
Research questions
- RQ1Can a probabilistic parsing model that incorporates rich linguistic context from the entire derivation history significantly improve parsing accuracy?
- RQ2Does using functional and immediate parents in context modeling better resolve ambiguities than relying only on immediate parents or n-grams?
- RQ3Is there a point of diminishing returns when increasing the complexity of contextual features in a statistical parser?
- RQ4Can decision trees effectively learn to map complex derivation histories to correct syntactic rule applications?
Key findings
- HBG achieves a Viterbi parsing accuracy of 75% on sentences of 7 to 17 words, compared to 60% for the P-CFG model, representing a 25% relative reduction in error rate.
- The improvement is statistically significant, demonstrating that richer contextual modeling leads to better disambiguation in parsing.
- A simpler variant of HBG, which uses only immediate and functional parent features without full derivation history, achieved 66% accuracy, showing incremental gains from richer context.
- Experiments suggest that while more complex models perform slightly worse than HBG, this may be due to insufficient training data, indicating that larger corpora could unlock further gains.
- The use of decision trees enables effective parameter estimation for high-dimensional contextual features, making complex models tractable.
- The functional parent mechanism successfully resolves ambiguities in unit productions, such as NP → NP, where immediate parent alone would be insufficient.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.