How Much More Data Do I Need? Estimating Requirements for Downstream Tasks

Rafid Mahmood, James Lucas, David Acuna, Daiqing Li, Jonah Philion, Jose M. Alvarez, Zhiding Yu, Sanja Fidler, Marc T. Law

TL;DR

While neural scaling laws can predict a model's performance based on dataset size, this paper reveals that solving the inverse problem—estimating how much more data you need to hit a specific performance target—is incredibly unforgiving. By evaluating a family of regression functions, the authors introduce a multi-round data collection framework equipped with a tuned "correction factor" that allows practitioners to reliably hit performance targets without breaking the bank.

What Problem Does This Paper Address?

In domains like autonomous driving or medical imaging, collecting and annotating data is exceptionally expensive and time-consuming. Machine learning engineers often need to know: Given our current small dataset, how much more data must we collect to reach our target validation performance?

Underestimating means missing the target and delaying deployment; overestimating wastes massive amounts of budget. Prior work heavily relies on "neural scaling laws" (typically using a Power Law function) to extrapolate performance curves. However, the authors point out a critical gap: a tiny error in predicting accuracy (e.g., 1–6%) can lead to a massive mis-estimation of the required data size (off by hundreds of thousands of images). This paper systematically tackles how to accurately estimate data requirements for diverse computer vision tasks.

Extrapolating accuracy on ImageNet shows how small performance errors lead to massive data estimation errors.

Methods

The authors formalize the data estimation problem into an iterative pipeline:

  1. Iterative Data Collection Loop: Instead of a single massive data collection phase, they propose collecting data over multiple rounds ($T$), refitting the regression curve at each step to dynamically adjust the budget.
  2. Alternative Regression Functions: Beyond the standard Power Law, they evaluate three other concave, monotonically increasing functions from learning curve literature: Arctan, Logarithmic, and Algebraic Root.
  3. Target Correction Factor ($\tau$): Because most regression models are inherently "optimistic" (they underestimate how much data is needed), the authors introduce a buffer, $\tau$. Instead of predicting the data needed for target performance $V^*$, they train the regression model to target a slightly higher, corrected performance $V^* + \tau$.
Figure 2. The iterative data collection loop.

Datasets

The framework was rigorously evaluated across a wide variety of computer vision tasks and datasets:

  • Image Classification: CIFAR10, CIFAR100, and ImageNet.
  • 2D & 3D Object Detection: PASCAL VOC and nuScenes.
  • Semantic & Bird's-Eye-View (BEV) Segmentation: BDD100K and nuScenes.

Key Insights and Ideas

  • Good Fit $\neq$ Good Estimator: A function can have an incredibly low curve-fitting error (RMSE) but fail spectacularly at estimating data requirements. For instance, the Arctan function fits classification curves tightly but is highly "pessimistic," overestimating data needs by millions of images.
  • Optimistic vs. Pessimistic Bounding: Functions consistently behave in predictable ways. Power Law, Logarithmic, and Algebraic Root are almost always optimistic (underestimating data), while Arctan is pessimistic. Running them as an ensemble provides reliable empirical upper and lower bounds on your true data needs.
  • Transferability of $\tau$: Remarkably, the correction factor $\tau$ can be tuned on a cheap, small-scale dataset (like CIFAR10) and successfully applied to massive, complex downstream tasks (like ImageNet classification or nuScenes 3D object detection) to prevent underestimation.

Key Results

  • Single-Round Failures: Trying to estimate and collect all required data in a single round ($T=1$) using 10% initial data causes optimistic functions to collect less than 60% of the data actually required to hit high performance targets.
  • The Multi-Round + Correction Fix: When utilizing 5 rounds of data collection combined with the CIFAR10-tuned correction factor, the Power Law, Logarithmic, and Algebraic Root functions consistently hit the target performance across almost all datasets while only over-collecting by a modest factor of 1.03× to 2.5× the absolute theoretical minimum.
Simulation results showing data collection ratios across different targets when using a correction factor over 5 rounds.

Limitations and Future Work

  • Simulation Constraints: To make the massive sweep of experiments computationally feasible, the authors simulated the data collection loop using pre-constructed ground-truth performance curves rather than fully retraining deep networks at every single iterative step.
  • Static Assumptions: The framework assumes that the model architecture and data sampling strategy (random sampling) remain constant across rounds. In real-world workflows, engineers might swap architectures or use active learning as more data arrives.

The authors suggest that integrating dynamic model scaling and class-specific metrics into this data-estimation framework are promising directions for future research.

Summary updated

BibTeX
@misc{mahmood2022how,
  author = {Rafid Mahmood and James Lucas and David Acuna and Daiqing Li and Jonah Philion and Jose M. Alvarez and Zhiding Yu and Sanja Fidler and Marc T. Law},
  title = {{How Much More Data Do I Need? Estimating Requirements for Downstream Tasks}},
  year = {2022},
  eprint = {2207.01725},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.01725},
}
Figure