Data Efficacy for Language Model Training

Yalun Dai, Yangyu Huang, Xin Zhang, Wenshan Wu, Chong Li, Wenhui Lu, Shijie Cao, Li Dong, Scarlett Li · OpenReview

Abstract

Data is fundamental to the training of language models (LM). Recent research has been dedicated to data efficiency, which aims to maximize performance by selecting a minimal or optimal subset of training data. Techniques such as data filtering, sampling, and selection play a crucial role in this area. To complement it, we define Data Efficacy, which focuses on maximizing performance by optimizing the organization of training data and remains relatively underexplored. This work introduces a general paradigm, DELT, for considering data efficacy in LM training, which highlights the significance of training data organization. DELT comprises three components: Data Scoring, Data Selection, and Data Ordering. Among these components, we design Learnability-Quality Scoring (LQS), as a new instance of Data Scoring, which considers both the learnability and quality of each data sample from the gradient consistency perspective. We also devise Folding Ordering (FO), as a novel instance of Data Ordering, which addresses issues such as model forgetting and data distribution bias. Comprehensive experiments validate the data efficacy in LM training, which demonstrates the following: Firstly, various instances of the proposed DELT enhance LM performance to varying degrees without increasing the data scale and model size. Secondly, among these instances, the combination of our proposed LQS for data scoring and Folding for data ordering achieves the most significant improvement. Lastly, data efficacy can be achieved together with data efficiency by applying data selection. Therefore, we believe that data efficacy is a promising foundational area in LM training.

Introduction

In the development of Large Language Models (LLMs), significant effort has been directed toward Data Efficiency—the process of identifying and selecting the highest-quality data subsets to minimize training costs. However, once a dataset is curated, it is typically shuffled and processed in a single pass. This standard approach overlooks Data Efficacy: the potential to maximize model performance by optimizing the organization and sequencing of training data.

Conventional random shuffling treats all data points as equally useful at all stages of training. In reality, the utility of a sample is dynamic; some data is better suited for early-stage foundational learning, while other data is more effective for late-stage refinement. This paper introduces the DELT framework to address this gap.

The DELT Framework

The proposed DELT paradigm (Data Scoring, Element Learning, and Task-specific ordering) provides a structured approach to data efficacy through three primary stages.

The DELT framework consists of Data Scoring, Data Selection, and Data Ordering to optimize language model training.

1. Data Scoring: Learnability-Quality Scoring (LQS)

Rather than relying solely on static metrics like perplexity, DELT utilizes Learnability-Quality Scoring (LQS). LQS evaluates samples based on two dimensions:

  • Learnability: The degree to which a sample reduces model loss over time during a proxy training run.
  • Quality: The consistency of a sample's gradient with a "target direction," defined by the average gradient of a high-quality reference dataset (e.g., LIMA for general tasks).

2. Data Selection

This optional stage allows for the selection of the top-K scoring samples, effectively bridging the gap between data efficacy and data efficiency.

3. Data Ordering: Folding Ordering (FO)

Standard curriculum learning (easy-to-hard) often leads to "catastrophic forgetting" of simpler concepts. To mitigate this, the authors introduce Folding Ordering (FO). The sorted data is divided into multiple folds, and training samples are drawn from these folds at fixed intervals. This ensures the model encounters a mix of difficulty levels throughout the epoch while maintaining an overall structured progression.

Experimental Results

The researchers evaluated DELT across general (RedPajama), mathematical (OpenWebMath), and coding (The-Stack-v2) domains. The results demonstrate that optimizing data organization yields substantial gains in both performance and efficiency.

Comparison of DELT against conventional methods, showing a 1.65% accuracy boost and a 2x efficiency gain.

Key findings include:

  • Performance Improvement: DELT (LQS + FO) achieved an average accuracy of 38.02%, a +1.65% absolute improvement over conventional random shuffling (36.37%) without increasing dataset size.
  • Efficiency Gains: The framework achieved a 2x efficiency boost, reaching the performance of a 100% data-scale conventional model using only 50% of the data.
  • Scalability: These benefits were consistent across model sizes (160M to 1B parameters) and data scales (up to 50B tokens).

Conclusion

Data efficacy represents a promising new frontier in LM training. By shifting focus from merely selecting data to intelligently organizing it, the DELT framework demonstrates that significant performance and efficiency gains are possible without increasing computational or data resources. Future work will explore the application of these principles to multimodal training and multi-terabyte datasets.

Summary updated

BibTeX
@misc{dai2025data,
  author = {Yalun Dai and Yangyu Huang and Xin Zhang and Wenshan Wu and Chong Li and Wenhui Lu and Shijie Cao and Li Dong and Scarlett Li},
  title = {{Data Efficacy for Language Model Training}},
  year = {2025},
  eprint = {2506.21545},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.21545},
}
Figure