Towards Optimal Learning of Language Models
Not on the map. Why?
Abstract (arXiv)
This work studies the general principles of improving the learning of language models (LMs), which aims at reducing the necessary training steps for achieving superior performance. Specifically, we present a theory for the optimal learning of LMs. We first propose an objective that optimizes LM learning by maximizing the data compression ratio in an "LM-training-as-lossless-compression" view. Then, we derive a theorem, named Learning Law, to reveal the properties of the dynamics in the optimal learning process under our objective. The theorem is then validated by experiments on a linear classification and a real-world language modeling task. Finally, we empirically verify that the optimal learning of LMs essentially stems from the improvement of the coefficients in the scaling law of LMs, indicating great promise and significance for designing practical learning acceleration methods. Our code can be found at https://aka.ms/LearningLaw.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 43 of its 61 references that are in the map. First posted on arXiv 27 Feb 2024.
Builds on
43 of 61 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2022Emergent Abilities of Large Language Modelscited by 2,512
31 more
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
- 2023PaLM 2 Technical Reportcited by 1,162
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 580
- 2019Neural Text Generation with Unlikelihood Trainingcited by 503
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
- 2023Data Selection for Language Models via Importance Resamplingcited by 329
- 2021Pre-Trained Models: Past, Present and Futurecited by 319
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 303
- 2018An Empirical Model of Large-Batch Trainingcited by 281
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
- 2022Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learntcited by 236
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2023Language Modeling Is Compressioncited by 225
- 2023Efficient Large Language Models: A Surveycited by 186
- 2021On the Origin of Implicit Regularization in Stochastic Gradient Descentcited by 184
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 150
- 2023Skill-it! A Data-Driven Skills Framework for Understanding and Training Language Modelscited by 121
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
- 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
- 2023Efficient Online Data Mixing For Language Model Pre-Trainingcited by 77
- 2023LLMZip: Lossless Text Compression using Large Language Modelscited by 44
- 2021Continuous vs. Discrete Optimization of Deep Neural Networkscited by 34
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2021Characterizing and addressing the issue of oversmoothing in neural autoregressive sequence modelingcited by 10
- 2023h2oGPT: Democratizing Large Language Modelscited by 5
Built on by
Citing papers per year: 2024: 6; 2025: 0; 2026: 1.
7 papers.
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performancecited by 184
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Lawscited by 47
- 2024Data Selection via Optimal Control for Language Modelscited by 38
- 2024MiniPLM: Knowledge Distillation for Pre-Training Language Modelscited by 29
- 2024Preserving Knowledge in Large Language Model with Model-Agnostic Self-Decompressioncited by 1
- 2024How much do contextualized representations encode long-range context?cited by 0
- 2026Epiplexity Guided Data Selection and Generation for Out-of-Distribution Generalizationcited by 0
- 2026Epiplexity Guided Data Selection and Generation for Out-of-Distribution Generalization12 Aug 2026
- 2024MiniPLM: Knowledge Distillation for Pre-Training Language Models22 Oct 2024
- 2024How much do contextualized representations encode long-range context?16 Oct 2024
- 2024Adaptive Data Optimization: Dynamic Sample Selection with Scaling Laws15 Oct 2024
- 2024Data Selection via Optimal Control for Language Models9 Oct 2024
- 2024Preserving Knowledge in Large Language Model with Model-Agnostic Self-Decompression17 Jun 2024
- 2024Data Mixing Laws: Optimizing Data Mixtures by Predicting Language Modeling Performance25 Mar 2024