mlsanityData to 13 Oct 2026

nanoLM: an Affordable LLM Pre-training Benchmark via Accurate Loss Prediction across Scales

arXiv 2304.06875 ↗First posted 14 Apr 2023cs.CL cs.LGcited by 6

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

  1. 2017Attention Is All You Needcited by 60,106
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2023GPT-4 Technical Reportcited by 18,278
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,876
  7. 2020Scaling Laws for Neural Language Modelscited by 6,494
  8. 2022Training Compute-Optimal Large Language Modelscited by 2,972
  9. 2022Emergent Abilities of Large Language Modelscited by 2,499
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,379
  11. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,985
  12. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,851
10 more
  1. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,369
  2. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 626
  3. 2017Deep Learning Scaling is Predictable, Empiricallycited by 569
  4. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
  5. 2020Scaling Laws for Autoregressive Generative Modelingcited by 514
  6. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 278
  7. 2019A Constructive Prediction of the Generalization Error Across Scalescited by 205
  8. 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 150
  9. 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
  10. 2020Hyperparameter Transfer Across Developer Adjustmentscited by 11

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 2.

6 papers.