Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

D$^3$: Dynamic Directional Graph-Constrained Data Scheduling for LLM Training

About

Training data plays a central role in large language models (LLMs) optimization, motivating extensive research on data scheduling strategies. Most existing approaches concentrate on adjusting the overall data distribution but neglect the underlying interactions between samples during training. However, we argue that such interactions cannot be overlooked, as real-world data samples frequently exhibit directional influences on each other, making the training order crucial. Intuitively, we can prioritize train-units with greater influence to improves learning efficiency. In this work, we propose $D^3$, a Dynamic Directional graph-constrained Data scheduling framework. $D^3$ formulates the complex interactions among train-units as a dynamic influence graph, where edges represent loss-based dependencies. It then solves a constrained optimization problem over this graph to derive the training order, which ensures that the data sequence respects the evolving information flow throughout training. Our approach is theoretically motivated and yields consistent improvements over existing data scheduling methods across both pre-training and post-training phases. Furthermore, for scalability, $D^3$ also employs an efficient approximation algorithm that keeps the additional computational overhead within a manageable range. For future research, the code is available at https://github.com/xuyj233/D3.

Yuanjian Xu, Jianing Hao, Guang Zhang, Zhong Li• 2026

Related benchmarks

TaskDatasetResultRank
Language ModelingThe Pile
Perplexity2.53
129
Language ModelingSlimPajama
Perplexity (PPL)2.97
77
Mathematical ReasoningGSM8K and MATH
GSM8K Score66.3
38
CodingHumanEval, MBPP
HumanEval Score50.2
35
Commonsense ReasoningCommonsense Reasoning Suite (HellaSwag, PIQA, OBQA, COPA, WinoGrande)
HellaSwag Accuracy32.8
7
Few-shot Commonsense ReasoningCommonsense Reasoning Suite (HellaSwag, PIQA, OBQA, COPA, WinoGrande)
HellaSwag Accuracy27.3
7
Showing 6 of 6 rows

Other info

Follow for update