Deep learning models typically require massive, manually labeled datasets to achieve high performance. However, the cost of human annotation is often prohibitive. "Webly-supervised learning"—training models on images crawled from search engines—offers a scalable alternative but introduces two significant challenges: label noise (irrelevant images in search results) and domain shift (the statistical difference between web photos and real-world test data).
Presented at CVPR 2018, this research introduces WSCI (Webly Supervised learning with Category-level Information), a framework that leverages easily accessible category-level metadata to automatically clean noisy web data and bridge the domain gap.
The WSCI Framework
The core innovation of WSCI is a dual-flow architecture that shares a common feature-extraction backbone. Unlike standard classifiers that treat all training images equally, WSCI uses a probabilistic approach to evaluate the quality of each web image.
Dual-Flow Architecture
- Classification Flow: A standard Convolutional Neural Network (CNN) that predicts the image category.
- Semantic VAE Flow: A Variational Autoencoder (VAE) designed to reconstruct the input image. Crucially, the VAE's latent space is conditioned on category-level information, such as attribute vectors (e.g., "has stripes," "eats fish") or word embeddings of the category name.
Outlier Detection and Weighting
The VAE acts as a sophisticated noise filter. If an image labeled "polar bear" cannot be easily reconstructed using the semantic attributes of a polar bear, the system identifies it as an outlier. The classification network then uses the VAE’s reconstruction probability as a weight, effectively ignoring noisy samples (like logos or cartoons) and focusing on representative photos.
Handling Domain Shift
To address the "domain shift" between web-crawled training data and real-world test sets, the authors extended the framework into WSCI-DA (Domain Adaptation). This version incorporates unlabeled test images during the training process. By forcing the VAE to reconstruct these test images, the model learns features that are more generalizable. Furthermore, a low-rank refinement strategy is employed to ensure that the latent features of test images are represented as combinations of "clean" training features, further purifying the representation space.
Experimental Results
The authors evaluated WSCI on three benchmark datasets: AwA2 (Animals with Attributes 2), CUB (birds), and SUN (scenes). For each category, 500 images were crawled from Google Images to serve as the noisy training set.
As shown in the results, WSCI significantly outperforms standard CNN baselines and previous state-of-the-art web-learning techniques. On the AwA2 dataset, a standard Inception-V3 model achieved 84.02% accuracy, while the full WSCI model reached 91.14%. When domain adaptation and low-rank refinement were applied (WSCI-DA), accuracy climbed to a remarkable 94.28%.
Conclusion
WSCI demonstrates that category-level information—which is far cheaper to obtain than per-image labels—is a powerful tool for cleaning web data. By integrating a semantic VAE into the training pipeline, the framework provides a robust, probabilistic way to handle label noise and domain shift, bringing webly-supervised models closer to the performance of traditionally supervised systems.
Summary updated