How Many Training Labels Are Wrong? Auditing a Fitted Model through Gradient Allocation

Yuchen Li, Zongqi Fan, Xintong Li, Nguyen H. Tran, Ken-Tye YongarXiv 2026 · arXiv

TL;DR

This paper introduces a method to identify mislabeled training data even after a deep learning model has perfectly memorized them. By analyzing the pattern of per-example gradients (which parameters a sample wants to change) rather than their magnitude, the authors can audit a fitted model in seconds without needing clean data, held-out sets, or extra training.

What Problem Does This Paper Address?

Deep neural networks are remarkably good at memorizing their training data—including the mistakes. When a model is trained long enough, it eventually "fits" wrong labels, meaning the loss for those samples becomes small and the model’s predictions align with the incorrect labels.

This creates a major problem for data auditing: once a model has memorized the noise, standard metrics like loss, prediction confidence, or "self-influence" lose their signal. They all suggest the training set is clean because the model has successfully adapted to the errors. The authors seek a way to "read" the true labels from a frozen, fully-trained model that has already swallowed the noise.

Methods

The core innovation is a metric called Gradient Allocation.

  1. Gradient Allocation ($q_i$): Instead of looking at how large a gradient is (which shrinks as the model fits the data), the authors look at where the gradient points. They take the per-example gradient of the loss with respect to specific backbone parameters, take the absolute values, and normalize them. This creates a vector representing which parts of the network a specific example is trying to "engage."
  2. Allocation Margin: A correctly labeled example should have a gradient allocation that resembles the average allocation of its class. A mislabeled example (e.g., a "dog" labeled as a "cat") will likely have an allocation that fits the "dog" class better.
  3. Label-swap Audit: This is a threshold-free decision rule. For every example, the method asks: "If I changed this label to the most similar other class, would it fit that new class better than its current one?" If the answer is yes, the example is flagged as noise.

Crucially, this audit only requires a single forward and backward pass through the frozen model, making it extremely computationally efficient.

Datasets

The authors evaluated their method across several benchmarks featuring both synthetic and real-world human noise:

  • CIFAR-10N & CIFAR-100N: Versions of the classic CIFAR datasets containing real-world human annotation errors (ranging from 9% to 40% noise).
  • CIFAR-10H: A dataset with ~51 human labels per image, used to identify "hard" but correctly labeled examples.
  • Synthetic Noise: CIFAR-10 and CIFAR-100 with 20% and 60% symmetric noise.

Key Insights and Ideas

  • Patterns Survive Memorization: The most striking insight is that while memorization kills the magnitude of the error signal (loss), it does not destroy the spatial pattern of the gradient. The "gradient allocation" remains a reliable fingerprint of the underlying image content.
  • Threshold-Free Auditing: Unlike many noise-detection methods that require picking a magic number (a threshold) to separate clean from noisy data, the label-swap rule is a direct comparison between two states of the same example.
  • Efficiency vs. Accuracy: The method sits on the "Pareto front" of cost and accuracy. It matches the performance of much more expensive methods (like Confident Learning, which requires training multiple models) while being roughly 100 times faster.

Key Results

The authors demonstrate that Gradient Allocation is uniquely robust as training progresses. As shown in Figure 1, while loss-based and feature-based metrics see their ability to separate noise (AUC) plummet as the model fits the wrong labels, the allocation-based audit remains strong.

Figure 1: Separation of wrong from right labels as the wrong labels are fitted. Each point is the model kept after 2, 5, 10, 20 or 40 epochs of cross-entropy training, audited on the whole training set, mean of five runs (standard deviation at most 0.02). The horizontal axis is the share of wrong labels that the model predicts.
  • High AUC: On the noisiest human labels (CIFAR-10N "worst"), the method maintains an AUC of 0.94–0.96 even after the model has fitted 100% of the noise. In contrast, loss-based detection drops to ~0.75.
  • Speed: Auditing 5,000 examples takes only 14 to 27 seconds on a single GPU.
  • Noise Rate Estimation: On a briefly trained model, the audit estimates the true noise rate within 1.7 percentage points. On a fully fitted model, it provides a reliable lower bound, identifying 54–96% of the true noise with over 93% precision.

Limitations and Future Work

  • Fine-grained Complexity: The method struggles more with CIFAR-100, where errors often occur between visually similar "superclasses" (e.g., two different species of trees). In these cases, the gradient allocations are too similar to distinguish easily.
  • Lower Bound on Human Noise: For real-world human noise, the method tends to be a lower bound rather than an exact count, as some human errors are extremely subtle or ambiguous.
  • Ongoing Work: The authors mention they are extending this work to text classification (using models like encoders and decoders) and exploring how to use these readings during training to decide which labels to trust dynamically.

Summary updated

Abstract

How many labels in a training set are wrong, and which ones? The usual answers read a held-out set or the model's outputs. A held-out reading depends on how the held-out set was drawn, and an output-based reading fails once the model has fitted its wrong labels, because the loss of a fitted wrong label is small and the prediction agrees with it. We read the answer from the per-example gradients of a single trained model. Each example, together with its label, asks the network to change in a particular way. We normalise the magnitudes of its gradient into a gradient allocation and compare it with the mean allocation of every class. An example is flagged when relabelling it as its nearest other class makes its allocation fit better than under its own label, and the share of flagged examples is the reading of the noise rate. The rule has no threshold and needs no clean data, no held-out set and no further training. After the model has fitted 99-100% of its wrong labels, the allocation still separates wrong from right labels with an AUC of 0.94-0.96 on the noisiest human labels of CIFAR-10N, where a feature-space margin falls to 0.79-0.84 and the loss, the gradient norm and the self-influence of an example to 0.73-0.76. On such a fitted model, readings of the noise rate from predictions or feature margins fall to 0-6% at true rates of 8-58% on CIFAR-10 with ViT-S, while the audit reads 54-96% of the true rate, and at least 93% of the examples it counts carry wrong labels. On a briefly trained model, before the wrong labels are fitted, the reading lies within 1.7 percentage points of the true noise rate on CIFAR-10 from 0% to 58% noise. Confident learning, which trains four further models, separates wrong labels about as well (AUC 0.925-0.998 against 0.900-0.995) and mostly reads the noise rate more closely, at a lower precision. An audit of 5,000 examples takes 14 to 27 seconds on one GPU.
BibTeX
@misc{li2026how,
  author = {Yuchen Li and Zongqi Fan and Xintong Li and Nguyen H. Tran and Ken-Tye Yong},
  title = {{How Many Training Labels Are Wrong? Auditing a Fitted Model through Gradient Allocation}},
  year = {2026},
  eprint = {2611.22449},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22449},
}
Figure