English

Do Larger Language Models Generalize Better? A Scaling Law for Implicit Reasoning at Pretraining Time

Artificial Intelligence 2025-09-30 v3 Computation and Language

Abstract

Reasoning is an integral part of many tasks performed by language models (LMs). However, the effects of scaling model sizes and data on reasoning abilities at pretraining time remain understudied. To rigorously investigate this problem, we pretrain LMs from scratch on a synthetic implicit multihop reasoning environment designed to closely replicate the structure and distribution of real-world large-scale knowledge graphs. We then assess the LMs' ability to complete the missing edges in the graph, which requires multi-hop reasoning that can be viewed as a simplification of implicit reasoning during real-world pretraining. Interestingly, we observe that overparameterization can impair the implicit reasoning performance due to excessive memorization. We investigate different factors that affect the loss curve when scaling different components of the knowledge graph, model size, and training steps. To predict the optimal model size for a specific knowledge graph, we find an empirical scaling law that shows optimal-sized LMs can approximately reason over 0.008 bit information per parameter. This work shows counterintuitive effects of model size scaling and provides new insights into the relationship between scaling and reasoning in LLMs.

Keywords

Cite

@article{arxiv.2504.03635,
  title  = {Do Larger Language Models Generalize Better? A Scaling Law for Implicit Reasoning at Pretraining Time},
  author = {Xinyi Wang and Shawn Tan and Shenbo Xu and Mingyu Jin and William Yang Wang and Rameswar Panda and Yikang Shen},
  journal= {arXiv preprint arXiv:2504.03635},
  year   = {2025}
}

Comments

Add more real-world knowledge graph experiments

R2 v1 2026-06-28T22:47:11.086Z