mlsanityData to 7 Oct 2026

DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models

arXiv 2603.26164 ↗First posted 27 Mar 2026cs.LG cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Data-centric training has emerged as a promising direction for improving large language models (LLMs) by optimizing not only model parameters but also the selection, composition, and weighting of training data during optimization. However, existing approaches to data selection, data mixture optimization, and data reweighting are often developed in isolated codebases with inconsistent interfaces, hindering reproducibility, fair comparison, and practical integration. In this paper, we present DataFlex, a unified data-centric dynamic training framework built upon LLaMA-Factory. DataFlex supports three major paradigms of dynamic data optimization: sample selection, domain mixture adjustment, and sample reweighting, while remaining fully compatible with the original training workflow. It provides extensible trainer abstractions and modular components, enabling a drop-in replacement for standard LLM training, and unifies key model-dependent operations such as embedding extraction, inference, and gradient computation, with support for large-scale settings including DeepSpeed ZeRO-3. We conduct comprehensive experiments across multiple data-centric methods. Dynamic data selection consistently outperforms static full-data training on MMLU across both Mistral-7B and Llama-3.2-3B. For data mixture, DoReMi and ODM improve both MMLU accuracy and corpus-level perplexity over default proportions when pretraining Qwen2.5-1.5B on SlimPajama at 6B and 30B token scales. DataFlex also achieves consistent runtime improvements over original implementations. These results demonstrate that DataFlex provides an effective, efficient, and reproducible infrastructure for data-centric dynamic training of LLMs.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 43 of its 55 references that are in the map. First posted on arXiv 27 Mar 2026.

Builds on

43 of 55 references.

References · 43

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  8. 2021Program Synthesis with Large Language Modelscited by 3,509
  9. 2023Qwen Technical Reportcited by 3,273
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  11. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
31 more
  1. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  2. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,442
  3. 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
  4. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 514
  5. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
  6. 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 385
  7. 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
  8. 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
  9. 2024RegMix: Data Mixture as Regression for Language Model Pre-trainingcited by 172
  10. 2024LLaMA-MoE: Building Mixture-of-Experts from LLaMA with Continual Pre-trainingcited by 122
  11. 2023#InsTag: Instruction Tagging for Analyzing Supervised Fine-tuning of Large Language Modelscited by 108
  12. 2023MoDS: Model-oriented Data Selection for Instruction Tuningcited by 107
  13. 2023DoGE: Domain Reweighting with Generalization Estimationcited by 87
  14. 2023Efficient Online Data Mixing For Language Model Pre-Trainingcited by 77
  15. 2024A Survey of Multimodal Large Language Model from A Data-centric Perspectivecited by 73
  16. 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 46
  17. 2024Data Selection via Optimal Control for Language Modelscited by 38
  18. 2023Self-Influence Guided Data Reweighting for Language Model Pre-trainingcited by 37
  19. 2023Rethinking the Instruction Quality: LIFT is What You Needcited by 33
  20. 2024Aioli: A Unified Optimization Framework for Language Model Data Mixingcited by 33
  21. 2024TSDS: Data Selection for Task-Specific Model Finetuningcited by 28
  22. 2025DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AIcited by 22
  23. 2024Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Expertscited by 19
  24. 2026OPUS: Towards Efficient and Principled Data Selection in Large Language Model Pre-training in Every Iterationcited by 17
  25. 2024SelectLLM: Can LLMs Select Important Instructions to Annotate?cited by 16
  26. 2025Preference Curriculum: LLMs Should Always Be Pretrained on Their Preferred Datacited by 16
  27. 2025Dynamic Loss-Based Sample Reweighting for Improved Large Language Model Pretrainingcited by 16
  28. 2024Take the Bull by the Horns: Hard Sample-Reweighted Continual Training Improves LLM Generalizationcited by 12
  29. 2025Data Efficacy for Language Model Trainingcited by 8
  30. 2026Towards Next-Generation LLM Training: From the Data-Centric Perspectivecited by 3
  31. 2025Mixtera: A Data Plane for Foundation Model Trainingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.