Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Models

Yukang Yang, Declan Campbell, Kaixuan Huang, Mengdi Wang, Jonathan D. Cohen +1 more
2/1/2025
40 citations

Official code: yukang123/LLMSymbMech (12 stars, Python, last commit 2025-11-30).

Abstract

Many recent studies have found evidence for emergent reasoning capabilities in large language models (LLMs), but debate persists concerning the robustness of these capabilities, and the extent to which they depend on structured reasoning mechanisms. To shed light on these issues, we study the internal mechanisms that support abstract reasoning in LLMs.

Show full abstract

We identify an emergent symbolic architecture that implements abstract reasoning via a series of three computations. In early layers, symbol abstraction heads convert input tokens to abstract variables based on the relations between those tokens. In intermediate layers, symbolic induction heads perform sequence induction over these abstract variables. Finally, in later layers, retrieval heads predict the next token by retrieving the value associated with the predicted abstract variable. These results point toward a resolution of the longstanding debate between symbolic and neural network approaches, suggesting that emergent reasoning in neural networks depends on the emergence of symbolic mechanisms.

View on arXivView PDF

Code Implementations(1)

[ICML 2025] The official code of the paper "Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Models"

124Python, ShellMay 24, 20251 years ago

Similar Papers

Cite this paper

@article{yang2025emergent,
  title  = {Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Models},
  author = {Yukang Yang and Declan Campbell and Kaixuan Huang and Mengdi Wang and Jonathan D. Cohen and Taylor Webb},
  year   = {2025},
  eprint = {2502.20332},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.20332},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.20332.svg)](https://codeofpaper.com/paper/2502.20332)

Discussion