Adaptive Data Optimization: Dynamic Sample Selection with Scaling Laws

Yiding Jiang, Allan Zhou, Zhili Feng, Sadhika Malladi, J. Zico Kolter
10/15/2024
cs.LG

No official code found. Best implementation: yidingjiang/ado (37 stars, last commit 2024-12-09).

Abstract

The composition of pretraining data is a key determinant of foundation models' performance, but there is no standard guideline for allocating a limited computational budget across different data sources. Most current approaches either rely on extensive experiments with smaller models or dynamic data adjustments that also require proxy models, both of which significantly increase the workflow complexity and computational overhead. In this paper, we introduce Adaptive Data Optimization (ADO), an algorithm that optimizes data distributions in an online fashion, concurrent with model training. Unlike existing techniques, ADO does not require external knowledge, proxy models, or modifications to the model update. Instead, ADO uses per-domain scaling laws to estimate the learning potential of each domain during training and adjusts the data mixture accordingly, making it more scalable and easier to integrate. Experiments demonstrate that ADO can achieve comparable or better performance than prior methods while maintaining computational efficiency across different computation scales, offering a practical solution for dynamically adjusting data distribution without sacrificing flexibility or increasing costs. Beyond its practical benefits, ADO also provides a new perspective on data collection strategies via scaling laws.

View on arXivView PDF

Code Implementations(1)

yidingjiang/adoCommunity100%

The repository contains code for Adaptive Data Optimization

371Shell, PythonOct 14, 20241 years ago

Similar Papers

Cite this paper

@article{jiang2024adaptive,
  title  = {Adaptive Data Optimization: Dynamic Sample Selection with Scaling Laws},
  author = {Yiding Jiang and Allan Zhou and Zhili Feng and Sadhika Malladi and J. Zico Kolter},
  year   = {2024},
  eprint = {2410.11820},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.11820v1},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.11820.svg)](https://codeofpaper.com/paper/2410.11820)

Discussion