Identify Ambiguous Tasks Combining Crowdsourced Labels by Weighting Areas Under the Margin

Tanguy Lefort, Benjamin Charlier, Alexis Joly, Joseph Salmon

Introduction

Modern machine learning relies heavily on massive datasets annotated via crowdsourcing. While effective, this approach introduces significant noise. Traditional research has largely focused on worker-oriented solutions, such as the Dawid-Skene model, which estimates worker reliability to weight labels. However, these methods often overlook the intrinsic ambiguity of the tasks themselves—some data points are inherently difficult or corrupted, leading even experts to disagree. This paper introduces Weighted Area Under the Margin (WAUM), a metric designed to identify and prune these "hurtful" ambiguous tasks.

The WAUM Framework

The authors propose WAUM as a feature-aware metric that integrates worker reliability with the training dynamics of deep learning models. Unlike feature-blind methods that only consider label distributions, WAUM leverages the neural network's internal representation of the data to gauge task difficulty.

The WAUM pipeline: from crowdsourced labels to task identification and pruning.

The framework operates in several stages:

  1. AUM Foundation: Building on the Area Under the Margin (AUM) metric, which tracks the difference between the logit score of an assigned label and the next highest score during training. If a model consistently struggles to rank the assigned label first, the point is likely mislabeled.
  2. Weighted Aggregation: In a crowdsourcing context where multiple labels exist per task, WAUM calculates the AUM for every provided label and computes a weighted average.
  3. Trust Scores ($s^{(j)}$): Weights are determined by combining worker ability (derived from confusion matrices) and task difficulty (derived from model confidence).
  4. Pruning and Retraining: Tasks falling into the bottom $\alpha$ quantile of WAUM scores are discarded, and the model is retrained from scratch on the cleaned dataset.

Experimental Evaluation

The researchers evaluated WAUM across various benchmarks, including simulated datasets (three_circles, two_moons) and real-world datasets like CIFAR-10H and LabelMe.

Key Results

  • Generalization Gains: On CIFAR-10H, WAUM pruning improved test accuracy by 1-2% when combined with standard aggregation methods like Majority Voting or Dawid-Skene.
  • Sparse Data Performance: In scenarios with few labels per task (e.g., LabelMe), WAUM outperformed traditional metrics like label entropy, which become discrete and less informative with limited votes. By leveraging image features, WAUM maintains a continuous, useful signal.
  • Model Calibration: WAUM significantly reduced the Expected Calibration Error (ECE), resulting in models that are more "honest" about their uncertainty.

Discussion and Insights

A critical insight of this work is that ambiguity is distinct from random noise. Difficult examples are not merely errors; they are points that actively mislead learning algorithms. The study found that pruning even a small fraction (1% to 5%) of the most ambiguous tasks consistently yielded performance benefits. Furthermore, by being feature-aware, WAUM can identify "impossible" tasks—such as mislabeled music genres or visually ambiguous images—that label-only methods might miss.

Conclusion

WAUM provides a robust mechanism for cleaning crowdsourced datasets by identifying tasks that hinder model generalization. While it introduces some computational overhead due to the initial proxy training run, the gains in accuracy and calibration make it a valuable tool for high-stakes machine learning applications. Future work may extend this approach to top-k classification and sequential labeling tasks, or use WAUM as a triage tool to identify images requiring expert intervention.

Summary updated

BibTeX
@article{lefort2024identify,
  author = {Tanguy Lefort and Benjamin Charlier and Alexis Joly and Joseph Salmon},
  title = {{Identify Ambiguous Tasks Combining Crowdsourced Labels by Weighting Areas Under the Margin}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure