Scaling Behavior for Large Language Models regarding Numeral Systems: An Example using Pythia
Not on the map. Why?
Abstract (arXiv)
Though Large Language Models (LLMs) have shown remarkable abilities in mathematics reasoning, they are still struggling with performing numeric operations accurately, such as addition and multiplication. Numbers can be tokenized into tokens in various ways by different LLMs and affect the numeric operations performance. Currently, there are two representatives: 1) Tokenize into 1-digit, and 2) Tokenize into 1~ 3 digit. The difference is roughly equivalent to using different numeral systems (namely base 10 or base 103). In light of this, we study the scaling behavior of different numeral systems in the context of transformer-based large language models. We empirically show that a base 10 system is consistently more data-efficient than a base 102 or 103 system across training data scale, model sizes under from-scratch training settings, while different number systems have very similar fine-tuning performances. We attribute this to higher token frequencies of a base 10 system. Additionally, we reveal extrapolation behavior patterns on addition and multiplication. We identify that base 100 and base 1000 systems struggle on token-level discernment and token-level operations. We also sheds light on the mechanism learnt by the models.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 16 of its 20 references that are in the map. First posted on arXiv 25 Sep 2024.
Builds on
16 of 20 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2023Qwen Technical Reportcited by 3,344
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2021Scaling Laws for Transfercited by 272
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 139
4 more
- 2023How well do Large Language Models perform in Arithmetic tasks?cited by 130
- 2023Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Taskscited by 84
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 78
- 2021Exploring Generalization Ability of Pretrained Language Models on Arithmetic and Logical Reasoningcited by 17
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 4.
8 papers.
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 28
- 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMscited by 15
- 2025Number Representations in LLMs: A Computational Parallel to Human Perceptioncited by 4
- 2026Fast Byte Latent Transformercited by 3
- 2025multivariateGPT: a decoder-only transformer for multivariate categorical and numeric datacited by 1
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoningcited by 0
- 2026From Data to Device: ELMOD An Efficient German-First 2.7B Language Model for Mobile Inferencecited by 0
- 2026When Tokenization is Secretly Output Supervisioncited by 0
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026From Data to Device: ELMOD An Efficient German-First 2.7B Language Model for Mobile Inference27 Jul 2026
- 2026Fast Byte Latent Transformer8 May 2026
- 2026A Triadic Suffix Tokenization Scheme for Numerical Reasoning13 Apr 2026
- 2025multivariateGPT: a decoder-only transformer for multivariate categorical and numeric data27 May 2025
- 2025The Lookahead Limitation: Why Multi-Operand Addition is Hard for LLMs27 Feb 2025
- 2025Number Representations in LLMs: A Computational Parallel to Human Perception22 Feb 2025
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Models28 Oct 2024