Dataset Growth

Ziheng Qin, Zhaopan Xu, Yukun Zhou, Zangwei Zheng, Zebang Cheng, Hao Tang, Lei Shang, Baigui Sun, Xiaojiang Peng, Radu Timofte, Hongxun Yao, Kai Wang, Yang You

Introduction

As we enter an era where approximately 0.33 zettabytes of data are generated daily, the traditional deep learning strategy of "collect everything and clean it later" is becoming untenable. The sheer volume of web-scale data makes manual cleaning impossible, while standard offline automated cleaning methods—which typically have $O(n^2)$ computational complexity—fail to scale to billions of samples.

The primary challenges in curating web-scale data are noise (misaligned image-text pairs or out-of-distribution samples) and redundancy (clean data that offers no new information). To address these, we present InfoGrowth, a novel online framework designed to clean and select informative data samples in real-time as they are streamed.

The InfoGrowth Framework

InfoGrowth treats dataset creation as a recursive process, repeatedly adding only the most informative samples to an evolving pool. The framework consists of four integrated stages:

  1. Backbone: A multimodal encoder (e.g., BLIP) maps incoming data into a shared embedding space.
  2. Cleaner: To mitigate noise, the system utilizes a "cleaner" model—such as MiniGPT-4—to recaption images, replacing low-quality web alt-text with high-fidelity descriptions. It also filters samples with poor image-text alignment.
  3. Gain Calculator: This component addresses redundancy with high efficiency. By employing Hierarchical Navigable Small World (HNSW) graphs, the system performs approximate nearest neighbor searches in $O(\log n)$ time. Information gain is then calculated based on a sample's distance from its neighbors; samples falling into already "crowded" regions of the embedding space are discarded as redundant.
  4. Sampler: The system employs both static sampling for diversity and dynamic sampling to accelerate training by alternating between diversity and generalization.
The InfoGrowth framework: a recursive pipeline for real-time data cleaning and selection.

Experimental Setup and Datasets

The InfoGrowth framework was evaluated on both multimodal and single-modal tasks using the following datasets:

  • CC3M (Conceptual Captions): 2.7 million web-crawled image-text pairs for multimodal pre-training.
  • ImageNet-1K: 1.28 million images for single-modal classification.
  • Downstream Benchmarks: Evaluation was conducted on MSCOCO, Flickr30K (retrieval), VQA, NLVR2 (reasoning), and MSRVTT (video).

Results and Performance

InfoGrowth demonstrates significant improvements in data efficiency and training speed. On the CC3M dataset, a BLIP model trained using the InfoGrowth pipeline achieved superior zero-shot retrieval results on MSCOCO using only 0.4 million samples, compared to the baseline trained on the full 2.7 million samples. This represents a massive leap in data efficiency.

Efficiency comparison: InfoGrowth ('ours') significantly outperforms random sampling and the full CC3M baseline with a fraction of the data.

Key findings include:

  • Training Speedup: The dynamic sampling strategy reduced overall training costs by 45% without sacrificing performance.
  • Single-Modal Superiority: On ImageNet-1K, InfoGrowth outperformed established pruning methods like EL2N and GC, achieving 75.8% accuracy at 50% pruning compared to 72.8% for competitors.
  • Noise Robustness: The system remained effective even when 25% of data captions were intentionally corrupted, successfully denoising the stream to maintain high performance.

Conclusion

InfoGrowth offers a scalable solution for the zettabyte era by shifting from offline to online data curation. By mathematically estimating redundancy through embedding space proximity and utilizing LLMs for cleaning, it achieves 2x–4x better data efficiency. While the current HNSW-based architecture requires synchronization, future work will explore distributed search methods and more lightweight cleaner models to further enhance throughput for massive, distributed web-scale operations.

Summary updated

BibTeX
@inproceedings{qin2024dataset,
  author = {Ziheng Qin and Zhaopan Xu and Yukun Zhou and Zangwei Zheng and Zebang Cheng and Hao Tang and Lei Shang and Baigui Sun and Xiaojiang Peng and Radu Timofte and Hongxun Yao and Kai Wang and Yang You},
  title = {{Dataset Growth}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72673-6\_4},
}
Figure