States Hidden in Hidden States: Implicit Discrete State Representations Emerge in LLMs' Hidden States
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) exhibit emergent abilities that may reveal aspects of their internal mechanisms. We study one such capability: directly performing extended sequences of calculations without generating chain-of-thought solutions. The strongest models in our evaluation can directly output sums with up to 15 addends, where operands are sampled from 1 to 100. We hypothesize that models form Implicit Discrete State Representations (IDSRs) within their hidden states and use them for internal symbolic calculation. We test for these representations, characterize their formation from layer, digit, and sequence perspectives, and investigate their use in producing answers. We also find that these state representations are far from lossless in current open-source models, contributing to errors in final outputs. Our work offers an initial exploration of LLMs' symbolic calculation abilities and underlying mechanisms. Code and reproducibility artifacts are available at https://github.com/Junhaoo-Chen/IDSR.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 44 references that are in the map. First posted on arXiv 16 Jul 2024.
Builds on
26 of 44 references.
References · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,099
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
14 more
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2023Zephyr: Direct Distillation of LM Alignmentcited by 498
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
- 2023Linearity of Relation Decoding in Transformer Language Modelscited by 190
- 2023TheoremQA: A Theorem-driven Question Answering datasetcited by 189
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2024Do language models plan ahead for future tokens?cited by 47
- 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders
- 2026From Early Encoding to Late Suppression: Interpreting LLMs on Character Counting Tasks
- 2025CLUE: Non-parametric Verification from Experience via Hidden-State Clustering
- 2025Tokenization Constraints in LLMs: A Study of Symbolic and Arithmetic Reasoning Limits
- 2024Does Representation Matter? Exploring Intermediate Layers in Large Language Models
- 2025LLMs Lean on Priors, Not Programming Language Semantics
- 2025Implicit Reasoning in Large Language Models: A Comprehensive Survey
- 2025On the Failure of Latent State Persistence in Large Language Models