Data Budgeting for Machine Learning

Xinyi Zhao, Weixin Liang, James ZouarXiv 2022 · DOI

Abstract

Predicting the eventual performance and data requirements of a machine learning model is a critical yet often overlooked aspect of project planning. This paper introduces a systematic, learning-based approach to "data budgeting"—forecasting how much data is needed and the maximum achievable performance before committing to large-scale data collection. By training meta-models on a benchmark of 383 tabular datasets, the authors demonstrate that a pilot study of as few as 50 to 100 data points can provide accurate estimates of a project's potential, significantly outperforming traditional empirical scaling laws.

Introduction

In industrial machine learning, data acquisition and labeling are frequently the most significant costs. Currently, practitioners often treat these investments as a "leap of faith," relying on intuition to decide when to stop collecting data or whether a specific task is even feasible. While theoretical frameworks like VC dimension or empirical "Scaling Laws" (e.g., PowerLaw) exist, they are often too abstract or require substantial initial data to be useful for the small-to-medium tabular datasets common in many domains.

The authors formalize data budgeting into two practical objectives:

  1. Final Performance Prediction: Estimating the maximum performance (saturation point) achievable with "infinite" data.
  2. Needed Amount of Data Prediction: Determining the minimum number of samples required to reach 99% of that maximum performance.
Overview of the data budgeting framework, illustrating the transition from pilot data to performance forecasting.

Methodology

The core innovation is a learning-based method that treats data budgeting as a meta-learning problem. Instead of fitting a curve to a single dataset, the approach learns the relationship between early-stage performance and final outcomes across a wide variety of datasets.

The Pilot Study and Multiple Splitting

The process begins with a small "pilot" dataset (e.g., 50–200 points). To extract a robust signal from such a limited sample, the authors employ a technique called "Multiple Splitting." This involves repeatedly sampling $x$ points for training and using the remainder of the pilot for testing. By averaging results over up to 1,000 repetitions, they generate a smooth and reliable "mini" learning curve that serves as the input for meta-modeling.

Impact of multiple splitting on the stability of learning curves derived from small pilot datasets.

Meta-Modeling and Benchmarking

The authors use Linear Regression (LR) or Random Forest (RF) to map these mini-curves to final performance and data needs. To evaluate the method, they curated a benchmark of 383 tabular datasets from OpenML and Kaggle, covering diverse domains like finance and geosciences. Ground truth for "final performance" was established using state-of-the-art AutoML tools (AutoGluon and Auto-sklearn) on standardized datasets of 3,000 training points.

Key Insights and Results

The learning-based approach significantly outperformed the PowerLaw baseline across all pilot sizes. With a pilot of 100 points, the meta-model achieved an $R^2$ of 0.63 for final performance prediction, compared to 0.55 for PowerLaw. For data volume prediction, the model correctly identified the required "bin" of data (e.g., 100-200 vs 400-800 points) with 45.9% accuracy, more than doubling the PowerLaw baseline of 17.7%.

Key findings include:

  • Learning beats Curve-Fitting: By "seeing" how hundreds of other datasets behave, the model makes better predictions with sparse data.
  • Predictive Regions: The "center-right" of the pilot curve (where train/test splits are balanced) is most informative for final performance, while the very beginning of the curve best predicts total data volume requirements.
  • Model Specialization: Linear models generalized better for performance prediction, while Random Forests were superior at handling the non-linear requirements of data volume prediction.

Conclusion and Future Work

This work demonstrates that even a tiny pilot study can provide a meaningful signal for ML feasibility. However, limitations remain, particularly regarding imbalanced datasets and potential distribution shifts between the pilot and the full population. Future research will focus on extending these techniques to unstructured data (images, text) and integrating active learning to further optimize the pilot study phase.

Summary updated

BibTeX
@misc{zhao2022data,
  author = {Xinyi Zhao and Weixin Liang and James Zou},
  title = {{Data Budgeting for Machine Learning}},
  year = {2022},
  eprint = {2210.00987},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.00987},
}
Figure