NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parser Showdown at the Wall Street Corral: An Empirical Investigation of Error Types in Parser Output

Jonathan K. Kummerfeld, David Leo Wright Hall, James R. Curran, Dan KleinEMNLP 2012

Abstract

Jonathan K. Kummerfeld, David Hall, James R. Curran, Dan Klein. Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning.

2012.

Introduction

For decades, the standard evaluation for natural language parsers has been the PARSEVAL metric, which provides a single F-score based on matching brackets. While useful for ranking systems, F-score is a blunt instrument; it indicates that a parser is incorrect, but fails to explain why.

A significant limitation of PARSEVAL is that a single linguistic mistake—such as attaching a Prepositional Phrase (PP) to the wrong noun—can trigger a cascade of "bracket errors" throughout the tree. As illustrated in the comparison between parser output and gold standard trees, a single structural misplacement can result in numerous distinct node errors, disproportionately penalizing certain linguistic constructions.

Comparison of parser output and gold tree showing cascading errors from a single PP attachment mistake.

This paper introduces a method to automatically classify parser errors into linguistically meaningful categories, such as PP attachment or coordination. By using tree transformations to "repair" parser output, the authors reveal the specific strengths and weaknesses of modern parsers and explain why performance often collapses on out-of-domain text.

Methodology: Automated Error Classification

The proposed error classification system is based on tree transformations. Rather than simply counting missing or extra brackets, the system identifies the steps required to "fix" the parser's output to match the gold tree:

  1. Transformation Phase: A greedy, bottom-up algorithm identifies subtree movements, node creations, and node deletions required for the repair.
  2. Classification Phase: Each transformation is matched against hand-constructed templates. These templates analyze the context—including labels of moved nodes, siblings, and parents—to assign linguistic labels like "PP Attachment," "Clause Attachment," or "Coordination."
Visualization of span mismatches used to classify linguistic errors.

By grouping related bracket errors into a single "repair" event, the authors can calculate the true frequency and impact of specific linguistic mistakes, accounting for the "multiplier effect" where one error causes multiple bracket mismatches.

Experimental Setup

The study evaluates thirteen different parsers across several benchmarks:

  • WSJ Section 23: The standard in-domain benchmark from the Wall Street Journal portion of the Penn Treebank.
  • Brown Corpus: Used for out-of-domain evaluation, covering genres like fiction and mystery.
  • Google Web Corpus: Representing noisy, non-standard text from blogs and emails.

Key Insights and Results

The Multiplier Effect

Different error types have varying impacts on F-scores. For example, a single coordination error causes an average of 2.7 node errors, while a "single word phrase" error causes exactly 1.0. This confirms that F-score over-penalizes complex structural mistakes.

Dominant Error Types

PP attachment remains the most frequent error type across all thirteen parsers. However, the analysis highlights that "Clause Attachment" and "Modifier Attachment" are also significant contributors that have historically received less attention.

Impact of Reranking

Rerankers (which select the best parse from a list of candidates) achieve their greatest gains in resolving clause attachment, modifier attachment, and coordination. Interestingly, they offer less improvement for PP attachment, suggesting that the necessary features for solving these attachments may be missing from the reranker's expanded view.

Domain Adaptation Challenges

When moving from news text to web or fiction, performance drops are non-uniform. Errors related to coordination and clause attachment spike disproportionately, likely due to the more varied and complex sentence structures found outside of journalistic writing. In the Brown corpus, "NP Internal Structure" errors were a notable exception, performing relatively well compared to the massive spikes in coordination errors.

Limitations and Future Work

While the system covers the vast majority of errors, a "long tail" of unclassified errors remains, particularly in noisy web text. The current reliance on hand-coded templates and a greedy search for tree repairs may not always find the most linguistically elegant solution for highly degraded parses. Furthermore, the tool is currently optimized for English and the Penn Treebank style; extending it to other languages would require significant template engineering.

The authors have released the Berkeley Parser Analyser as an open-source tool to enable granular error analysis for the research community.

Summary updated

BibTeX
@inproceedings{kummerfeld2012parser,
  author = {Jonathan K. Kummerfeld and David Leo Wright Hall and James R. Curran and Dan Klein},
  title = {{Parser Showdown at the Wall Street Corral: An Empirical Investigation of Error Types in Parser Output}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2012},
  url = {https://openreview.net/forum?id=SyWgaZG_-H},
}
Figure