DataFlex: A Unified Benchmark and Evaluation Platform for Data-Centric Training of Large Language Models
Hao LiangZhengyang Zhao…Weinan E
DataFlex is presented as the first unified benchmark and evaluation platform for data-centric training of LLMs, addressing the fragmentation caused by each new selection, mixture, or reweighting method shipping as a bespoke codebase with its own interface, protocol, and evaluation setup. It provides a standardized protocol running these methods under identical seeds, data splits, hardware, and metrics; reference implementations of ten representative algorithms (six selection, three mixture, one reweighting) rebuilt on LLaMA-Factory to share model, dataloader, and distributed-training infrastructure, including DeepSpeed ZeRO-3 with full-rank gradient acquisition; and an empirical benchmark. Head-to-head results show dynamic selection consistently beating static full-data training on MMLU across Mistral-7B and Llama-3.2-3B, with larger gains on smaller models (up to 13.3 points), complementary wins for DoReMi and ODM on high- versus low-resource domains when pretraining Qwen2.5-1.5B on SlimPajama at 6B and 30B tokens, and faster implementation than the original LESS, TSDS, and MoE-SFT codebases.

OpenReview · April 30, 2026