nanoLM: an Affordable LLM Pre-training Benchmark via Accurate Loss Prediction across Scales
Not on the map. Why?
Abstract (arXiv)
As language models scale up, it becomes increasingly expensive to verify research ideas because conclusions on small models do not trivially transfer to large ones. A possible solution is to establish a generic system that accurately predicts certain metrics for large models without training them. Existing scaling laws require hyperparameter search on the largest models, limiting their predicative capability. In this paper, we present an approach (namely μScaling) to predict the pre-training loss, based on our observations that Maximal Update Parametrization (μP) enables accurate fitting of scaling laws close to common loss basins in hyperparameter space. With μScaling, different model designs can be compared on large scales by training only their smaller counterparts. Further, we introduce nanoLM: an affordable LLM pre-training benchmark that facilitates this new research paradigm. With around 14% of the one-time pre-training cost, we can accurately forecast the loss for models up to 52B. Our goal with nanoLM is to empower researchers with limited resources to reach meaningful conclusions on large models. We also aspire for our benchmark to serve as a bridge between the academic community and the industry. Code for μScaling is available at https://github.com/cofe-ai/Mu-scaling. Code for nanoLLM will be available later.
Key facts. Cited by 6 papers in the map (data through 13 Oct 2026). Builds on 22 of its 38 references that are in the map. First posted on arXiv 14 Apr 2023.
Builds on
22 of 38 references.
References · 22
- 2017Attention Is All You Needcited by 60,106
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2023GPT-4 Technical Reportcited by 18,278
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
- 2020Measuring Massive Multitask Language Understandingcited by 7,876
- 2020Scaling Laws for Neural Language Modelscited by 6,494
- 2022Training Compute-Optimal Large Language Modelscited by 2,972
- 2022Emergent Abilities of Large Language Modelscited by 2,499
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,379
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,985
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,851
10 more
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,369
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 626
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 569
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2020Scaling Laws for Autoregressive Generative Modelingcited by 514
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 278
- 2019A Constructive Prediction of the Generalization Error Across Scalescited by 205
- 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
- 2020Hyperparameter Transfer Across Developer Adjustmentscited by 11
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 2.
6 papers.
- 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
- 2023FLM-101B: An Open LLM and How to Train It with 100K Budgetcited by 22
- 2024Tele-FLM Technical Reportcited by 12
- 202452B to 1T: Lessons Learned via Tele-FLM Seriescited by 11
- 2025Static Sandboxes Are Inadequate: Modeling Societal Complexity Requires Open-Ended Co-Evolution in LLM-Based Multi-Agent Simulationscited by 2
- 2025Capability Localization: Capabilities Can be Localized rather than Individual Knowledgecited by 1
- 2025Static Sandboxes Are Inadequate: Modeling Societal Complexity Requires Open-Ended Co-Evolution in LLM-Based Multi-Agent Simulations15 Oct 2025
- 2025Capability Localization: Capabilities Can be Localized rather than Individual Knowledge28 Feb 2025
- 2024Scaling Laws for Predicting Downstream Performance in LLMs11 Oct 2024
- 202452B to 1T: Lessons Learned via Tele-FLM Series3 Jul 2024
- 2024Tele-FLM Technical Report25 Apr 2024
- 2023FLM-101B: An Open LLM and How to Train It with 100K Budget7 Sep 2023