ActiveAED: A Human in the Loop Improves Annotation Error Detection

Leon Weber, Barbara Plank

Abstract

Annotation Error Detection (AED) is essential for high-quality machine learning, but existing methods typically operate as static, one-pass tools. This paper introduces ActiveAED, a framework that transforms AED into an iterative, human-in-the-loop process. By feeding human corrections back into the model, ActiveAED improves its ability to identify remaining errors. Our evaluation across eight NLP benchmarks shows that ActiveAED outperforms state-of-the-art static baselines in seven instances, particularly excelling at identifying subtle, "hard" errors.

Introduction

Machine learning models are fundamentally limited by the quality of their training data. Even widely used benchmarks like CoNLL-2003 and IMDb contain significant labeling errors. Annotation Error Detection (AED) methods aim to mitigate this by flagging suspicious instances for human review. However, traditional AED workflows are linear: a model generates a list of potential errors, and a human reviews them. This process ignores the valuable supervision provided by the human corrections themselves.

Methodology

ActiveAED addresses this limitation by treating human feedback as a dynamic signal. The framework consists of three core components:

  1. Area-Under-the-Margin (AUM) Metric: ActiveAED utilizes the AUM score to identify likely errors. AUM measures how much a model "struggles" to learn a specific label during training; a low or negative gap between the assigned label's probability and the next best candidate often indicates a mislabel.
  2. The Active Learning Loop: Instead of a single large batch, human annotators review small batches of flagged instances. The dataset is updated with these corrections, and the model is retrained to re-rank the remaining data.
  3. Robust Ensembling: To ensure reliable error scores, the authors employ a $C$-fold cross-validation ensembling scheme. This combines scores from when an instance was in the training set (calibration) and when it was in the test set (unseen data).
The ActiveAED iterative workflow: human corrections are fed back into the model to improve subsequent error detection rounds.

Experimental Setup

The framework was evaluated on eight diverse NLP datasets covering tasks such as intent classification (ATIS), sentiment analysis (IMDb, SST), POS tagging (GUM), NER (CoNLL-2003), and slot filling (SI Companies, SI Flights, and SI Forex). The experiments utilized DistilRoBERTa as the base model.

Results and Discussion

ActiveAED demonstrated superior performance compared to static baselines on seven out of eight datasets. As shown in the performance table below, the method achieved significant gains in Average Precision (AP).

Comparison of ActiveAED against various baselines across eight NLP datasets. Bold values indicate the best performance.

A key finding is the "Mid-to-High Recall" advantage. While static models are proficient at finding obvious errors, ActiveAED's iterative nature allows it to uncover more subtle mistakes as the model's decision boundary shifts with each correction. For instance, on the SI-Flights dataset, the active component drove the AP from 80.3% to 86.6%.

Limitations and Future Work

The primary constraint of ActiveAED is its computational demand. The requirement to retrain or fine-tune the model after each human review batch resulted in approximately 1,000 GPU hours for the study's experiments. Future work will explore parameter-efficient tuning methods (e.g., LoRA) to reduce this overhead and investigate the framework's applicability to large-scale generative models.

Conclusion

ActiveAED proves that integrating human feedback into the error detection loop significantly enhances data cleaning efforts. By turning a static task into a dynamic conversation between human and machine, we can build more robust and accurate datasets for the next generation of AI.

Summary updated

BibTeX
@inproceedings{weber2023activeaed,
  author = {Leon Weber and Barbara Plank},
  title = {{ActiveAED: A Human in the Loop Improves Annotation Error Detection}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.562},
}
Figure