Number Cookbook: Number Understanding of Language Models and How to Improve It
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) can solve an increasing number of complex reasoning tasks while making surprising mistakes in basic numerical understanding and processing (such as 9.11 > 9.9). The latter ability is essential for tackling complex arithmetic and mathematical problems and serves as a foundation for most reasoning tasks, but previous work paid little attention to it or only discussed several restricted tasks (like integer addition). In this paper, we comprehensively investigate the numerical understanding and processing ability (NUPA) of LLMs. Firstly, we introduce a benchmark covering four common numerical representations and 17 distinct numerical tasks in four major categories, resulting in 41 meaningful combinations in total. These tasks are derived from primary and secondary education curricula, encompassing nearly all everyday numerical understanding and processing scenarios, and the rules of these tasks are very simple and clear. Through the benchmark, we find that current LLMs fail frequently in many of the tasks. To study the problem, we train small models with existing and potential techniques for enhancing NUPA (such as tokenizers, PEs, and number formats), comprehensively evaluating their effectiveness using our testbed. We also finetune practical-scale LLMs on our proposed NUPA tasks and find that 1) naive finetuning can improve NUPA a lot on many but not all tasks, and 2) surprisingly, techniques designed to enhance NUPA prove ineffective for finetuning pretrained models. We further explore the impact of chain-of-thought techniques on NUPA. Our work provides a more detailed and comprehensive understanding of NUPA in LLMs. Our benchmark and code are released at https://github.com/GraphPKU/number_cookbook.
Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Builds on 47 of its 66 references that are in the map. First posted on arXiv 6 Nov 2024.
Builds on
47 of 66 references.
References · 47
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
- 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,136
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
35 more
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 562
- 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 356
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
- 2022ConvFinQA: Exploring the Chain of Numerical Reasoning in Conversational Finance Question Answeringcited by 196
- 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 195
- 2023Evaluating the Performance of Large Language Models on GAOKAO Benchmarkcited by 186
- 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 159
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
- 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
- 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
- 2023Teaching Arithmetic to Small Transformerscited by 123
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
- 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
- 2020Birds have four legs?! NumerSense: Probing Numerical Commonsense Knowledge of Pre-trained Language Modelscited by 110
- 2023Generalization on the Unseen, Logic Reasoning and Degree Curriculumcited by 73
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
- 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correctioncited by 45
- 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 45
- 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
- 2019EQUATE: A Benchmark Evaluation Framework for Quantitative Reasoning in Natural Language Inferencecited by 39
- 2023Exploring the Numerical Reasoning Capabilities of Language Models: A Comprehensive Analysis on Tabular Datacited by 33
- 2024LLMs can Find Mathematical Reasoning Mistakes by Pedagogical Chain-of-Thoughtcited by 28
- 2024Case-Based or Rule-Based: How Do Transformers Do the Math?cited by 26
- 2020On Long-Tailed Phenomena in Neural Machine Translationcited by 20
- 2024Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Executioncited by 17
- 2020Probing for Multilingual Numerical Understanding in Transformer-Based Language Modelscited by 10
- 2024Improving Self Consistency in LLMs through Probabilistic Tokenizationcited by 8
- 2023Parrot Mind: Towards Explaining the Complex Task Reasoning of Pretrained Large Language Models with Template-Content Structurecited by 4
- 2024Low-Dimension-to-High-Dimension Generalization And Its Implications for Length Generalizationcited by 2
Built on by
Citing papers per year: 2025: 24; 2026: 18.
42 papers.
Sort:
By area:
- 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Modelscited by 14
- 2025Can Multimodal LLMs Perform Time Series Anomaly Detection?cited by 12
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Sciencecited by 9
- 2025Bayesian Social Deduction with Graph-Informed Language Modelscited by 9
- 2026The Illusion of Stochasticity in LLMscited by 9
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMscited by 7
- 2025Efficient numeracy in language models through single-token number embeddingscited by 7
- 2026LLMs Know More About Numbers than They Can Saycited by 7
- 2025Position: Foundation Models for Tabular Data within Systemic Contexts Need Groundingcited by 6
- 2026Too Polite to Disagree: Understanding Sycophancy Propagation in Multi-Agent Systemscited by 6
- 2025Improved LLM Agents for Financial Document Question Answeringcited by 5
- 2025AlphaApollo: A System for Deep Agentic Reasoningcited by 5
30 more
- 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
- 2025Language Models Do Not Embed Numbers Continuouslycited by 4
- 2025Training and Evaluation of Guideline-Based Medical Reasoning in LLMscited by 4
- 2025Characterizing Mamba's Selective Memory using Auto-Encoderscited by 4
- 2025UC-MOA: Utility-Conditioned Multi-Objective Alignment for Distributional Pareto-Optimalitycited by 2
- 2025Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzlescited by 2
- 2025Knowing the Facts but Choosing the Shortcut: Understanding How Large Language Models Compare Entitiescited by 2
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratchcited by 2
- 2025Representing data in words: A context engineering approachcited by 1
- 2025CIE: Controlling Language Model Text Generations Using Continuous Signalscited by 1
- 2025NumPert: Numerical Perturbations to Probe Language Models for Veracity Predictioncited by 1
- 2025Concept Generalization in Humans and Large Language Models: Insights from the Number Gamecited by 1
- 2026TabDLM: Free-Form Tabular Data Generation via Joint Numerical-Language Diffusioncited by 1
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Taskscited by 1
- 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvementcited by 1
- 2025xInv: Explainable Optimization of Inverse Problemscited by 0
- 2025PiERN: Token-Level Routing for Integrating High-Precision Computation and Reasoningcited by 0
- 2025TurnBack: A Geospatial Route Cognition Benchmark for Large Language Models through Reverse Routecited by 0
- 2025Can LLMs subtract numbers?cited by 0
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understandingcited by 0
- 2026Value-Aware Numerical Representations for Transformer Language Modelscited by 0
- 2026Lang2Str: Two-Stage Crystal Structure Generation with LLMs and Continuous Flow Modelscited by 0
- 2026LIT-RAGBench: Benchmarking Generator Capabilities of Large Language Models in Retrieval-Augmented Generationcited by 0
- 2026SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generationcited by 0
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoningcited by 0
- 2026From Clinical Intent to Clinical Model: Autonomous Coding-Agents for Clinician-driven AI Developmentcited by 0
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
- 2026On Compositional Learning Behaviours in Formal Mathematicscited by 0
- 2026Toten: A Knowledge-Based System For Structure-Preserving Representation Of Physical Quantities And Technical Notation In Brazilian Portuguesecited by 0
- 2026Context Staircase: Signature-Aligned Dynamics of Token Embeddings under Small Initializationcited by 0
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratch18 Sep 2026
- 2026Context Staircase: Signature-Aligned Dynamics of Token Embeddings under Small Initialization31 Aug 2026
- 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvement13 Aug 2026
- 2026Toten: A Knowledge-Based System For Structure-Preserving Representation Of Physical Quantities And Technical Notation In Brazilian Portuguese17 Jun 2026
- 2026On Compositional Learning Behaviours in Formal Mathematics27 May 2026
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimization12 May 2026
- 2026From Clinical Intent to Clinical Model: Autonomous Coding-Agents for Clinician-driven AI Development18 Apr 2026
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoning13 Apr 2026
- 2026The Illusion of Stochasticity in LLMs8 Apr 2026
- 2026Too Polite to Disagree: Understanding Sycophancy Propagation in Multi-Agent Systems3 Apr 2026
- 2026SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generation2 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
30 more
- 2026LIT-RAGBench: Benchmarking Generator Capabilities of Large Language Models in Retrieval-Augmented Generation6 Mar 2026
- 2026Lang2Str: Two-Stage Crystal Structure Generation with LLMs and Continuous Flow Models4 Mar 2026
- 2026TabDLM: Free-Form Tabular Data Generation via Joint Numerical-Language Diffusion26 Feb 2026
- 2026LLMs Know More About Numbers than They Can Say8 Feb 2026
- 2026Value-Aware Numerical Representations for Transformer Language Models14 Jan 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025Concept Generalization in Humans and Large Language Models: Insights from the Number Game23 Dec 2025
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders17 Dec 2025
- 2025Training and Evaluation of Guideline-Based Medical Reasoning in LLMs3 Dec 2025
- 2025NumPert: Numerical Perturbations to Probe Language Models for Veracity Prediction13 Nov 2025
- 2025Can LLMs subtract numbers?4 Nov 2025
- 2025Knowing the Facts but Choosing the Shortcut: Understanding How Large Language Models Compare Entities19 Oct 2025
- 2025Language Models Do Not Embed Numbers Continuously9 Oct 2025
- 2025Efficient numeracy in language models through single-token number embeddings8 Oct 2025
- 2025AlphaApollo: A System for Deep Agentic Reasoning5 Oct 2025
- 2025TurnBack: A Geospatial Route Cognition Benchmark for Large Language Models through Reverse Route17 Sep 2025
- 2025PiERN: Token-Level Routing for Integrating High-Precision Computation and Reasoning17 Sep 2025
- 2025Mathematical Computation and Reasoning Errors by Large Language Models13 Aug 2025
- 2025Bayesian Social Deduction with Graph-Informed Language Models21 Jun 2025
- 2025Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzles16 Jun 2025
- 2025Improved LLM Agents for Financial Document Question Answering10 Jun 2025
- 2025Position: Foundation Models for Tabular Data within Systemic Contexts Need Grounding26 May 2025
- 2025xInv: Explainable Optimization of Inverse Problems22 May 2025
- 2025CIE: Controlling Language Model Text Generations Using Continuous Signals19 May 2025
- 2025UC-MOA: Utility-Conditioned Multi-Objective Alignment for Distributional Pareto-Optimality10 Mar 2025
- 2025Can Multimodal LLMs Perform Time Series Anomaly Detection?25 Feb 2025
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMs17 Feb 2025
- 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Models16 Feb 2025
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Science3 Feb 2025
- 2025Representing data in words: A context engineering approach27 Jan 2025
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Sciencecited by 9
- 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
- 2025Training and Evaluation of Guideline-Based Medical Reasoning in LLMscited by 4
- 2025Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzlescited by 2
- 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvementcited by 1
- 2025PiERN: Token-Level Routing for Integrating High-Precision Computation and Reasoningcited by 0
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understandingcited by 0
- 2026Value-Aware Numerical Representations for Transformer Language Modelscited by 0
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoningcited by 0
- 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvement13 Aug 2026
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoning13 Apr 2026
- 2026Value-Aware Numerical Representations for Transformer Language Models14 Jan 2026
- 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understanding14 Jan 2026
- 2025Training and Evaluation of Guideline-Based Medical Reasoning in LLMs3 Dec 2025
- 2025PiERN: Token-Level Routing for Integrating High-Precision Computation and Reasoning17 Sep 2025
- 2025Mathematical Computation and Reasoning Errors by Large Language Models13 Aug 2025
- 2025Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzles16 Jun 2025
- 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Science3 Feb 2025
- 2025Can Multimodal LLMs Perform Time Series Anomaly Detection?cited by 12
- 2025Can Multimodal LLMs Perform Time Series Anomaly Detection?25 Feb 2025
- 2025Characterizing Mamba's Selective Memory using Auto-Encoders17 Dec 2025
- 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Modelscited by 14
- 2025Bayesian Social Deduction with Graph-Informed Language Modelscited by 9
- 2026The Illusion of Stochasticity in LLMscited by 9
- 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMscited by 7
- 2025Efficient numeracy in language models through single-token number embeddingscited by 7
- 2026LLMs Know More About Numbers than They Can Saycited by 7
- 2025Position: Foundation Models for Tabular Data within Systemic Contexts Need Groundingcited by 6
- 2025Language Models Do Not Embed Numbers Continuouslycited by 4
- 2025Knowing the Facts but Choosing the Shortcut: Understanding How Large Language Models Compare Entitiescited by 2
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratchcited by 2
- 2025Representing data in words: A context engineering approachcited by 1
- 2025NumPert: Numerical Perturbations to Probe Language Models for Veracity Predictioncited by 1
12 most cited of 24 All 24 (JSON)
- 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratch18 Sep 2026
- 2026Context Staircase: Signature-Aligned Dynamics of Token Embeddings under Small Initialization31 Aug 2026
- 2026Toten: A Knowledge-Based System For Structure-Preserving Representation Of Physical Quantities And Technical Notation In Brazilian Portuguese17 Jun 2026
- 2026On Compositional Learning Behaviours in Formal Mathematics27 May 2026
- 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimization12 May 2026
- 2026From Clinical Intent to Clinical Model: Autonomous Coding-Agents for Clinician-driven AI Development18 Apr 2026
- 2026The Illusion of Stochasticity in LLMs8 Apr 2026
- 2026SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generation2 Apr 2026
- 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks31 Mar 2026
- 2026Lang2Str: Two-Stage Crystal Structure Generation with LLMs and Continuous Flow Models4 Mar 2026
- 2026LLMs Know More About Numbers than They Can Say8 Feb 2026
- 2025Concept Generalization in Humans and Large Language Models: Insights from the Number Game23 Dec 2025
12 newest of 24 All 24 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026The Effect of Scripts and Formats on LLM Numeracy
- 2025Large Language Models in Numberland: A Quick Test of Their Numerical Reasoning Abilities
- 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoning
- 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges
- 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
- 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges