Automatic Detection and Correction of Errors in Dependency Treebanks

Alexander Volokh, Günter NeumannACL 2011

Abstract

Dependency treebanks are essential for training and evaluating modern Natural Language Processing (NLP) models. However, human-annotated "gold standards" often contain errors that can skew performance metrics. This paper introduces an automated ensemble approach to identify and correct these errors by leveraging disagreements between different parsing architectures. By applying this method to the Penn Treebank, we identified thousands of errors, suggesting a baseline error rate exceeding 1% in one of the field's most trusted resources.

Introduction

In NLP, annotated corpora serve as the ground truth for both training and evaluation. The Penn Treebank, converted into dependency formats, is a cornerstone of this research. Despite rigorous manual quality assurance, human error is inevitable. When a model is evaluated against a flawed gold standard, it may be unfairly penalized for correct predictions. Manual re-annotation is prohibitively expensive, necessitating automated methods for error detection and correction.

Methodology: The Ensemble Approach

The proposed method utilizes "parser disagreement" as a diagnostic tool. The pipeline consists of four main stages:

  1. Ensemble Detection: Two state-of-the-art parsers with distinct architectures—MSTParser (graph-based) and MaltParser (transition-based)—are trained on the target corpus.
  2. Candidate Identification: Both parsers are run on their own training data. While parsers typically "memorize" training data, a shared disagreement with the gold standard suggests a potential error in the original annotation. The logic is that since the parsers make different types of architectural mistakes, a shared "error" is likely actually a correction of a mistake in the gold standard.
  3. Automatic Correction: Potential errors are initially corrected using the output of the MSTParser.
  4. Verification: A third independent parser (MDParser) is used to verify the change. A correction is only finalized if the third parser agrees with the new annotation over the original gold standard.
Example of a dependency parse structure from the Penn Treebank.

Results and Analysis

The system was applied to the English dependency version of the Penn Treebank. The ensemble flagged 6,743 error candidates, representing approximately 0.7% of all tokens. Following the three-parser verification step, 3,535 dependencies were automatically corrected.

A candidate for error detection showing a different dependency assignment for the same sentence fragment.

A synthetic experiment was conducted to estimate the system's recall. By introducing known errors into correct sentences, the authors determined that the system catches approximately 45.9% of errors. Given that 0.7% of the corpus was flagged with high precision, the actual error rate in the Penn Treebank is likely well above 1%.

Comparison with Variation Detection

The ensemble method was compared to "Variation Detection," which identifies inconsistent annotations of identical word strings. The study found only a 39.5% overlap between the two methods, indicating that parser-based detection captures a unique set of structural errors that string-based methods miss.

Conclusion

This work demonstrates that architectural diversity in parsers can be harnessed to improve the quality of the data they learn from. By treating parsers as "teachers" that can clean their own training sets, we can significantly reduce the noise in our most important linguistic resources. Future work will explore applying this methodology to other languages and integrating it into active learning loops during initial treebank creation.

Summary updated

BibTeX
@inproceedings{volokh2011automatic,
  author = {Alexander Volokh and Günter Neumann},
  title = {{Automatic Detection and Correction of Errors in Dependency Treebanks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure