Abstract: This paper focuses on webly supervised learning (WSL), where datasets are built by crawling samples from the Internet and directly using search queries as web labels. Although WSL benefits from fast and low-cost data collection, noises in web labels hinder better performance of the image classification model. To alleviate this problem, in recent works, self-label supervised loss $$\mathcal {L}_s$$ is utilized together with webly supervised loss $$\mathcal {L}_w$$ . $$\mathcal {L}_s$$ relies on pseudo labels predicted by the model itself. Since the correctness of the web label or pseudo label is usually on a case-by-case basis for each web sample, it is desirable to adjust the balance between $$\mathcal {L}_s$$ and $$\mathcal {L}_w$$ on sample level. Inspired by the ability of Deep Neural Networks (DNNs) in confidence prediction, we introduce Self-Contained Confidence (SCC) by adapting model uncertainty for WSL setting, and use it to sample-wisely balance $$\mathcal {L}_s$$ and $$\mathcal {L}_w$$ . Therefore, a simple yet effective WSL framework is proposed. A series of SCC-friendly regularization approaches are investigated, among which the proposed graph-enhanced mixup is the most effective method to provide high-quality confidence to enhance our framework. The proposed WSL framework has achieved the state-of-the-art results on two large-scale WSL datasets, WebVision-1000 and Food101-N. Code is available at https://github.com/bigvideoresearch/SCC .
Introduction
Deep learning success is often predicated on the availability of massive, high-quality human-labeled datasets. However, manual labeling is prohibitively expensive at scale. Webly Supervised Learning (WSL) offers a scalable alternative by using search queries as labels for crawled images. The primary challenge in WSL is the prevalence of label noise; for instance, a query for "hotdog" may yield images of actual dogs or unrelated picnic scenes. Existing methods often rely on small sets of clean data or global trust factors to mitigate this noise. This work introduces Self-Contained Confidence (SCC), a sample-wise mechanism that leverages a model's own uncertainty to adaptively balance web labels and model-generated pseudo-labels without requiring any manually cleaned data for guidance.
Methodology
The proposed framework operates in two stages. In the first stage, a model $M_{\theta_0}$ is pretrained on noisy web data using Mixup regularization to improve calibration. In the second stage, the model uses its own output probabilities to determine the reliability of the web label.
The core innovation is the adaptive loss function: $$\mathcal{L} = c \times \mathcal{L}_w + (1 - c) \times \mathcal{L}_s$$ where $c$ is the SCC (the probability assigned to the web label $\omega$ by the pretrained model), $\mathcal{L}_w$ is the webly supervised loss, and $\mathcal{L}_s$ is the self-label supervised loss. This allows the model to trust the web label when confidence is high and rely on its own predictions when the web label is likely incorrect. To further refine these scores, Graph-Based Aggregation (GBA) is employed to smooth predictions across visually similar images in a $k$-nearest-neighbor graph, ensuring that visually consistent clusters reinforce their predicted labels.
Experimental Results
The framework was evaluated on large-scale benchmarks including WebVision-1000 and Food101-N. On WebVision-1000, the method reached 75.78% Top-1 accuracy, outperforming previous methods like MentorNet and CleanNet, despite those methods using extra human-verified data.
As shown in the Expected Calibration Error (ECE) plot, there is a strong correlation between the model's self-contained confidence and the actual correctness of the web labels. This confirms that Deep Neural Networks (DNNs) are inherently capable of identifying noisy labels when properly regularized. The model also demonstrated robust generalization, achieving 70.66% Top-1 accuracy on the clean ImageNet validation set and 87.55% accuracy on Food101-N.
Conclusion
The SCC framework provides a simple yet effective approach to WSL by making models "self-aware" of label noise. By eliminating the need for auxiliary guidance networks or clean reference sets, the method offers a scalable solution for training on massive, uncurated web data. Future work will focus on end-to-end implementations and reducing the computational overhead of graph construction for multi-million image datasets.
Summary updated