Enhanced Sample Selection with Confidence Tracking: Identifying Correctly Labeled Yet Hard-to-Learn Samples in Noisy Data

Weiran Pan, Wei Wei, Feida Zhu, Yong Deng

Abstract

We propose a novel sample selection method for image classification in the presence of noisy labels. Existing methods typically consider small-loss samples as correctly labeled. However, some correctly labeled samples are inherently difficult for the model to learn and can exhibit high loss similar to mislabeled samples in the early stages of training. Consequently, setting a threshold on per-sample loss to select correct labels results in a trade-off between precision and recall in sample selection: a lower threshold may miss many correctly labeled hard-to-learn samples (low recall), while a higher threshold may include many mislabeled samples (low precision). To address this issue, our goal is to accurately distinguish correctly labeled yet hard-to-learn samples from mislabeled ones, thus alleviating the trade-off dilemma. We achieve this by considering the trends in model prediction confidence rather than relying solely on loss values. Empirical observations show that only for correctly labeled samples, the model's prediction confidence for the annotated labels typically increases faster than for any other classes. Based on this insight, we propose tracking the confidence gaps between the annotated labels and other classes during training and evaluating their trends using the Mann-Kendall Test. A sample is considered potentially correctly labeled if all its confidence gaps tend to increase. Our method functions as a plug-and-play component that can be seamlessly integrated into existing sample selection techniques. Experiments on several standard benchmarks and real-world datasets demonstrate that our method enhances the performance of existing methods for learning with noisy labels.

Introduction

Deep learning models are notoriously sensitive to label noise, which can significantly impair their generalization capabilities. A standard approach to mitigate this is "sample selection," where the model attempts to identify and train only on samples likely to have correct labels. The most prevalent heuristic for this is the small-loss criterion, based on the observation that models tend to learn simple, clean patterns before memorizing noise. Consequently, samples with low loss in early training stages are assumed to be correctly labeled.

However, this criterion introduces a significant trade-off. "Hard-to-learn" samples—those that are correctly labeled but contain complex or ambiguous features—often exhibit high loss early in training, making them indistinguishable from mislabeled samples when using a simple loss threshold. This leads to a dilemma: a strict threshold maintains high precision but suffers from low recall (missing hard samples), while a loose threshold increases recall at the cost of precision (admitting noise).

Methodology: Confidence Tracking (CT)

To overcome the limitations of the small-loss criterion, we introduce Confidence Tracking (CT). Rather than relying on a static snapshot of loss, CT analyzes the temporal trajectory of the model's prediction confidence.

Trend Analysis via Confidence Gaps

We observe that for correctly labeled samples—even difficult ones—the model's confidence in the annotated label tends to rise more consistently than for any other class. We formalize this by tracking confidence gaps: the difference between the predicted probability of the annotated label and the probabilities of all other classes over successive training epochs.

To robustly identify these trends, we employ the Mann-Kendall Trend Test, a non-parametric statistical test. A sample is considered potentially correctly labeled if all its confidence gaps show a statistically significant upward trend. This dynamic approach allows us to recover hard samples that would otherwise be discarded by loss-based filters.

Figure 1: Comparison of loss distribution and confidence trajectories for hard-to-learn vs. mislabeled samples. While loss distributions for correct and mislabeled samples overlap significantly, their confidence trajectories over time are distinct, with correct samples showing a clear upward trend.

Integration with Existing Frameworks

CT is designed as a plug-and-play module. It can be integrated into existing selection pipelines (e.g., Co-teaching or GMM-based methods) as a secondary filter. While the primary selector identifies "easy" small-loss samples, CT identifies "hard" high-loss samples that are likely correct. The union of these two sets forms a more diverse and accurate training pool.

Theoretical Motivation: Coherent Gradients

The success of CT is supported by the theory of coherent gradients. During the "early learning" phase, gradients from correctly labeled samples tend to align with the overall gradient of the dataset because they share common, learnable features. In contrast, gradients from mislabeled samples are often idiosyncratic and lack such alignment. This coherence causes the model to prioritize learning correct labels, leading to the observed rise in confidence.

Figure 2: Gradient alignment metrics across training epochs. Correct labels show significantly higher alignment with the global gradient early in training, justifying the use of confidence trends as a selection criterion.

Experimental Results

We evaluated CT on standard benchmarks (CIFAR-10/100) and large-scale real-world datasets (WebVision, Food-101N).

  • Accuracy Improvements: CT consistently boosted the performance of various baseline methods. For example, on CIFAR-100 with 40% asymmetric noise, adding CT to the "FINE" baseline improved test accuracy from 49.48% to 53.16%.
  • Recall vs. Precision: CT effectively addresses the trade-off dilemma. In experiments with 20% noise, adding CT to a GMM-based selector increased the recall of correct samples from ~71% to over 83%, while maintaining high precision.
  • Real-World Robustness: On the WebVision dataset, CT improved the Top-1 accuracy of the state-of-the-art "DISC" method, demonstrating its effectiveness against complex, real-world noise.

Conclusion

Confidence Tracking provides a powerful mechanism for identifying hard-to-learn correctly labeled samples in noisy datasets. By shifting the focus from absolute loss values to the dynamics of prediction confidence, CT enables more robust and inclusive sample selection. Future work will explore optimizing the computational efficiency of trend tracking and further investigating the theoretical bounds of early learning dynamics.

Summary updated

BibTeX
@inproceedings{pan2025enhanced,
  author = {Weiran Pan and Wei Wei and Feida Zhu and Yong Deng},
  title = {{Enhanced Sample Selection with Confidence Tracking: Identifying Correctly Labeled Yet Hard-to-Learn Samples in Noisy Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=EkNMsSBscn},
}
Figure