Active Learning for Dependency Parsing with Partial Annotation

Zhenghua Li, Min Zhang, Yue Zhang, Zhanyi Liu, Wenliang Chen, Hua Wu, Haifeng Wang

Introduction

Dependency parsing is a fundamental task in natural language processing, involving the mapping of grammatical relationships between words in a sentence. However, training robust parsers requires vast amounts of labeled data, which is traditionally expensive and time-consuming to produce. This paper introduces a novel approach to Active Learning (AL) for parsing: Partial Annotation (PA). Instead of requiring human annotators to label entire sentences, the proposed method identifies and selects only the most "uncertain" words for review, significantly streamlining the annotation process.

The Challenge of Full Annotation

Standard Active Learning for parsing typically employs Full Annotation (FA). In this paradigm, a model selects a complete sentence it finds ambiguous, and a human must label every single dependency within it. This is inherently inefficient; annotators spend a disproportionate amount of time on "trivial" dependencies—such as a determiner modifying a noun—that the model already handles with high confidence. The authors address this bottleneck by shifting the focus from sentence-level selection to word-level selection, targeting the specific points of model confusion.

Methodology: Probabilistic Partial Annotation

To enable word-level selection, the researchers transitioned from traditional linear models to a probabilistic CRF-based (Conditional Random Field) parser. This architecture allows the model to calculate a "marginal probability" for every potential connection, serving as a principled confidence score.

Uncertainty Metrics

The study evaluated several metrics to quantify model uncertainty. The most effective signal was the Marginal Probability Gap, defined as the difference between the model's highest and second-highest confidence scores for a word's head. This metric effectively highlights the most ambiguous syntactic relationships.

Learning from Incomplete Data

A significant technical hurdle in PA is training a model on incomplete trees. The authors implemented a forest-based training objective. When a human provides a partial label, the model treats that connection as fixed and considers the "forest" of all possible valid trees that can be constructed around it. This allows the model to effectively "fill in the blanks" during the learning process.

Forest-based training with partial annotations.

Experimental Results

The approach was validated using the Chinese Penn Treebank 5.1 (CTB) and the Penn Treebank (PTB) for English. The results demonstrate a clear advantage for Partial Annotation over traditional methods.

Simulation and Human Efficiency

In simulations, PA achieved the same Unlabeled Attachment Score (UAS) as FA while requiring 62.2% fewer annotated dependencies on Chinese data and 74.2% fewer on English data. In real-world trials with six human annotators, the PA approach reduced total annotation time by 23.2% to reach target accuracy levels.

UAS performance vs. number of annotated dependencies.

The "Hard Task" Paradox and Quality

Interestingly, human study data revealed that annotating a single dependency in a PA setting took twice as long as in an FA setting. This is because the model specifically filters for the most difficult, ambiguous cases. However, despite the increased difficulty per unit, the overall time saved was substantial because the "filler" dependencies were ignored. Furthermore, human accuracy actually improved by 1.78% on these difficult words, suggesting that focusing on specific, challenging relationships reduces the fatigue associated with parsing long, tedious sentences.

Discussion and Future Work

While Partial Annotation offers a clear path toward more efficient data labeling, the authors note that current strategies assume all words require equal effort. Future iterations could incorporate representativeness—balancing uncertainty with how common a structure is in the general language—to prevent the model from over-focusing on rare outliers. Additionally, exploring "cold start" solutions, such as using automatically projected trees from other languages to seed the initial model, could further reduce the human labor required to build high-performing dependency parsers.

Summary updated

BibTeX
@inproceedings{li2016active,
  author = {Zhenghua Li and Min Zhang and Yue Zhang and Zhanyi Liu and Wenliang Chen and Hua Wu and Haifeng Wang},
  title = {{Active Learning for Dependency Parsing with Partial Annotation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1033},
}
Figure