paper-with-me

홈 › Papers

DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretraining

2023-05-17 · NeurIPS 2023 11 · Sang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du, Hanxiao Liu, Yifeng Lu, Percy Liang, Quoc V. Le, Tengyu Ma, Adams Wei Yu

The mixture proportions of pretraining data domains (e.g., Wikipedia, books, web text) greatly affect language model (LM) performance. In this paper, we propose Domain Reweighting with Minimax Optimization (DoReMi), which first trains a small proxy model using group distributionally robust optimization (Group DRO) over domains to produce domain weights (mixture proportions) without knowledge of downstream tasks. We then resample a dataset with these domain weights and train a larger, full-sized model. In our experiments, we use DoReMi on a 280M-parameter proxy model to set the domain weights for training an 8B-parameter model (30x larger) more efficiently. On The Pile, DoReMi improves perplexity across all domains, even when it downweights a domain. DoReMi improves average few-shot downstream accuracy by 6.5% points over a baseline model trained using The Pile's default domain weights and reaches the baseline accuracy with 2.6x fewer training steps. On the GLaM dataset, DoReMi, which has no knowledge of downstream tasks, even matches the performance of using domain weights tuned on downstream tasks.

📄 PDF Abstract BibTeX arXiv:2305.10429

Code (2)

sangmichaelxie/doremi 공식 구현 pytorch
princeton-nlp/llm-shearing pytorch

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

DOREMI: Optimizing Long Tail Predictions in Document-Level Relation Extraction

2026-01-16 · Laura Menotti, Stefano Marchesin, Gianmaria Silvello arxiv

Document-Level Relation Extraction (DocRE) presents significant challenges due to its reliance on cross-sentence context and the long-tail distribution of relation types, where many relations have scarce training example…

Document-level Relation Extraction

HAR-DoReMi: Optimizing Data Mixture for Self-Supervised Human Activity Recognition Across Heterogeneous IMU Datasets

2025-03-16 · Lulu Ban, Tao Zhu, Xiangqing Lu, Qi Qiu 외

Cross-dataset Human Activity Recognition (HAR) suffers from limited model generalization, hindering its practical deployment. To address this critical challenge, inspired by the success of DoReMi in Large Language Models…

Activity RecognitionHuman Activity Recognition

RegMix: Data Mixture as Regression for Language Model Pre-training

2024-07-01 · Qian Liu, Xiaosen Zheng, Niklas Muennighoff, Guangtao Zeng 외

The data mixture for large language model pre-training significantly impacts performance, yet how to determine an effective mixture remains unclear. We propose RegMix to automatically identify a high-performing data mixt…

Common Sense ReasoningLanguage ModelingLanguage ModellingLarge Language Model+1

DoReMi: Grounding Language Model by Detecting and Recovering from Plan-Execution Misalignment

2023-07-01 · Yanjiang Guo, Yen-Jen Wang, Lihan Zha, Jianyu Chen

Large language models (LLMs) encode a vast amount of semantic knowledge and possess remarkable understanding and reasoning capabilities. Previous work has explored how to ground LLMs in robotic tasks to generate feasible…

Language ModelingLanguage ModellingQuestion AnsweringVisual Question Answering (VQA)

RegMix-D: Dynamic Data Mixing via Proxy Training Trajectories

2026-06-17 · Kaiyan Zhao, Zhongtao Miao, Akiko Aizawa, Yoshimasa Tsuruoka arxiv

Data mixture selection is critical for Large Language Model pretraining. Existing methods such as RegMix select a single static mixture by fitting a regression model on small-scale proxy runs. We propose RegMix-D, a simp…