Kaixuan Huang, Taylor Webb, Jonathan Cohen, Mengdi Wang, Yukang Yang, Declan Campbell
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.
| Repository | Role | Ran |
|---|---|---|
| yukang123/LLMSymbMech | canonical | 4 of 4 |
| Function | Status | Where 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") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
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.
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.