Improve learning combining crowdsourced labels by weighting Areas Under the Margin

Tanguy Lefort, Benjamin Charlier, Alexis Joly, Joseph Salmon

TL;DR

Most crowdsourcing label aggregation methods (like Dawid–Skene or GLAD) are feature-blind: they estimate worker reliability and task difficulty purely from vote patterns, ignoring the input data itself. This paper introduces the Weighted Area Under the Margin (WAUM), which incorporates sample features and neural network training dynamics to detect and prune genuinely ambiguous tasks. By removing these harmful samples before training, WAUM improves both classification accuracy and model calibration across synthetic and real-world benchmarks.

What Problem Does This Paper Address?

When training deep neural networks on crowdsourced data, annotations are noisy and inconsistent. Standard consensus methods, such as Majority Voting (MV) or Dawid–Skene (DS), focus on worker reliability (e.g., inferring per-worker confusion matrices). While some models, like GLAD, also infer latent task difficulty, they only examine voting distributions.

This approach has two major blind spots:

  1. Vote Sparsity: If an image only receives one or two annotations, purely statistical vote aggregation cannot reliably assess difficulty.
  2. Harmful Ambiguity: Some samples are simply too noisy, corrupt, or intrinsically ambiguous for even expert humans to classify reliably. Forcing a neural network to fit these contradictory points degrades generalization and confidence calibration.

The authors ask: Can we use the actual features of an input—leveraging the behavior of a learning model during training—to identify inherently ambiguous tasks and filter them out?

Methods

The paper builds on the Area Under the Margin (AUM) statistic (Pleiss et al., 2020), originally designed to detect mislabeled samples in standard supervised learning by tracking how a model separates the target class logit from the highest competing logit over training epochs.

The authors propose the Weighted Area Under the Margin (WAUM) to adapt AUM to crowdsourcing:

  • Softmax Margin formulation: Rather than raw logits, margins are calculated over softmax probabilities: $$\text{margin}^{(t)}(x, y) = \text{softmax}^{(t)}_y(x) - \text{softmax}^{(t)}_{[2]}(x)$$ This avoids scale-sensitivity issues across training runs.

  • Worker- and Task-Dependent Trust Weighting: To combine worker feedback, each worker $w_j$'s AUM on task $x_i$ is weighted by an adaptive trust score $s^{(j)}(x_i)$: $$s^{(j)}(x_i) = \langle \text{diag}(\hat{\pi}^{(j)}), \text{softmax}^{(T)}(x_i) \rangle$$ where $\hat{\pi}^{(j)}$ is the worker's estimated confusion matrix (from DS) and $\text{softmax}^{(T)}(x_i)$ is the model’s class probability vector at the final epoch. This acts as a multidimensional reliability score: it gives high weight when an expert in class $k$ is evaluating a task that the model also believes belongs to class $k$.

  • Pruning and Aggregation Pipeline: Tasks in the lowest $\alpha$-quantile of WAUM are flagged as ambiguous and pruned. The workers' confusion matrices are re-estimated on the pruned set, and final soft labels are computed using the refined worker weights.

  • WAUMstack (Scalable Variant): To avoid training a separate neural network for every single worker ($n_{\text{worker}}$ models), the authors introduce a stacked variant where a single model is trained over the union of all worker responses.

Datasets

The authors evaluated their framework on both synthetic benchmarks and real crowdsourced datasets:

  • Simulated Benchmarks: 2D toy datasets (two_circles, three_circles, make_classification, and two_moons) evaluated with synthetic workers modeled by linear SVMs, RBF SVMs, and Gradient Boosted Trees.
  • CIFAR-10H: A crowdsourced version of the CIFAR-10 test set (10,000 images, 10 classes) annotated by 2,571 Amazon Mechanical Turk workers, yielding ~50 votes per image.
  • LabelMe: A real-world crowdsourced dataset (Rodrigues & Pereira, 2018) featuring 1,000 training images across 8 scene categories with sparse annotations (only 1 to 3 votes per task from 59 workers).

Key Insights and Ideas

  • Feature awareness breaks the sparse-vote barrier: On datasets like LabelMe where many samples have only 1 vote, latent-variable methods like GLAD fail to infer difficulty. Because WAUM evaluates model representations during training, the network acts as a "control agent," spotting ambiguous inputs even if only one worker labeled them.
  • Pruning beats blind smoothing: Standard soft labels retain noisy human disagreement. Discarding the bottom 1% to 10% most ambiguous tasks yields crisper learning signals without sacrificing core class concepts.
  • A caveat on data geometry: On two_moons, pruning based on WAUM actually hurt accuracy. Why? The ambiguous points were not noise, but critical boundary samples defining the crescent structure. This highlights that data pruning must distinguish pathological ambiguity from informative boundary geometry.

Key Results

  • CIFAR-10H (ResNet-18): Pruning just the bottom $\alpha = 0.01$ of tasks (~95 images) allowed WAUM to reach 72.75% test accuracy and an Expected Calibration Error (ECE) of 0.124, outperforming:
  • Majority Voting (69.53% acc / 0.175 ECE)
  • Dawid–Skene (70.27% acc / 0.173 ECE)
  • GLAD (66.57% acc / 0.173 ECE)
  • Naive Soft Labels (72.15% acc / 0.132 ECE)
  • LabelMe (VGG-16): In a sparse, overlapping-class environment, WAUM achieved 74.2% test accuracy and 0.128 ECE, beating Crowdlayer (73.3% / 0.166), GLAD (73.6% / 0.134), and DS (70.5% / 0.141).
  • WAUMstack Efficiency: On a 4-class synthetic classification task with 150 workers, WAUMstack delivered comparable or slightly superior accuracy (86.1% vs 84.9%) and calibration relative to the per-worker baseline while training only one network instead of 150.

Limitations and Future Work

  • Computational Footprint: Vanilla WAUM requires fitting a model per worker. Although WAUMstack mitigates this, it couples worker predictions and could be vulnerable if a large fraction of the crowd are adversarial spammers.
  • Risk of Over-Pruning Structured Data: As observed on two_moons, WAUM risks pruning structurally necessary boundary samples if the underlying classifier lacks the capacity to separate non-linear shapes early in training.
  • Future Directions: Adapting WAUM to class-imbalanced datasets (e.g., Pl@ntNet), exploring active learning scenarios (allocating expert annotators dynamically to low-WAUM samples), and formal extensions to top-$k$ multi-label classification.

Summary updated

BibTeX
@article{lefort2024improve,
  author = {Tanguy Lefort and Benjamin Charlier and Alexis Joly and Joseph Salmon},
  title = {{Improve learning combining crowdsourced labels by weighting Areas Under the Margin}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
}
Figure