Decision Tree Parsing using a Hidden Derivation Model

Frederick Jelinek, John D. Lafferty, David M. Magerman, Robert L. Mercer, Adwait Ratnaparkhi, Salim RoukosHLT 1994 · OpenReview

Abstract

Parser development is generally viewed as a primarily linguistic enterprise. A grammarian examines sentences, skillfully extracts the linguistic generalizations evident in the data, and writes grammar rules which cover the language. The grammarian then evaluates the performance of the grammar, and upon analysis of the errors made by the grammar-based parser, carefully refines the rules, repeating this process, typically over a period of several years.

Introduction

Traditionally, building a natural language parser has been the domain of expert grammarians who spend years refining complex rules to cover the nuances of language. However, these hand-crafted systems often struggle with the messy, "unrestricted" nature of real-world text, suffering from coverage gaps where sentences that do not perfectly fit the rules result in total parser failure.

This paper proposes a paradigm shift from linguistic rule-writing to statistical pattern recognition. By treating the construction of a parse tree as a sequence of decisions modeled by statistical decision trees, the authors present a "linguistically naive" alternative: treebank recognition. Instead of defining a grammar, the model is trained to replicate the annotations found in a large corpus of human-parsed sentences (a treebank), effectively learning the grammar from the data itself.

The Hidden Derivation Model

The core of this approach is a Hidden Derivation Model that views parsing as a series of bottom-up geometric actions. A parse is decomposed into two primary types of steps:

  1. Naming: Assigning a part-of-speech tag to a word or a non-terminal label (such as "Noun Phrase") to a constituent.
  2. Extending: Adding an edge (labeled left, right, up, or unary) to connect a node to its parent.
Geometric representation and derivation steps for the phrase 'the Enter key'.

By viewing constituents as geometric patterns—sets of edges meeting at a single node—the authors can apply standard pattern recognition techniques. Because a treebank only provides the final structure and not the specific sequence of actions used to build it, the derivation is treated as a "hidden" variable. The authors utilize the Expectation-Maximization (EM) framework, specifically the Forward-Backward algorithm, to discover the most likely derivation paths and train the decision trees iteratively.

For every step in the derivation, the model employs a statistical decision tree to predict the next action. Rather than attempting to process the entire sentence at once, these trees examine a "five-node window" of local context. To maintain manageable complexity while capturing semantic depth, the model uses lexicalization: it propagates a "head word" and its associated tag up the tree to represent each constituent. This ensures that the most critical semantic information is available for making attachment decisions.

To find the optimal tree for a new sentence, the system uses a stack decoding search to identify the tree $T$ that maximizes the conditional probability $p(T | \text{sentence})$.

Evaluation and Results

The model was evaluated using a blind test set of 1,656 sentences from a corpus of computer manuals (the IBM/Lancaster Treebank). This corpus contains approximately 35,000 sentences with a core vocabulary of 3,000 words, 17 non-terminal labels, and 240 part-of-speech tags.

The decision tree model was compared against a state-of-the-art probabilistic context-free grammar (P-CFG) developed by human experts over three years. The statistical model significantly outperformed the manual system in several key metrics:

  • Crossing Brackets: The decision tree model achieved 78% accuracy, compared to 69% for the P-CFG.
  • Exact Match: The parser produced the exact human-annotated tree for 38.9% of sentences at the full training scale.
  • Top 20: The correct parse was found within the model's top 20 candidates 73% of the time.
Parsing performance metrics relative to training data size.

As shown in the experimental data, the model's performance improved steadily as the training set size increased, suggesting that the system had not yet reached its maximum potential and could benefit from even larger datasets.

Conclusion

While the model demonstrates superior performance to traditional grammars, it faces challenges with computational complexity and long-distance dependencies (such as complex conjunctions) due to its localized 5-node context window. Additionally, the model's accuracy is inherently capped by the consistency of human annotators in the treebank. Future work will focus on refining the linguistic features examined by the decision trees to better handle coordination and other complex structural dependencies.

Summary updated

Abstract

Parser development is generally viewed as a primarily linguistic enterprise. A grammarian examines sentences, skillfully extracts the linguistic generalizations evident in the data, and writes grammar rules which cover the language. The grammarian then evaluates the performance of the grammar, and upon analysis of the errors made by the grammar-based parser, carefully refines the rules, repeating this process, typically over a period of several years.
BibTeX
@inproceedings{jelinek1994decision,
  author = {Frederick Jelinek and John D. Lafferty and David M. Magerman and Robert L. Mercer and Adwait Ratnaparkhi and Salim Roukos},
  title = {{Decision Tree Parsing using a Hidden Derivation Model}},
  booktitle = {HLT},
  year = {1994},
  url = {https://openreview.net/forum?id=HJWANmZObS},
}
Figure