mlsanityData to 14 Oct 2026

Number Cookbook: Number Understanding of Language Models and How to Improve It

arXiv 2411.03766 ↗First posted 6 Nov 2024cs.CL cs.AIcited by 42

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

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  7. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  8. 2024OlympiadBench: A Challenging Benchmark for Promoting AGI with Olympiad-Level Bilingual Multimodal Scientific Problemscited by 1,136
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  10. 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
  11. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  12. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
35 more
  1. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
  2. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  3. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 562
  4. 2023Chameleon: Plug-and-Play Compositional Reasoning with Large Language Modelscited by 356
  5. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
  6. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  7. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  8. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
  9. 2022ConvFinQA: Exploring the Chain of Numerical Reasoning in Conversational Finance Question Answeringcited by 196
  10. 2019BPE-Dropout: Simple and Effective Subword Regularizationcited by 195
  11. 2023Evaluating the Performance of Large Language Models on GAOKAO Benchmarkcited by 186
  12. 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 159
  13. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
  14. 2024MathScale: Scaling Instruction Tuning for Mathematical Reasoningcited by 144
  15. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  16. 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
  17. 2023Teaching Arithmetic to Small Transformerscited by 123
  18. 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
  19. 2024Tokenization counts: the impact of tokenization on arithmetic in frontier LLMscited by 115
  20. 2020Birds have four legs?! NumerSense: Probing Numerical Commonsense Knowledge of Pre-trained Language Modelscited by 110
  21. 2023Generalization on the Unseen, Logic Reasoning and Degree Curriculumcited by 73
  22. 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
  23. 2024Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correctioncited by 45
  24. 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 45
  25. 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
  26. 2019EQUATE: A Benchmark Evaluation Framework for Quantitative Reasoning in Natural Language Inferencecited by 39
  27. 2023Exploring the Numerical Reasoning Capabilities of Language Models: A Comprehensive Analysis on Tabular Datacited by 33
  28. 2024LLMs can Find Mathematical Reasoning Mistakes by Pedagogical Chain-of-Thoughtcited by 28
  29. 2024Case-Based or Rule-Based: How Do Transformers Do the Math?cited by 26
  30. 2020On Long-Tailed Phenomena in Neural Machine Translationcited by 20
  31. 2024Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Executioncited by 17
  32. 2020Probing for Multilingual Numerical Understanding in Transformer-Based Language Modelscited by 10
  33. 2024Improving Self Consistency in LLMs through Probabilistic Tokenizationcited by 8
  34. 2023Parrot Mind: Towards Explaining the Complex Task Reasoning of Pretrained Large Language Models with Template-Content Structurecited by 4
  35. 2024Low-Dimension-to-High-Dimension Generalization And Its Implications for Length Generalizationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 24; 2026: 18.

42 papers.

Sort:

By area:

  1. 2025Exposing Numeracy Gaps: A Benchmark to Evaluate Fundamental Numerical Abilities in Large Language Modelscited by 14
  2. 2025Can Multimodal LLMs Perform Time Series Anomaly Detection?cited by 12
  3. 2025AtmosSci-Bench: Evaluating the Recent Advance of Large Language Model for Atmospheric Sciencecited by 9
  4. 2025Bayesian Social Deduction with Graph-Informed Language Modelscited by 9
  5. 2026The Illusion of Stochasticity in LLMscited by 9
  6. 2025Beyond Single-Task: Robust Multi-Task Length Generalization for LLMscited by 7
  7. 2025Efficient numeracy in language models through single-token number embeddingscited by 7
  8. 2026LLMs Know More About Numbers than They Can Saycited by 7
  9. 2025Position: Foundation Models for Tabular Data within Systemic Contexts Need Groundingcited by 6
  10. 2026Too Polite to Disagree: Understanding Sycophancy Propagation in Multi-Agent Systemscited by 6
  11. 2025Improved LLM Agents for Financial Document Question Answeringcited by 5
  12. 2025AlphaApollo: A System for Deep Agentic Reasoningcited by 5
30 more
  1. 2025Mathematical Computation and Reasoning Errors by Large Language Modelscited by 4
  2. 2025Language Models Do Not Embed Numbers Continuouslycited by 4
  3. 2025Training and Evaluation of Guideline-Based Medical Reasoning in LLMscited by 4
  4. 2025Characterizing Mamba's Selective Memory using Auto-Encoderscited by 4
  5. 2025UC-MOA: Utility-Conditioned Multi-Objective Alignment for Distributional Pareto-Optimalitycited by 2
  6. 2025Investigating the interaction of linguistic and mathematical reasoning in language models using multilingual number puzzlescited by 2
  7. 2025Knowing the Facts but Choosing the Shortcut: Understanding How Large Language Models Compare Entitiescited by 2
  8. 2026ufakzeka-1: Building and Evaluating a 151M-Parameter Turkish Language Model from Scratchcited by 2
  9. 2025Representing data in words: A context engineering approachcited by 1
  10. 2025CIE: Controlling Language Model Text Generations Using Continuous Signalscited by 1
  11. 2025NumPert: Numerical Perturbations to Probe Language Models for Veracity Predictioncited by 1
  12. 2025Concept Generalization in Humans and Large Language Models: Insights from the Number Gamecited by 1
  13. 2026TabDLM: Free-Form Tabular Data Generation via Joint Numerical-Language Diffusioncited by 1
  14. 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Taskscited by 1
  15. 2026Numeracy in Large Language Models: Fundamental Limitations and Paths to Improvementcited by 1
  16. 2025xInv: Explainable Optimization of Inverse Problemscited by 0
  17. 2025PiERN: Token-Level Routing for Integrating High-Precision Computation and Reasoningcited by 0
  18. 2025TurnBack: A Geospatial Route Cognition Benchmark for Large Language Models through Reverse Routecited by 0
  19. 2025Can LLMs subtract numbers?cited by 0
  20. 2026SubTokenTest: A Practical Benchmark for Real-World Sub-token Understandingcited by 0
  21. 2026Value-Aware Numerical Representations for Transformer Language Modelscited by 0
  22. 2026Lang2Str: Two-Stage Crystal Structure Generation with LLMs and Continuous Flow Modelscited by 0
  23. 2026LIT-RAGBench: Benchmarking Generator Capabilities of Large Language Models in Retrieval-Augmented Generationcited by 0
  24. 2026SenseMath: Do LLMs Have Number Sense? Evaluating Shortcut Use, Judgment, and Generationcited by 0
  25. 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoningcited by 0
  26. 2026From Clinical Intent to Clinical Model: Autonomous Coding-Agents for Clinician-driven AI Developmentcited by 0
  27. 2026Large Language Models as Amortized Pareto-Front Generators for Constrained Bi-Objective Convex Optimizationcited by 0
  28. 2026On Compositional Learning Behaviours in Formal Mathematicscited by 0
  29. 2026Toten: A Knowledge-Based System For Structure-Preserving Representation Of Physical Quantities And Technical Notation In Brazilian Portuguesecited by 0
  30. 2026Context Staircase: Signature-Aligned Dynamics of Token Embeddings under Small Initializationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026The Effect of Scripts and Formats on LLM Numeracy
  2. 2025Large Language Models in Numberland: A Quick Test of Their Numerical Reasoning Abilities
  3. 2024NumeroLogic: Number Encoding for Enhanced LLMs' Numerical Reasoning
  4. 2025Mathematical Reasoning in Large Language Models: Assessing Logical and Arithmetic Errors across Wide Numerical Ranges
  5. 2024Language Models Do Hard Arithmetic Tasks Easily and Hardly Do Easy Arithmetic Tasks
  6. 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
  7. 2024How Numerical Precision Affects Arithmetical Reasoning Capabilities of LLMs
  8. 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges