Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Data Collection for Machine Learning

Rafid Mahmood, James M. Lucas|arXiv (Cornell University)|Oct 3, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper proposes an optimal data collection framework for machine learning that formulates data collection as a sequential decision problem to minimize expected future costs while meeting performance targets. Using the Learn-Optimize-Collect (LOC) framework, which applies gradient descent to dynamically determine data collection quantities across multiple sources, the method reduces failure rates by up to 2× compared to baseline estimation methods, achieving near-zero failure rates with significantly lower data collection costs.

ABSTRACT

Modern deep learning systems require huge data sets to achieve impressive performance, but there is little guidance on how much or what kind of data to collect. Over-collecting data incurs unnecessary present costs, while under-collecting may incur future costs and delay workflows. We propose a new paradigm for modeling the data collection workflow as a formal optimal data collection problem that allows designers to specify performance targets, collection costs, a time horizon, and penalties for failing to meet the targets. Additionally, this formulation generalizes to tasks requiring multiple data sources, such as labeled and unlabeled data used in semi-supervised learning. To solve our problem, we develop Learn-Optimize-Collect (LOC), which minimizes expected future collection costs. Finally, we numerically compare our framework to the conventional baseline of estimating data requirements by extrapolating from neural scaling laws. We significantly reduce the risks of failing to meet desired performance targets on several classification, segmentation, and detection tasks, while maintaining low total collection costs.

Motivation & Objective

  • To address the lack of systematic guidance in determining how much and what kind of data to collect for ML models, avoiding over- or under-collection.
  • To formalize data collection as an optimal control problem that accounts for collection costs, performance targets, time horizons, and penalties for failure.
  • To develop a scalable, gradient-based method that dynamically determines data collection quantities across multiple data sources (e.g., labeled, unlabeled, synthetic).
  • To generalize beyond single-source data collection to multi-source, multi-cost settings, including semi-supervised and long-tail learning.
  • To empirically demonstrate that the proposed method reduces the risk of failing to meet performance targets while maintaining low total data collection costs.

Proposed method

  • Formulates data collection as a sequential optimal control problem where decisions are made over multiple rounds to minimize expected total cost.
  • Introduces the Learn-Optimize-Collect (LOC) framework, which uses gradient descent to compute the optimal data quantity $ q^*_t $ to collect at each round.
  • Generalizes the framework to multi-variate data sources with different costs and performance impacts using a vectorized formulation of data collection and performance scaling.
  • Employs power law or other regression functions to model performance scaling with data size, using bootstrap samples to account for uncertainty in estimates.
  • Solves the optimization problem iteratively: after each data collection round, re-estimate performance, update uncertainty, and re-optimize the next data collection step.
  • Supports both single-source and multi-source data collection, including synthetic, unlabeled, and long-tail data, with distinct cost and performance characteristics.

Experimental results

Research questions

  • RQ1How can data collection in machine learning be formalized as an optimal decision-making problem that accounts for cost, time, and performance targets?
  • RQ2What is the impact of uncertainty in performance extrapolation on data collection decisions, and how can it be mitigated?
  • RQ3Can a gradient-based optimization framework reduce the risk of failing to meet performance targets while minimizing total data collection cost?
  • RQ4How does the proposed method compare to baseline estimation techniques like power law extrapolation in terms of failure rate and cost efficiency?
  • RQ5To what extent can the framework generalize across multiple data sources with differing costs and performance contributions?

Key findings

  • LOC reduces the average failure rate of meeting performance targets by approximately 2× compared to baseline estimation methods across classification, segmentation, and detection tasks.
  • On average, LOC achieves near-zero failure rates (down to 0%) for most tasks when using three or more collection rounds, while maintaining low cost ratios.
  • For $ T = 5 $, LOC reduces the cost ratio by up to an order of magnitude compared to the correction-factor baseline of Mahmood et al. [2], especially in segmentation and detection tasks.
  • In the CIFAR-100 classification task, LOC reduces the failure rate from 14% (baseline) to 4% at $ T = 1 $, and to 0% at $ T = 3 $ and $ T = 5 $, with only a marginal increase in cost ratio.
  • LOC outperforms the correction-factor baseline on non-classification tasks (e.g., BDD100K, nuScenes, VOC) where the baseline requires prior data for tuning, demonstrating broader applicability.
  • The method generalizes effectively to multi-source settings, including unlabeled, synthetic, and long-tail data, with distinct cost and performance scaling behaviors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.