Abstract
Vision-language models (VLMs) are trained for thousands of GPU hours on carefully selected subsets of massive web scrapes. For instance, the LAION public dataset retained only about 10% of the total crawled data. In recent times, data curation has gained prominence with several works developing strategies to retain ‘high-quality’ subsets of ‘raw’ scraped data. However, these strategies are typically developed agnostic to the available compute for training. In this paper, we demonstrate that making filtering decisions independent of training compute is often suboptimal—well-curated data rapidly loses its utility when repeated, eventually decreasing below the utility of ‘unseen’ but ‘lower-quality’ data. Our work bridges this important gap in the literature by developing scaling laws that characterize the differing ‘utility’ of various data subsets, and accounting for how this diminishes for a data point at its ‘nth’ repetition. Our key message is that data curation can not be agnostic of the total compute a model will be trained for. Even without ever jointly training on multiple data buckets, our scaling laws enable us to estimate model performance under this dynamic trade-off between quality and repetition. This allows us to curate the best possible pool for achieving top performance on Datacomp at various compute budgets, carving out a pareto-frontier for data curation.
Introduction: The Static Filtering Fallacy
In the development of Vision-Language Models (VLMs) like CLIP, the prevailing wisdom has shifted from "more is better" to "quality is king." Modern datasets like LAION often discard up to 90% of crawled data to focus on high-fidelity image-caption pairs. However, a critical oversight in current methodologies is that filtering strategies are almost universally compute-agnostic. They assume that a subset deemed "high-quality" remains the optimal choice regardless of the total training duration.
Researchers from Carnegie Mellon and Bosch AI challenge this assumption, identifying a fundamental Quality-Quantity Tradeoff (QQT). As training compute increases, the finite pool of high-quality data must be repeated (multiple epochs). This repetition leads to diminishing returns, where the utility of a "perfect" sample seen for the nth time eventually falls below that of a "mediocre" but previously unseen sample.
Methodology: Repetition-Aware Scaling Laws
To address this, the authors propose a new framework for neural scaling laws that explicitly accounts for data quality and repetition. Their approach involves three key components:
- Utility Decay Modeling: The contribution of a data point to loss reduction is hypothesized to decay exponentially with each repetition. This is parameterized by a "half-life" ($\tau$), representing how quickly a specific data bucket loses its effectiveness.
- Mixing Theorem: A mathematical derivation allows for estimating the performance of heterogeneous data mixtures (e.g., combining top-tier and mid-tier buckets) using only the scaling parameters of individual pools. This eliminates the need for exhaustive training on every possible combination.
- Contrastive Adjustments: The laws are tailored for the $O(N^2)$ interaction dynamics of contrastive learning used in VLMs, ensuring accuracy across different scales of data diversity.
The study utilized the DataComp "medium" pool (128M samples), ranking data into quality buckets using T-MARS and CLIP scores. Evaluation spanned 18 downstream tasks, including ImageNet and various out-of-distribution benchmarks.
Key Results: The Reversal Point
The most significant finding is the existence of a "reversal point." While aggressive filtering (e.g., top 10%) is superior at low compute scales, it eventually loses to more inclusive strategies as compute grows.
As shown in the scaling curves, "Bucket E only" (the highest quality subset) performs best initially but plateaus quickly. At higher compute budgets (measured in millions of total training samples seen), broader pools like "E+D+C" or even uncurated data achieve lower error rates. The high-quality data essentially "runs out of steam," making the inclusion of lower-quality, fresh data more beneficial.
Conclusion and Implications
The primary takeaway is that data curation must be dynamic. Practitioners should be aggressive with filtering for small compute budgets but increasingly inclusive as the budget grows. The proposed scaling laws provide a predictive toolkit to map the Pareto-frontier of data curation, allowing researchers to optimize their data mix for a given compute budget without the prohibitive cost of trial-and-error training.
While this study focused on fixed batch sizes and scales up to 640M samples, it sets the stage for future exploration into extreme scaling and algorithmic adjustments to better handle data repetition.
Summary updated