DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models
Summary
DataFlex is a unified framework for data-centric dynamic training of LLMs that integrates sample selection, domain mixture adjustment, and sample reweighting with compatibility for standard workflows and efficient large-scale deployment, achieving consistent improvements over static training.
View Cached Full Text
Cached at: 07/28/26, 06:27 AM
Paper page - DataFlex: A Unified Framework for Data-Centric Dynamic Training of Large Language Models
Source: https://huggingface.co/papers/2603.26164 Published on Mar 27
#1 Paper of the day Authors:
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
Abstract
DataFlex is a unified framework for dynamic data-centric training of large language models that supports sample selection, domain mixture adjustment, and sample reweighting while maintaining compatibility with standard training workflows and enabling efficient large-scale deployment.
Data-centric traininghas emerged as a promising direction for improvinglarge 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 uponLLaMA-Factory. DataFlex supports three major paradigms of dynamic data optimization:sample selection,domain mixture adjustment, andsample reweighting, while remaining fully compatible with the original training workflow. It providesextensible trainer abstractionsandmodular components, enabling a drop-in replacement for standard LLM training, and unifies key model-dependent operations such asembedding extraction, inference, andgradient computation, with support for large-scale settings includingDeepSpeed ZeRO-3. We conduct comprehensive experiments across multiple data-centric methods. Dynamic data selection consistently outperforms static full-data training onMMLUacross both Mistral-7B and Llama-3.2-3B. For data mixture, DoReMi and ODM improve bothMMLUaccuracy and corpus-levelperplexityover default proportions when pretrainingQwen2.5-1.5BonSlimPajamaat 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.
View arXiv pageView PDFProject pageGitHub1.74kAdd to collection
Get this paper in your agent:
hf papers read 2603\.26164
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2603.26164 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2603.26164 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2603.26164 in a Space README.md to link it from this page.
Collections including this paper9
Similar Articles
Data Mixing for Large Language Models Pretraining: A Survey and Outlook
This paper presents a comprehensive survey of data mixing methods for LLM pretraining, formalizing the problem as bilevel optimization and introducing a taxonomy that distinguishes static (rule-based and learning-based) from dynamic (adaptive and externally guided) mixing approaches. The authors analyze trade-offs, identify cross-cutting challenges, and outline future research directions including finer-grained domain partitioning and pipeline-aware designs.
Dynamic-dLLM: Dynamic Cache-Budget and Adaptive Parallel Decoding for Training-Free Acceleration of Diffusion LLM
This paper proposes Dynamic-dLLM, a training-free framework that accelerates diffusion large language models by dynamically allocating cache-update budgets and calibrating decoding thresholds, achieving over 3x speedup on models like LLaDA and Dream while maintaining performance.
AC-ODM: Actor--Critic Online Data Mixing for Sample-Efficient LLM Pretraining
AC-ODM uses reinforcement learning to dynamically optimize pretraining data composition for LLMs, achieving faster convergence and higher downstream accuracy with negligible computational overhead.
DynaTrain: Fast Online Parallelism Switching for Elastic LLM Training
DynaTrain is a distributed training system enabling sub-second online reconfiguration of parallelism for large language models, using a Virtual Parameter Space abstraction to achieve up to three orders of magnitude faster transitions than existing methods.
DataDignity: Training Data Attribution for Large Language Models
This paper introduces DataDignity, a framework and benchmark (FakeWiki) for pinpoint provenance, aiming to identify the specific training data sources that support an LLM's response. It proposes ScoringModel and SteerFuse methods to improve attribution accuracy over standard retrieval baselines.