mlsanityData to 14 Oct 2026

GRAPE: Optimize Data Mixture for Group Robust Multi-target Adaptive Pretraining

arXiv 2505.20380 ↗First posted 26 May 2025cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

The performance of large language models (LLMs) across diverse downstream applications is fundamentally governed by the quality and composition of their pretraining corpora. Existing domain reweighting algorithms primarily optimize data mixtures for a single target task, thereby resulting in models that overfit to specialized objectives while exhibiting substantial performance degradation on other benchmarks. This paper introduces Group Robust Multi-target Adaptive PrEtraining (GRAPE), a novel multi-source-multi-target domain reweighting framework designed to calibrate pretraining data mixtures for robust performance across multiple target tasks simultaneously. GRAPE dynamically adjusts sampling weights across source domains (domain weights) while concurrently modulating task weights that quantify the relative importance of each individual target task. This adaptive process prioritizes tasks based on their learning difficulty throughout training. We formulate this interleaved reweighting mechanism as a minimax optimization problem: The inner maximization adjusts task weights leveraging group distributed-robust-optimization (DRO), where those tasks demonstrating the least improvement under the current data mixture are prioritized with higher weights; The outer minimization then optimizes domain weights to maximize loss reduction on the prioritized tasks. Experiments on ClimbLab and SlimPajama datasets demonstrate that GRAPE consistently outperforms baseline methods in terms of reasoning performance across 6 benchmarks. Furthermore, when applied to multilingual targets, GRAPE effectively identifies optimal training mixtures from mainstream languages, achieving superior language modeling capabilities across 8 low-resource target languages.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 24 of its 30 references that are in the map. First posted on arXiv 26 May 2025.

Builds on

24 of 30 references.

References · 24

  1. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  2. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  3. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  5. 2020Gradient Surgery for Multi-Task Learningcited by 1,256
  6. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,247
  7. 2017GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networkscited by 834
  8. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  9. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  10. 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 459
  11. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
  12. 2018Learning Models with Uniform Performance via Distributionally Robust Optimizationcited by 335
12 more
  1. 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
  2. 2022Multi-Task Learning as a Bargaining Gamecited by 215
  3. 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 177
  4. 2023Skill-it! A Data-Driven Skills Framework for Understanding and Training Language Modelscited by 121
  5. 2023DoGE: Domain Reweighting with Generalization Estimationcited by 90
  6. 2023Efficient Online Data Mixing For Language Model Pre-Trainingcited by 77
  7. 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 66
  8. 2020Learning to Combine: Knowledge Aggregation for Multi-Source Domain Adaptationcited by 53
  9. 2020An Online Method for A Class of Distributionally Robust Optimization with Non-Convex Objectivescited by 42
  10. 2024Task-Adaptive Pretrained Language Models via Clustered-Importance Samplingcited by 18
  11. 2024Dynamic Gradient Alignment for Online Data Mixingcited by 10
  12. 2024Task Weighting through Gradient Projection for Multitask Learningcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.