[Paper Review] Robust and On-the-fly Dataset Denoising for Image Classification
This paper proposes On-the-fly Data Denoising (ODD), a robust, efficient method for identifying and removing mislabeled examples in image classification datasets by leveraging the implicit regularization of stochastic gradient descent (SGD) with large learning rates. ODD models the counterfactual loss distribution of uniformly random labels using only network parameters, then removes examples whose loss exceeds a high quantile of this distribution, achieving state-of-the-art performance on noisy datasets like WebVision and Clothing1M with near-zero computational overhead.
Memorization in over-parameterized neural networks could severely hurt generalization in the presence of mislabeled examples. However, mislabeled examples are hard to avoid in extremely large datasets collected with weak supervision. We address this problem by reasoning counterfactually about the loss distribution of examples with uniform random labels had they were trained with the real examples, and use this information to remove noisy examples from the training set. First, we observe that examples with uniform random labels have higher losses when trained with stochastic gradient descent under large learning rates. Then, we propose to model the loss distribution of the counterfactual examples using only the network parameters, which is able to model such examples with remarkable success. Finally, we propose to remove examples whose loss exceeds a certain quantile of the modeled loss distribution. This leads to On-the-fly Data Denoising (ODD), a simple yet effective algorithm that is robust to mislabeled examples, while introducing almost zero computational overhead compared to standard training. ODD is able to achieve state-of-the-art results on a wide range of datasets including real-world ones such as WebVision and Clothing1M.
Motivation & Objective
- To address the degradation in model generalization caused by mislabeled examples in large-scale, weakly supervised datasets.
- To develop a denoising method that does not rely on prior knowledge of label noise distribution or trusted examples.
- To enable effective, real-time removal of noisy examples during training with minimal computational cost.
- To improve performance on both real-world noisy datasets and clean benchmarks without architectural or hyperparameter modifications.
Proposed method
- ODD uses large learning rate schedules during initial training to create a distinct loss gap between clean and uniformly noisy examples.
- It models the counterfactual loss distribution of uniformly random labels using only the trained network parameters, without requiring actual training on noisy labels.
- The method derives a threshold from high quantiles (e.g., 95th percentile) of this modeled loss distribution to identify potentially mislabeled examples.
- Examples with losses exceeding the threshold are removed from the training set on-the-fly, and training continues on the cleaned set.
- The approach is agnostic to the original label distribution and works without prior knowledge of noise levels or confusion matrices.
- ODD is applied during fine-tuning, enabling seamless integration into standard training pipelines with negligible overhead.
Experimental results
Research questions
- RQ1Can implicit regularization from SGD with large learning rates be used to distinguish mislabeled examples from clean ones?
- RQ2Can a counterfactual loss distribution of uniformly random labels be modeled using only network parameters?
- RQ3Does removing examples with losses above a quantile of this counterfactual distribution improve generalization on noisy datasets?
- RQ4How robust is ODD to variations in hyperparameters such as learning rate schedule and pruning ratio?
- RQ5Can ODD detect mislabeled examples in a 'clean' dataset like CIFAR-100 without any external supervision?
Key findings
- ODD achieves state-of-the-art accuracy on real-world noisy datasets such as WebVision and Clothing1M, outperforming methods that require noise transition matrices or auxiliary models.
- On the WebVision dataset, ODD achieves a top-1 accuracy of 78.9%, surpassing previous methods including GCE and Joint Optimization.
- On Clothing1M, ODD achieves 88.7% top-1 accuracy, outperforming methods like LCCN and DMI, and matching or exceeding LC despite LC’s reliance on clean labels.
- ODD maintains competitive performance on clean datasets like CIFAR-10 and ImageNet, achieving results comparable to standard ERM training.
- Ablation studies show ODD is robust to variations in pruning ratio (p) and training epochs (E), with p=10 and E=100 yielding optimal trade-offs.
- Qualitative analysis confirms ODD successfully identifies mislabeled examples in the CIFAR-100 dataset, even when no ground-truth noise labels are available.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.