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.
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:
- OntoNotes WSJ (Sections 2-21): A "test-on-train" set.
- OntoNotes WSJ (Section 22): A standard development set.
- 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.
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