paper-with-me

Papers

Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performance

2024-03-25 · Jiasheng Ye, Peiju Liu, Tianxiang Sun, Yunhua Zhou, Jun Zhan, Xipeng Qiu

Pretraining data of large language models composes multiple domains (e.g., web texts, academic papers, codes), whose mixture proportions crucially impact the competence of outcome models. While existing endeavors rely on heuristics or qualitative strategies to tune the proportions, we discover the quantitative predictability of model performance regarding the mixture proportions in function forms, which we refer to as the data mixing laws. Fitting such functions on sample mixtures unveils model performance on unseen mixtures before actual runs, thus guiding the selection of an ideal data mixture. Furthermore, we propose nested use of the scaling laws of training steps, model sizes, and our data mixing law to enable predicting the performance of large models trained on massive data under various mixtures with only small-scale training. Moreover, experimental results verify that our method effectively optimizes the training mixture of a 1B model trained for 100B tokens in RedPajama, reaching a performance comparable to the one trained for 48% more steps on the default mixture. Extending the application of data mixing laws to continual training accurately predicts the critical mixture proportion that avoids catastrophic forgetting and outlooks the potential for dynamic data schedules

📄 PDF Abstract BibTeX arXiv:2403.16952

Code (1)

yegcjs/mixinglaws 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Explaining Data Mixing Scaling Laws

2026-06-06 · Rui Dai, Shuran Zheng arxiv

Recent research has established empirical scaling laws to predict model performance on multi-domain data mixtures. However, a theoretical understanding of these model loss behaviors remains absent. In this work, we propo…

Data Mixing Optimization for Supervised Fine-Tuning of Large Language Models

2025-08-16 · Yuan Li, Zhengzhong Liu, Eric Xing arxiv

Optimizing data mixtures for supervised fine-tuning (SFT) of large language models (LLMs) is critical for developing general-purpose models, yet this area remains underexplored. In this paper, we frame data mixing as an …

MixMin: Finding Data Mixtures via Convex Minimization

2025-02-14 · Anvith Thudi, Evianne Rovers, Yangjun Ruan, Tristan Thrush 외

Modern machine learning pipelines are increasingly combining and mixing data from diverse and disparate sources, e.g., pre-training large language models. Yet, finding the optimal data mixture is a challenging and open p…

ARCLanguage ModelingLanguage Modelling

MergeMix: Optimizing Mid-Training Data Mixtures via Learnable Model Merging

2026-01-25 · Jiapeng Wang, Changxin Tian, Kunlong Chen, Ziqi Liu 외 arxiv

Optimizing data mixtures is essential for unlocking the full potential of large language models (LLMs), yet identifying the optimal composition remains computationally prohibitive due to reliance on heuristic trials or e…

Self-Remixing: Unsupervised Speech Separation via Separation and Remixing

2022-11-18 · Kohei Saijo, Tetsuji Ogawa

We present Self-Remixing, a novel self-supervised speech separation method, which refines a pre-trained separation model in an unsupervised manner. The proposed method consists of a shuffler module and a solver module, a…

Domain AdaptationSemi-supervised Domain AdaptationSpeech Separation