Mechanisms of Symbol Processing for In-Context Learning in Transformer Networks
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated impressive abilities in symbol processing through in-context learning (ICL). This success flies in the face of decades of critiques asserting that artificial neural networks cannot master abstract symbol manipulation. We seek to understand the mechanisms that can enable robust symbol processing in transformer networks, illuminating both the unanticipated success, and the significant limitations, of transformers in symbol processing. Borrowing insights from symbolic AI and cognitive science on the power of Production System architectures, we develop a high-level Production System Language, PSL, that allows us to write symbolic programs to do complex, abstract symbol processing, and create compilers that precisely implement PSL programs in transformer networks which are, by construction, 100% mechanistically interpretable. The work is driven by study of a purely abstract (semantics-free) symbolic task that we develop, Templatic Generation (TGT). Although developed through study of TGT, PSL is, we demonstrate, highly general: it is Turing Universal. The new type of transformer architecture that we compile from PSL programs suggests a number of paths for enhancing transformers' capabilities at symbol processing. We note, however, that the work we report addresses computability, and not learnability, by transformer networks. Note: The first section provides an extended synopsis of the entire paper.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 23 Oct 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 4; 2026: 2.
6 papers.
- 2025Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoningcited by 5
- 2025TRA: Better Length Generalisation with Threshold Relative Attentioncited by 1
- 2025Tracr-Injection: Distilling Algorithms into Pre-trained Language Modelscited by 0
- 2025Kronecker Factorization Improves Efficiency and Interpretability of Sparse Autoencoderscited by 0
- 2026A PyTorch Library of Turing-Complete Neural Networkscited by 0
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognitioncited by 0
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognition28 Jul 2026
- 2026A PyTorch Library of Turing-Complete Neural Networks3 May 2026
- 2025Unlocking Out-of-Distribution Generalization in Transformers via Recursive Latent Space Reasoning15 Oct 2025
- 2025Kronecker Factorization Improves Efficiency and Interpretability of Sparse Autoencoders28 May 2025
- 2025Tracr-Injection: Distilling Algorithms into Pre-trained Language Models15 May 2025
- 2025TRA: Better Length Generalisation with Threshold Relative Attention29 Mar 2025