Webly Supervised Image Classification with Metadata: Automatic Noisy Label Correction via Visual-Semantic Graph

Jingkang Yang, Weirong Chen, Litong Feng, Xiaopeng Yan, Huabin Zheng, Wayne Zhang

TL;DR

Training AI on web-crawled images is cheap but messy because search queries are often ambiguous (e.g., "tiger cat" returns mostly tigers, not cats). This paper introduces VSGraph-LC, an automatic pipeline that uses image metadata (titles and tags) and a Graph Neural Network to identify and correct these "semantic" label errors without any human intervention, achieving state-of-the-art results on massive web datasets.

What Problem Does This Paper Address?

Deep learning thrives on massive datasets, but human labeling is expensive. To scale, researchers "webly supervise" models by training them on images pulled directly from search engines using keywords.

The catch? Semantic Label Noise. Because words have multiple meanings (polysemy), a search for "drumstick" might return percussion mallets, fried chicken, or even a specific type of tree. Standard denoising techniques usually assume that noisy data is "outlying" or sparse. However, in web data, the "wrong" images often form large, visually consistent clusters (like a huge group of chicken legs labeled as "drumsticks"). These clusters trick standard models into thinking they are the correct concept.

Methods

The authors propose VSGraph-LC (Visual-Semantic Graph Label Corrector), which works in several stages:

  1. Feature Extraction: They pretrain a standard CNN (ResNet50) on the noisy web data to create a visual feature space.
  2. The Visual Graph: They build a $k$-nearest neighbor ($k$-NN) graph where each image is a node, and edges connect images that look similar.
  3. Semantic Anchor Selection: This is the "secret sauce." They use XLNet (a powerful language model) to embed the image's metadata (titles/tags) and compare it to a detailed description of the target class pulled from WordNet. Images where the metadata strongly matches the dictionary definition are chosen as "anchors"—the gold standard clean samples.
  4. Label Propagation via GNN: They use a Simple Graph Convolution (SGC) network to propagate the labels from the clean anchors to the rest of the graph. Because the graph is based on visual similarity, the "clean" labels flow to visually similar images.
  5. Final Correction: They combine the GNN’s predictions with the original CNN’s confidence scores to produce a final, corrected set of labels.
  6. Finetuning: Finally, they retrain the CNN using these corrected labels.

Datasets

The researchers evaluated their method on three primary benchmarks:

  • WebVision-1000: A massive dataset of 2.4 million images from Google and Flickr.
  • Google-500: A subset of WebVision created by the authors for ablation studies (sampling 500 categories).
  • NUS-WIDE: A real-world multi-label web dataset used to test the model's robustness in more complex tagging scenarios.
  • ImageNet: Used as a "clean" validation set to see how well the web-trained model generalizes to human-verified data.

Key Insights and Ideas

  • Metadata is an untapped goldmine: While visual features can be confusing, the text accompanying a web image (the title or tags) often contains the "truth" needed to disambiguate polysemous queries.
  • Graph Smoothing for Text: Metadata itself can be noisy or sparse. The authors found that "smoothing" text embeddings across the visual graph (averaging a node's text features with its visual neighbors) significantly improved the accuracy of anchor selection.
  • GNNs as Denoising Engines: Unlike standard classifiers that look at images in isolation, GNNs look at the relationships between images. This allows the model to realize that a cluster of "chicken legs" shouldn't be labeled "drumsticks" if the anchors (percussion mallets) are in a completely different part of the visual space.
  • Open-Set Superiority: The method is particularly good at "Open-Set Recognition"—identifying images that don't belong to any of the training classes and giving them low confidence scores rather than forcing them into a category.

Key Results

  • WebVision-1000: VSGraph-LC achieved a 75.48% top-1 accuracy, outperforming previous state-of-the-art methods like CurriculumNet and CleanNet.
  • Generalization: When tested on the clean ImageNet validation set, the model showed an even larger lead, proving that the label correction helped the model learn "true" concepts rather than just memorizing web noise.
  • Ablation: On the Google-500 set, the full VSGraph-LC pipeline improved top-1 accuracy by 1.18% over a baseline pretrained model, a significant margin at this scale.

Limitations and Future Work

  • Metadata Dependency: The system relies on the availability of text metadata. If a dataset consists only of images and noisy labels without titles or tags, this specific approach cannot be applied.
  • Multi-stage Pipeline: The process requires pretraining, graph construction, GNN training, and then finetuning. This is more computationally intensive than a single-pass training method.
  • Future Directions: The authors suggest that the quality of the visual graph is the bottleneck for "progressive" training (iteratively improving the model). Using even stronger "off-the-shelf" visual features could potentially allow the model to self-correct in multiple rounds.

Summary updated

BibTeX
@inproceedings{yang2020webly,
  author = {Jingkang Yang and Weirong Chen and Litong Feng and Xiaopeng Yan and Huabin Zheng and Wayne Zhang},
  title = {{Webly Supervised Image Classification with Metadata: Automatic Noisy Label Correction via Visual-Semantic Graph}},
  booktitle = {ACM Multimedia},
  year = {2020},
  url = {https://openreview.net/forum?id=B5bmFrq9oKR},
}

Loading related content...

Figure