SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.20332 · ICML · 2025

Emergent Symbolic Mechanisms Support Abstract Reasoning in Large Language Models

Kaixuan Huang, Taylor Webb, Jonathan Cohen, Mengdi Wang, Yukang Yang, Declan Campbell

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
yukang123/LLMSymbMech canonical 4 of 4
FunctionStatusWhere it lives
cal_similarity Ran yukang123/LLMSymbMech/tasks/identity_rules/rsa.py
pointer only (licence: NONE) · get_code("bb921e3c42f12f1c")
compare_two_similarity_matrix Ran yukang123/LLMSymbMech/tasks/identity_rules/rsa.py
pointer only (licence: NONE) · get_code("80a59e73ae93bc92")
generate_prompts Ran yukang123/LLMSymbMech/tasks/identity_rules/cma.py
pointer only (licence: NONE) · get_code("656876ecdbda8a01")
generate_prompts Ran yukang123/LLMSymbMech/tasks/identity_rules/rsa.py
pointer only (licence: NONE) · get_code("272afe9f573bef03")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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. 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2502.20332")
get_code_for_paper("2502.20332")
have("2502.20332")

Connect an agent — have() is free.