TL;DR
Automatic Dataset Construction (ADC) is a new pipeline that flips the traditional data collection process on its head: instead of collecting images and then paying humans to label them, it uses Large Language Models (LLMs) to design detailed categories and then uses search engines to find matching samples. This approach allowed the authors to build Clothing-ADC, a massive dataset of over 1 million images with 12,000 fine-grained subclasses, at a fraction of the traditional cost and time.
What Problem Does This Paper Address?
In the era of specialized AI, we have an insatiable hunger for high-quality, niche datasets. However, Traditional Dataset Construction (TDC) is a massive bottleneck. It typically requires domain experts to painstakingly design categories and armies of crowdsourced workers to label images one by one.
This process is not only slow and expensive but also prone to human error and "label bias" (where certain classes are overrepresented). Furthermore, some datasets are dangerous or difficult to collect manually (e.g., fall detection for the elderly). The authors sought a way to automate this entire lifecycle—from design to curation—with minimal human intervention.
Methods
The ADC pipeline consists of three main steps that replace manual labor with model-driven automation:
- Dataset Design with LLMs: Instead of manual brainstorming, researchers use LLMs (like GPT-4) to identify attribute types (color, material, pattern) and generate hundreds of subclasses. LLMs are surprisingly good at surfacing domain-specific terms (like "Gore-Tex" or "Houndstooth") that humans might overlook.
- Automated Labeling via Search: ADC "flips" the labeling process. It uses the LLM-generated attributes to formulate precise search queries (e.g., "white cotton fisherman sweater"). The search engine (Google or Bing) acts as the initial "labeler," and the query itself becomes the sample's label.
- Data Curation and Cleaning: To handle the inevitable "web noise" (irrelevant search results), ADC uses algorithmic label noise detection (like the Docta software) to filter out mismatches.
For high-stakes applications, they introduce a Cost-Efficient Human-in-the-Loop step. Instead of labeling from scratch, humans are shown a grid of machine-labeled images and simply filter out the incorrect ones—a task that is mentally easier and significantly faster.
Datasets
The authors introduced Clothing-ADC, a landmark dataset for the field:
- Scale: Over 1 million images.
- Hierarchy: 12 primary classes (Sweater, T-shirt, etc.) and 12,000 fine-grained subclasses based on color, material, and pattern.
- Benchmarks: They created three specialized benchmark subsets from this data to help researchers test algorithms for label noise detection, learning with noisy labels, and class-imbalanced learning.
Key Insights and Ideas
- LLMs as Brainstorming Partners: Manual brainstorming for the clothing dataset yielded about 23 attribute options; GPT-4 generated between 30 and 50 per attribute, significantly enriching the dataset's diversity.
- The Power of Filtering: The authors found that asking humans to verify a machine-generated label is much more efficient than asking them to generate one. This "filtering" task allowed them to create a 20,000-sample clean test set for just $150.
- Web-Scale Noise is Manageable: While search engines introduce noise (about 22.2% in their raw collection), automated curation methods successfully reduced this to 10.7%, achieving a 79% agreement rate with human experts.
- Addressing the "Clean Set" Myth: The paper highlights that even "gold standard" datasets like ImageNet or CIFAR have error rates. ADC embraces this reality by providing built-in software tools to handle noise and bias during training.
Key Results
- Efficiency: ADC enables rapid iteration; the design phase for a complex dataset can be reduced from days to under an hour.
- Noise Reduction: Automated curation (using the Docta algorithm) effectively identified corrupted instances, outperforming several baseline methods in F1-score.
- Model Performance: The authors benchmarked various robust learning methods on Clothing-ADC. Methods like TaylorCE and Positive Label Smoothing significantly outperformed standard Cross-Entropy, proving the value of pairing ADC with robust training software.
- Diversity: By using fine-grained LLM designs, the pipeline naturally mitigates the "long-tail" distribution problem common in web-sourced data, where common items drown out rare ones.
Limitations and Future Work
The authors acknowledge a few key boundaries:
- Categorical Focus: Currently, the pipeline is optimized for image classification. Expanding it to support object detection (drawing boxes) or segmentation (tracing outlines) is a primary goal for future work.
- Annotation Accuracy: While ADC reduces noise, it cannot yet guarantee 100% accuracy without some human oversight.
- Copyright and Ethics: The pipeline relies on public search engines. While the authors provide URLs and metadata rather than redistributing files, users must remain responsible for complying with individual image licenses.
For those interested in exploring the data or the tools, the Clothing-ADC dataset and the curation software are open-sourced on HuggingFace.
Summary updated