Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs
Not on the map. Why?
Abstract (arXiv)
Tokenization, the division of input text into input tokens, is an often overlooked aspect of the large language model (LLM) pipeline and could be the source of useful or harmful inductive biases. Historically, LLMs have relied on byte pair encoding, without care to specific input domains. With the increased use of LLMs for reasoning, various number-specific tokenization schemes have been adopted, with popular models like LLaMa and PaLM opting for single-digit tokenization while GPT-3.5 and GPT-4 have separate tokens for each 1-, 2-, and 3-digit numbers. In this work, we study the effect this choice has on numerical reasoning through the use of arithmetic tasks. We consider left-to-right and right-to-left tokenization for GPT-3.5 and -4, finding that right-to-left tokenization (enforced by comma separating numbers at inference time) leads to largely improved performance. Furthermore, we find that model errors when using standard left-to-right tokenization follow stereotyped error patterns, suggesting that model computations are systematic rather than approximate. We show that the model is able to convert between tokenizations easily, thus allowing chain-of-thought-inspired approaches to recover performance on left-to-right tokenized inputs. We also find the gap between tokenization directions decreases when models are scaled, possibly indicating that larger models are better able to override this tokenization-dependent inductive bias. In summary, our work performs the first study of how number tokenization choices lead to differences in model performance on arithmetic tasks, accompanied by a thorough analysis of error patterns. We hope this work inspires practitioners to more carefully ablate number tokenization-related choices when working towards general models of numerical reasoning.
Key facts. Cited by 113 papers in the map (data through 13 Oct 2026). Builds on 29 of its 40 references that are in the map. First posted on arXiv 22 Feb 2024.
Builds on
29 of 40 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,072
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,979
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,376
- 2021Training Verifiers to Solve Math Word Problemscited by 9,916
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,270
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,348
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,379
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,369
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 878
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 689
17 more
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 637
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 564
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 333
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 256
- 2022Exploring Length Generalization in Large Language Modelscited by 205
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2020Byte Pair Encoding is Suboptimal for Language Model Pretrainingcited by 191
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 166
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 138
- 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
- 2023Teaching Arithmetic to Small Transformerscited by 122
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2022Character-Aware Models Improve Visual Text Renderingcited by 90
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 89
- 2023xVal: A Continuous Numerical Tokenization for Scientific Language Modelscited by 26
- 2022Tokenization Consistency Matters for Generative Models on Extractive NLP Taskscited by 7
Built on by
Citing papers per year: 2024: 34; 2025: 40; 2026: 39.
113 papers.
Sort:
By area:
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarkscited by 112
- 2025Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2cited by 95
- 2025SuperBPE: Space Travel for Language Modelscited by 61
- 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 42
- 2024Large Language Models as Markov Chainscited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
- 2025Boundless Byte Pair Encoding: Breaking the Pre-tokenization Barriercited by 32
- 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoningcited by 31
- 2024BPE Gets Picky: Efficient Vocabulary Refinement During Tokenizer Trainingcited by 31
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMscited by 30
- 2024VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbationcited by 29
38 more
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 27
- 2024Enhancing Foundation Models for Time Series Forecasting via Wavelet-based Tokenizationcited by 26
- 2024Advancing Social Intelligence in AI Agents: Technical Challenges and Open Questionscited by 22
- 2024Where is the signal in tokenization space?cited by 21
- 2024Understanding and Mitigating Tokenization Bias in Language Modelscited by 18
- 2024IoT-LLM: a framework for enhancing Large Language Model reasoning from real-world sensor datacited by 18
- 2024VersiCode: Towards Version-controllable Code Generationcited by 17
- 2025Product of Experts with LLMs: Boosting Performance on ARC Is a Matter of Perspectivecited by 17
- 2025Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizationscited by 17
- 2024Perceptions of Linguistic Uncertainty by Language Models and Humanscited by 15
- 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Modelscited by 14
- 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 13
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2024Evaluating Numerical Reasoning in Text-to-Image Modelscited by 12
- 2024Regress, Don't Guess -- A Regression-like Loss on Number Tokens for Language Modelscited by 12
- 2025BPE Stays on SCRIPT: Structured Encoding for Robust Multilingual Pretokenizationcited by 12
- 2024Less can be more for predicting properties with large language modelscited by 11
- 2025Adversarial Tokenizationcited by 11
- 2024Grounding Partially-Defined Events in Multimodal Datacited by 10
- 2024Tokenisation is NP-Completecited by 10
- 2026Arcee Trinity Large Technical Reportcited by 10
- 2024Amuro and Char: Analyzing the Relationship between Pre-Training and Fine-Tuning of Large Language Modelscited by 9
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2024Evaluating Subword Tokenization: Alien Subword Composition and OOV Generalization Challengecited by 8
- 2025FLEXITOKENS: Flexible Tokenization for Evolving Language Modelscited by 8
- 2026The Illusion of Stochasticity in LLMscited by 8
- 2024Large Language Models as In-context AI Generators for Quality-Diversitycited by 7
- 2024Improbable Bigrams Expose Vulnerabilities of Incomplete Tokens in Byte-Level Tokenizerscited by 7
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Sciencecited by 7
- 2025Efficient numeracy in language models through single-token number embeddingscited by 7
- 2024Adversarial Math Word Problem Generationcited by 6
- 2025Date Fragments: A Hidden Bottleneck of Tokenization for Temporal Reasoningcited by 6
- 2025Benford's Curse: Tracing Digit Bias to Numerical Hallucination in LLMscited by 6
- 2024ReTok: Replacing Tokenizer to Enhance Representation Efficiency in Large Language Modelcited by 5
- 2024Supervised Chain of Thoughtcited by 5
- 2025BALM-TSF: Balanced Multimodal Alignment for LLM-Based Time Series Forecastingcited by 5
- 2026Eliciting Numerical Predictive Distributions of LLMs Without Autoregressioncited by 5
- 2024Tokenization for Molecular Foundation Modelscited by 4
50 most cited of 113 All 113 (JSON)
- 2026Language-Specific Effects of Tokenizer Choice in Multilingual Language Models8 Oct 2026
- 2026Easy to anticipate, hard to compute: boundary dependence finds the computed outputs that entropy patching misses8 Oct 2026
- 2026From Fragments to Global Maps: Learning Vectorized Map Aggregation with Large Language Models1 Oct 2026
- 2026Technical Manual for Toolkit for Confidence-Corpus Consistency, Corpus Absorption and Rule Learning via Fine-Tuning on a Fabricated Corpus23 Sep 2026
- 2026CTRL: Control-Based Time Series Forecasting with LLM-Guided Residual Learning20 Sep 2026
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratch18 Sep 2026
- 2026The Imitation Game: When LLMs Learn to Reason Like Programs via Code-Centric Reasoning Data Synthesis13 Sep 2026
- 2026List Counting Failures Are Not One Phenomenon3 Sep 2026
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026TokEval: A Tokenizer Evaluation Suite18 Aug 2026
- 2026A Picture is Worth a Thousand Tokens: How Vision Language Models Cut AI Energy Costs While Improving Accuracy7 Aug 2026
- 2026Same Quantity, Different Answer: Numerical Representation Invariance in Language Models27 Jul 2026
38 more
- 2026From Data to Device: ELMOD An Efficient German-First 2.7B Language Model for Mobile Inference27 Jul 2026
- 2026Shape Over Intensity: Directional Topological Encoding for False Positive Reduction in Intracranial Aneurysm Detection6 Jul 2026
- 2026Enhancing Numerical Prediction in LLMs via Smooth MMD Alignment26 Jun 2026
- 2026Emergent retokenization symmetry in large language models: phenomenology and applications14 Jun 2026
- 2026Inside the LLM Word Factory7 Jun 2026
- 2026Breaking the Ice: Analyzing Cold Start Latency in vLLM5 Jun 2026
- 2026Harnessing Generalist Agents for Contextualized Time Series3 Jun 2026
- 2026The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models29 May 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges19 May 2026
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimization12 May 2026
- 2026Fast Byte Latent Transformer8 May 2026
- 2026How Tokenization Limits Phonological Knowledge Representation in Language Models and How to Improve Them18 Apr 2026
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoning13 Apr 2026
- 2026The Illusion of Stochasticity in LLMs8 Apr 2026
- 2026Faster Superword Tokenization6 Apr 2026
- 2026What Really Controls Temporal Reasoning in Large Language Models: Tokenisation or Representation of Time?19 Mar 2026
- 2026Mi:dm K 2.5 Pro19 Mar 2026
- 2026TopoBench: Benchmarking LLMs on Hard Topological Reasoning12 Mar 2026
- 2026Eliciting Numerical Predictive Distributions of LLMs Without Autoregression3 Mar 2026
- 2026Arcee Trinity Large Technical Report19 Feb 2026
- 2026AI-rithmetic11 Feb 2026
- 2026The Effect of Scripts and Formats on LLM Numeracy21 Jan 2026
- 2026Say Anything but This: When Tokenizer Betrays Reasoning in LLMs21 Jan 2026
- 2026A model of errors in transformers20 Jan 2026
- 2026Value-Aware Numerical Representations for Transformer Language Models14 Jan 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generation26 Dec 2025
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders17 Dec 2025
- 2025SATGround: A Spatially-Aware Approach for Visual Grounding in Remote Sensing9 Dec 2025
- 2025Length-MAX Tokenizer for Language Models25 Nov 2025
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarks3 Nov 2025
- 2025Training LLMs Beyond Next Token Prediction - Filling the Mutual Information Gap31 Oct 2025
- 2025so much depends / upon / a whitespace: Why Whitespace Matters for Poets and LLMs19 Oct 2025
- 2025Efficient numeracy in language models through single-token number embeddings8 Oct 2025
- 2025Is In-Context Learning Learning?12 Sep 2025
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2025BALM-TSF: Balanced Multimodal Alignment for LLM-Based Time Series Forecasting30 Aug 2025
50 newest of 113 All 113 (JSON)
- 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoningcited by 31
- 2024IoT-LLM: a framework for enhancing Large Language Model reasoning from real-world sensor datacited by 18
- 2025Product of Experts with LLMs: Boosting Performance on ARC Is a Matter of Perspectivecited by 17
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Sciencecited by 7
- 2025Date Fragments: A Hidden Bottleneck of Tokenization for Temporal Reasoningcited by 6
- 2024Supervised Chain of Thoughtcited by 5
- 2025The Decrypto Benchmark for Multi-Agent Reasoning and Theory of Mindcited by 4
- 2024Integrating Large Language Models with Graph-based Reasoning for Conversational Question Answeringcited by 3
- 2025LINGOLY-TOO: Disentangling Reasoning from Knowledge with Templatised Orthographic Obfuscationcited by 3
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
- 2026TopoBench: Benchmarking LLMs on Hard Topological Reasoningcited by 3
- 2026Say Anything but This: When Tokenizer Betrays Reasoning in LLMscited by 1
12 most cited of 19 All 19 (JSON)
- 2026The Imitation Game: When LLMs Learn to Reason Like Programs via Code-Centric Reasoning Data Synthesis13 Sep 2026
- 2026The Importance of Being Statistically Earnest: A Critical Re-evaluation of GSM-Symbolic27 May 2026
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges19 May 2026
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoning13 Apr 2026
- 2026What Really Controls Temporal Reasoning in Large Language Models: Tokenisation or Representation of Time?19 Mar 2026
- 2026TopoBench: Benchmarking LLMs on Hard Topological Reasoning12 Mar 2026
- 2026Say Anything but This: When Tokenizer Betrays Reasoning in LLMs21 Jan 2026
- 2026Value-Aware Numerical Representations for Transformer Language Models14 Jan 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2025The Decrypto Benchmark for Multi-Agent Reasoning and Theory of Mind25 Jun 2025
- 2025Date Fragments: A Hidden Bottleneck of Tokenization for Temporal Reasoning22 May 2025
12 newest of 19 All 19 (JSON)
- 2026Harnessing Generalist Agents for Contextualized Time Seriescited by 3
- 2026Mi:dm K 2.5 Procited by 0
- 2026Harnessing Generalist Agents for Contextualized Time Series3 Jun 2026
- 2026Mi:dm K 2.5 Pro19 Mar 2026
- 2026Arcee Trinity Large Technical Reportcited by 10
- 2026Arcee Trinity Large Technical Report19 Feb 2026
- 2025Adversarial Tokenizationcited by 11
- 2025Adversarial Tokenization4 Mar 2025
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders17 Dec 2025
- 2025Measuring what Matters: Construct Validity in Large Language Model Benchmarkscited by 112
- 2025Gold-medalist Performance in Solving Olympiad Geometry with AlphaGeometry2cited by 95
- 2025SuperBPE: Space Travel for Language Modelscited by 61
- 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 42
- 2024Large Language Models as Markov Chainscited by 34
- 2024The broader spectrum of in-context learningcited by 33
- 2024Language Models Encode Numbers Using Digit Representations in Base 10cited by 32
- 2025Boundless Byte Pair Encoding: Breaking the Pre-tokenization Barriercited by 32
- 2024BPE Gets Picky: Efficient Vocabulary Refinement During Tokenizer Trainingcited by 31
- 2025Why Prompt Design Matters and Works: A Complexity Analysis of Prompt Search Space in LLMscited by 30
- 2024VarBench: Robust Language Model Benchmarking Through Dynamic Variable Perturbationcited by 29
- 2024Enhancing Foundation Models for Time Series Forecasting via Wavelet-based Tokenizationcited by 26
12 most cited of 85 All 85 (JSON)
- 2026Language-Specific Effects of Tokenizer Choice in Multilingual Language Models8 Oct 2026
- 2026Easy to anticipate, hard to compute: boundary dependence finds the computed outputs that entropy patching misses8 Oct 2026
- 2026From Fragments to Global Maps: Learning Vectorized Map Aggregation with Large Language Models1 Oct 2026
- 2026Technical Manual for Toolkit for Confidence-Corpus Consistency, Corpus Absorption and Rule Learning via Fine-Tuning on a Fabricated Corpus23 Sep 2026
- 2026CTRL: Control-Based Time Series Forecasting with LLM-Guided Residual Learning20 Sep 2026
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratch18 Sep 2026
- 2026List Counting Failures Are Not One Phenomenon3 Sep 2026
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026TokEval: A Tokenizer Evaluation Suite18 Aug 2026
- 2026Same Quantity, Different Answer: Numerical Representation Invariance in Language Models27 Jul 2026
- 2026From Data to Device: ELMOD An Efficient German-First 2.7B Language Model for Mobile Inference27 Jul 2026
- 2026Shape Over Intensity: Directional Topological Encoding for False Positive Reduction in Intracranial Aneurysm Detection6 Jul 2026
12 newest of 85 All 85 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Tokenization Constraints in LLMs: A Study of Symbolic and Arithmetic Reasoning Limits
- 2025Token-by-Token Regeneration and Domain Biases: A Benchmark of LLMs on Advanced Mathematical Problem-Solving
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges
- 2024LLM The Genius Paradox: A Linguistic and Math Expert's Struggle with Simple Word-based Counting Problems
- 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
- 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
- 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvement