mlsanityData to 7 Oct 2026

Emergent Symbol-like Number Variables in Artificial Neural Networks

arXiv 2501.06141 ↗First posted 10 Jan 2025cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

What types of numeric representations emerge in neural systems, and what would a satisfying answer to this question look like? In this work, we interpret Neural Network (NN) solutions to sequence based number tasks using a variety of methods to understand how well we can interpret them through the lens of interpretable Symbolic Algorithms (SAs) -- precise programs describable by rules and typed, mutable variables. We use autoregressive GRUs, LSTMs, and Transformers trained on tasks where the correct tokens depend on numeric information only latent in the task structure. We show through multiple causal and theoretical methods that we can interpret raw NN activity through the lens of simplified SAs when we frame the activity in terms of neural subspaces rather than individual neurons. Using Distributed Alignment Search (DAS), we find that, depending on network architecture, dimensionality, and task specifications, alignments with SA's can be very high, or they can be only approximate, or fail altogether. We extend our analytic toolkit to address the failure cases by expanding the DAS framework to a broader class of alignment functions that more flexibly capture NN activity in terms of interpretable variables from SAs, and we provide theoretic and empirical explorations of Linear Alignment Functions (LAFs) in contrast to the preexisting Orthogonal Alignment Functions (OAFs). Through analyses of specific cases we confirm the usefulness of causal interventions on neural subspaces for NN interpretability, and we show that recurrent models can develop graded, symbol-like number variables in their neural activity. We further show that shallow Transformers learn very different solutions than recurrent networks, and we prove that such models must use anti-Markovian solutions -- solutions that do not rely on cumulative, Markovian hidden states -- in the absence of sufficient attention layers.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 33 of its 67 references that are in the map. First posted on arXiv 10 Jan 2025.

Builds on

33 of 67 references.

References · 33

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2016Layer Normalizationcited by 5,579
  7. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  8. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  9. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  10. 2022Toy Models of Superpositioncited by 928
  11. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
  12. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
21 more
  1. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  2. 2021Causal Abstractions of Neural Networkscited by 401
  3. 2018Deep Learning: A Critical Appraisalcited by 214
  4. 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 197
  5. 2024How to use and interpret activation patchingcited by 191
  6. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 183
  7. 2018A mathematical theory of semantic development in deep neural networkscited by 182
  8. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
  9. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  10. 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
  11. 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
  12. 2022Polysemanticity and Capacity in Neural Networkscited by 74
  13. 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
  14. 2018Learning to Count Objects in Natural Images for Visual Question Answeringcited by 40
  15. 2022The Neural Race Reduction: Dynamics of Abstraction in Gated Networkscited by 37
  16. 2024Opening the AI black box: program synthesis via mechanistic interpretabilitycited by 19
  17. 2017Interpretable Counting for Visual Question Answeringcited by 17
  18. 2022Beyond linear regression: mapping models in cognitive neuroscience should align with research goalscited by 10
  19. 2024The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Modelscited by 9
  20. 2024Counting in Small Transformers: The Delicate Interplay between Attention and Feed-Forward Layerscited by 5
  21. 2020A Number Sense as an Emergent Property of the Manipulating Braincited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.