English

Language models can learn implicit multi-hop reasoning, but only if they have lots of training data

Computation and Language 2026-02-05 v2

Abstract

Implicit reasoning is the ability of a language model to solve multi-hop reasoning tasks in a single forward pass, without chain of thought. We investigate this capability using GPT2-style language models trained from scratch on controlled kk-hop reasoning datasets (k=2,3,4k = 2, 3, 4). We show that while such models can indeed learn implicit kk-hop reasoning, the required training data grows exponentially in kk, and the required number of transformer layers grows linearly in kk. We offer a theoretical explanation for why this depth growth is necessary. We further find that the data requirement can be mitigated, but not eliminated, through curriculum learning.

Keywords

Cite

@article{arxiv.2505.17923,
  title  = {Language models can learn implicit multi-hop reasoning, but only if they have lots of training data},
  author = {Yuekun Yao and Yupei Du and Dawei Zhu and Michael Hahn and Alexander Koller},
  journal= {arXiv preprint arXiv:2505.17923},
  year   = {2026}
}

Comments

Accepted at EMNLP 2025