Sequential Enumeration in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Reliably counting and generating sequences of items remain a significant challenge for neural networks, including Large Language Models (LLMs). Indeed, although this capability is readily handled by rule-based symbolic systems based on serial computation, learning to systematically deploy counting procedures is difficult for neural models, which should acquire these skills through learning. Previous research has demonstrated that recurrent architectures can only approximately track and enumerate sequences of events, and it remains unclear whether modern deep learning systems, including LLMs, can deploy systematic counting procedures over sequences of discrete symbols. This paper aims to fill this gap by investigating the sequential enumeration abilities of five state-of-the-art LLMs, including proprietary, open-source, and reasoning models. We probe LLMs in sequential naming and production tasks involving lists of letters and words, adopting a variety of prompting instructions to explore the role of chain-of-thought in the spontaneous emerging of counting strategies. We also evaluate open-source models with the same architecture but increasing size to see whether the mastering of counting principles follows scaling laws, and we analyze the embedding dynamics during sequential enumeration to investigate the emergent encoding of numerosity. We find that some LLMs are indeed capable of deploying counting procedures when explicitly prompted to do so, but none of them spontaneously engage in counting when simply asked to enumerate the number of items in a sequence. Our results suggest that, despite their impressive emergent abilities, LLMs cannot yet robustly and systematically deploy counting procedures, highlighting a persistent gap between neural and symbolic approaches to compositional generalization.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 25 of its 56 references that are in the map. First posted on arXiv 4 Dec 2025.
Builds on
25 of 56 references.
References · 25
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2020Generative Language Modeling for Automated Theorem Provingcited by 379
- 2023Mathematical Capabilities of ChatGPTcited by 263
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2024Understanding the Limits of Vision Language Models Through the Lens of the Binding Problemcited by 71
13 more
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
- 2024Why Do Large Language Models (LLMs) Struggle to Count Letters?cited by 37
- 2024Counting Ability of Large Language Models and Impact of Tokenizationcited by 29
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024When Can Transformers Count to n?cited by 22
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2024The Unreasonable Effectiveness of Eccentric Automatic Promptscited by 12
- 2024Evaluating Numerical Reasoning in Text-to-Image Modelscited by 12
- 2023Counting and Algorithmic Generalization with Transformerscited by 11
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategiescited by 9
- 2024Visual Enumeration Remains Challenging for Multimodal Generative AIcited by 5
- 2021Modelling the development of counting with memory-augmented neural networkscited by 4
- 2024Zero-shot counting with a dual-stream neural network modelcited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Mechanistic Interpretability of Large-Scale Counting in LLMs through a System-2 Strategy
- 2026From Early Encoding to Late Suppression: Interpreting LLMs on Character Counting Tasks
- 2025Understanding Counting Mechanisms in Large Language and Vision-Language Models
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarks
- 2026Where Induction Runs Out: Description-Length Difficulty and the Memorisation Gap in Integer-Sequence Benchmarks
- 2024LLM The Genius Paradox: A Linguistic and Math Expert's Struggle with Simple Word-based Counting Problems
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
- 2025Code-driven Number Sequence Calculation: Enhancing the inductive Reasoning Abilities of Large Language Models