NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Automatic Construction of Diverse, High-quality Image Dataset

Yazhou Yao, Jian Zhang, Fumin Shen, Dongxiang Zhang, Zhenmin Tang, Heng Tao Shen

TL;DR

This paper introduces a novel framework for automatically constructing diverse and high-quality image datasets from the web. It tackles the challenges of noise and limited diversity in web-scraped images by employing multiple textual queries and a multi-view, multi-instance learning approach to filter out irrelevant content, ultimately leading to more robust and accurate image datasets.

What Problem Does This Paper Address?

The creation of large, labeled image datasets is crucial for advancing computer vision tasks like image understanding and model development. However, manual annotation is incredibly time-consuming and expensive. While using web search engines to gather images is a promising alternative, existing methods struggle with two major issues:

  1. Noise and Low Accuracy: Image search engines often return irrelevant or low-quality images due to indexing errors and the inherent ambiguity of search terms.
  2. Low Diversity and Dataset Bias: Relying on a single query or a limited set of queries can lead to datasets where images within a category are too similar, lacking the intra-class variation needed for robust model generalization. This "dataset bias" can hinder a model's ability to perform well on unseen data from different domains.

The authors aim to overcome these limitations by automatically building datasets that are not only accurate but also diverse, thereby improving their domain adaptation capabilities.

Methods

The proposed framework consists of three main stages:

  1. Multiple Textual Queries Discovery: Instead of relying on a single search query, the system generates a set of semantically rich, related textual queries. This is achieved by leveraging the Google Books Ngram Corpus (GBNC), which is a vast repository of text that captures diverse linguistic variations. This multi-query approach helps to increase the diversity of retrieved images and overcome the limitations of single-query search results.
  2. Noisy Textual Queries Filtering: Not all generated queries are useful. This stage filters out irrelevant or misleading textual queries. It treats semantic (word-word) and visual (visual-visual) distances as two different "views" and employs a multi-view learning approach. This allows the system to identify and remove queries that are semantically related but visually dissimilar to the target concept, or vice-versa.
  3. Noisy Images Filtering: This is a multi-stage process to clean the retrieved images:
  4. Artificial Images Pruning: Images that are not natural (e.g., sketches, cartoons) are removed using a radial basis function SVM trained on color and gradient histogram features.
  5. Inter-Class Noisy Images Pruning: Images that are noisy due to irrelevant textual queries are handled using a multi-instance learning (MIL) approach. Each textual query is treated as a "bag," and its retrieved images are "instances." The system learns to identify and discard "bags" (queries) that are likely to be noisy.
  6. Intra-Class Noisy Images Pruning: This step addresses noise within otherwise relevant image collections, often caused by search engine errors. It uses an MIL-based approach to identify and remove individual "outlier" images within a bag that do not contribute positively to the classification of that bag.

Datasets

  • Training/Construction: The paper constructs a new dataset called WSID-100, containing 100 categories. This dataset is built using images scraped from the web.
  • Evaluation: The constructed WSID-100 dataset and existing datasets like PASCAL VOC 2007, ImageNet, STL-10, CIFAR-10, Optimol, and Harvesting are used for evaluation.

Key Insights and Ideas

  • Leveraging Multiple Queries for Diversity: The core idea of using multiple, semantically related textual queries is a powerful way to combat the "dataset bias" problem and ensure greater intra-class variation in the collected images.
  • Multi-View Learning for Query Filtering: Treating semantic and visual relevance as distinct "views" in a multi-view learning framework provides a robust way to filter out less relevant textual queries, improving the accuracy of the initial image collection.
  • Multi-Instance Learning for Noise Reduction: Applying MIL to treat textual queries as "bags" and images as "instances" is an effective strategy for both inter-class (query-level) and intra-class (image-level) noise removal. This allows for more nuanced filtering than simple thresholding.
  • The Importance of Both Semantic and Visual Relevance: The paper highlights that simply having semantic relevance (words match) isn't enough; visual relevance is equally critical. Their multi-view approach effectively balances these two aspects.
  • Web Data Can Be High-Quality with Proper Filtering: The work demonstrates that web-scraped data, when subjected to rigorous filtering and diversity-enhancing techniques, can yield datasets that rival or even surpass manually labeled ones in certain aspects, particularly in terms of domain robustness.

Key Results

  • The proposed framework successfully constructs the WSID-100 dataset with 100 categories.
  • Experiments show significant performance gains when using the WSID-100 dataset on tasks like image classification, cross-dataset generalization, and object detection.
  • The constructed dataset consistently outperforms existing weakly supervised and web-supervised approaches in various evaluations.
  • For image classification, the WSID-100 dataset demonstrates better diversity and can adapt better to third-party testing datasets compared to baselines.
  • In object detection tasks on PASCAL VOC 2007, the proposed methods (using DPM and Faster R-CNN detectors) achieve competitive or superior results compared to other state-of-the-art methods, especially in weakly supervised and web-supervised settings.
  • The method is shown to be robust to parameter variations within a reasonable range.

Limitations and Future Work

  • Parameter Sensitivity: While the method is generally robust, the paper acknowledges the need to analyze parameter sensitivity (e.g., for $S_i$ and $\delta$) more thoroughly, which they do in Section 4.6 and 4.7.
  • Potential for Noise in Web Data: Despite extensive filtering, the inherent nature of web data means some level of noise might still persist, which could impact the performance of detectors trained on the data.
  • Future Work: The authors suggest that their framework can serve as a benchmark for evaluating noise pruning algorithms. They also highlight the potential for using their automatically constructed datasets to improve classifier learning and reduce the reliance on manual labeling. The paper also mentions the possibility of generating artificial images for visual tasks, opening up further research avenues.

Summary updated

BibTeX
@article{yao2020towards,
  author = {Yazhou Yao and Jian Zhang and Fumin Shen and Dongxiang Zhang and Zhenmin Tang and Heng Tao Shen},
  title = {{Towards Automatic Construction of Diverse, High-quality Image Dataset}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2020},
  doi = {10.1109/tkde.2019.2903036},
}
Figure