Computing Confidence Scores for All Sub Parse Trees

Feng Lin, Fuliang WengACL 2008

Abstract

Traditional confidence estimation in natural language processing typically operates at the word or sentence level. This paper introduces a novel method to compute confidence scores for every subtree within a parse tree. Utilizing a Conditional Maximum Entropy (CME) classifier enriched with long-distance structural features, the proposed approach achieves a significant 28.2% relative reduction in annotation error over standard baselines.

Introduction

In dialogue systems, understanding the reliability of specific phrases is often more critical than knowing the correctness of individual words or the entire utterance. For instance, in the request "Play a rock song by Cher," a system might be certain about the artist but uncertain about the genre. Existing word-level scores fail to capture the structural integrity of phrases, while sentence-level scores are often too coarse.

This research addresses the challenge of "multi-level" confidence by assigning reliability scores to every constituent part (subtree) of a sentence's grammatical structure.

Figure 1: A parse tree for 'three star Chinese restaurant' illustrating the division into left and right sub-trees for granular confidence assessment.

Methodology

The authors frame confidence estimation as a binary classification task, determining whether a given subtree is correct or incorrect.

Framework and Parsing

The system employs a Conditional Maximum Entropy (CME) classifier to calculate the posterior probability of a subtree's correctness. The underlying parsing utilizes lexicalized binary trees, where each node is linked to a "head" word.

Feature Engineering

The core innovation lies in the feature set used for classification. Beyond standard lexical and Part-of-Speech (POS) tags, the authors introduced:

  • Hierarchical POS Tags: Abstracting specific tags (e.g., "NNP" to "N") to mitigate data sparsity.
  • Single-Level Joint Head and Dependency (SL-JHD): Pairing head words or POS tags with specific dependency relations (e.g., "restaurant" + "NCOMP").
  • Multi-Level Joint Head and Dependency (ML-JHD): Capturing long-distance structural patterns by examining dependencies across multiple levels of the subtree.
  • Structural Features: Incorporating subtree size, child node characteristics, and head word neighbors.
Figure 5: Visualization of structural dependency relations like NCOMP and NMOD within a complex noun phrase, which serve as key features for the classifier.

Evaluation and Results

The approach was evaluated using the Switchboard (SWBD) corpus. Hypothesis trees were generated using a Charniak parser, and "Gold Standard" labels were derived from human annotations. A subtree was deemed "correct" only if its words, POS tags, and internal syntactic structures matched the gold standard perfectly.

The performance was measured by the Annotation Error Rate (AER):

  • Baseline (Words + POS): 36.2% AER.
  • Full System: 26.0% AER.
  • Relative Improvement: 28.2% reduction in error.

Notably, the parser itself had a subtree error rate of 41.91%, indicating that the confidence classifier is highly effective at identifying parser failures.

Discussion and Key Insights

Syntactic features, particularly the novel JHD features, were the primary drivers of performance gains. The use of hierarchical tags proved essential for robustness against unseen data. Furthermore, the ML-JHD features allowed the model to detect structural anomalies that simpler models would overlook.

However, challenges remain. The model showed a bias toward "correct" labels due to data imbalance, and performance decreased for subtrees longer than 10 words, where structural complexity is higher.

Conclusion

This work demonstrates that multi-level confidence scores can significantly enhance the interpretability of parse trees. Future applications include integrating these scores back into the parsing process for reranking or utilizing them to improve downstream tasks like machine translation and information retrieval.

Summary updated

BibTeX
@inproceedings{lin2008computing,
  author = {Feng Lin and Fuliang Weng},
  title = {{Computing Confidence Scores for All Sub Parse Trees}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2008},
}
Figure