Parser Evaluation Using Derivation Trees: A Complement to evalb

Seth Kulick, Ann Bies, Justin Mott, Anthony Kroch, Beatrice Santorini, Mark Y. LibermanACL 2014

Introduction

In phrase-structure parsing, the standard evalb metric provides a single score based on bracket matching. While useful for ranking models, it fails to explain why a parser fails. A single bracket error can stem from misidentifying a phrase head, incorrect attachment, or recursive complexity. This research proposes a "glass box" evaluation framework using spinal derivation trees and regular expressions to categorize errors by specific linguistic constructions.

Methodology: Spinal Derivation Trees

The core of this approach involves decomposing complex phrase-structure trees into "elementary trees" (etrees). These are spinal, unary-branching paths representing the backbone of a phrase. A derivation tree then maps the connections between these etrees, recording how they attach to one another.

Figure 3: A spinal derivation tree representing VP-attachment for the sentence "They will make the trip to Florida."

To provide granular insights, the authors developed 49 regular expressions to categorize these structures (e.g., simple noun phrases vs. modified noun phrases). This enables the calculation of two distinct metrics:

  • F-h (Head Identification): Accuracy in identifying the core head of a construction.
  • F-s (Head + Span): Accuracy in identifying both the head and the correct phrase boundaries (brackets).

Experimental Setup

The framework was tested using the Berkeley parser across three distinct corpora to evaluate both learning capacity and domain adaptation:

  1. OntoNotes WSJ (Sections 2-21): A "test-on-train" set.
  2. OntoNotes WSJ (Section 22): A standard development set.
  3. English Web Treebank (Answers): Informal web data used to test performance outside the news domain.

Results and Linguistic Insights

The evaluation reveals a significant "Head vs. Span" gap. While the parser excels at identifying heads (high F-h), it frequently struggles with precise boundary detection (lower F-s), particularly in verbal constructions. The regex-based method proved robust, covering over 97-98% of all brackets in the corpora.

Figure 5: F-h (Head Identification) scores across different linguistic categories and datasets, illustrating performance drops in complex and out-of-domain structures.

Key findings include:

  • Recursive Complexity: Performance on simple noun phrases (NP-t) is near-perfect (98.9% on training data), but drops significantly for modified noun phrases (NP-modr, 88.4%), showing that structural complexity remains a hurdle even for familiar data.
  • Domain Sensitivity: Moving from news to web data causes a structural performance shift. For instance, NML-t (nominal modifiers) F-h scores plummeted from 91.6% on WSJ to 42.1% on Web data, highlighting a specific failure point obscured by aggregate metrics.
  • Attachment Accuracy: The system quantifies attachment errors directly. Prepositional phrase (PP) attachment accuracy dropped from 90.5% in news to 80.7% in web data, largely due to incorrect placement relative to verbal constructions.

Conclusion

By providing a more transparent view of parser performance, this derivation-tree framework complements evalb. It allows researchers to pinpoint whether failures are due to head identification or span boundaries. Future work will extend this analysis to include function tags and compare results with other specialized error-analysis tools.

Summary updated

BibTeX
@inproceedings{kulick2014parser,
  author = {Seth Kulick and Ann Bies and Justin Mott and Anthony Kroch and Beatrice Santorini and Mark Y. Liberman},
  title = {{Parser Evaluation Using Derivation Trees: A Complement to evalb}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2014},
  doi = {10.3115/v1/p14-2109},
}
Figure