Abstract
Numeral systems and units of measurement are two conjoined topics in activities of human beings and have mutual effects with the languages expressing them. Currently, the evaluation of Large Language Models (LLMs) often involves mathematical reasoning, yet little attention is given to how minor changes in numbers or units can drastically alter the complexity of problems and the performance of LLMs. In this paper, we scrutinize existing LLMs on processing of numerals and units of measurement by constructing datasets with perturbations. We first anatomize the reasoning of math word problems to different sub-procedures like numeral conversions from language to numbers and measurement conversions based on units. Then we further annotate math word problems from ancient Chinese arithmetic works which are challenging in numerals and units of measurement. Experiments on perturbed datasets demonstrate that LLMs still encounter difficulties in handling numeral and measurement conversions.
Introduction
While Large Language Models (LLMs) have shown remarkable success in complex reasoning tasks, their proficiency in basic numeracy and unit conversion remains a critical yet under-studied area. A model might solve an advanced calculus problem but fail to convert "three million" into digits or "meters" into "centimeters." This discrepancy suggests a gap between logical reasoning and fundamental numerical "literacy."
The NUMCoT benchmark addresses this by "anatomizing" mathematical reasoning into specific sub-tasks. By using perturbations—such as testing $10^6 + 1$ instead of a clean $10^6$—the researchers ensure that models are not simply relying on memorized patterns from their training data. This study evaluates LLMs across different scales and languages (English and Chinese) to identify where these models truly struggle.
Methodology and Datasets
The researchers decomposed mathematical reasoning into three distinct sub-procedures:
- Numeral Conversions: Mapping between digits and words (e.g.,
1,200$\leftrightarrow$ "one thousand two hundred"). - Measurement Conversions: Handling units of length, time, weight, and currency.
- Integrated Reasoning: Solving Math Word Problems (MWPs) that require both numeral and unit understanding.
To test these procedures, four primary datasets were utilized, including a novel benchmark called SUANJING. SUANJING consists of 726 problems from ancient Chinese mathematical classics, which are particularly difficult due to their traditional numeral styles and rare units of measurement.
Key Insights
The CoT Paradox
A surprising finding of this study is that Chain-of-Thought (CoT) prompting can degrade performance on simple numeral conversion tasks. Because CoT requires the model to generate a longer sequence of tokens, it increases the cumulative probability of a token-level error in tasks that should be a direct mapping. This suggests that for basic numeracy, simpler prompting may be more effective.
Scale and Language Sensitivity
LLM performance is highly sensitive to numerical magnitude. Accuracy drops significantly as numbers move from the thousands into the billions and trillions. Furthermore, there is a notable Language Asymmetry: models perform better on English numeral systems (grouped by three digits) than on Chinese systems (grouped by four), indicating that numerical knowledge is not language-agnostic in current LLMs.
Experimental Results
As shown in the experimental results, ChatGPT significantly outperforms open-source models like Llama-2 and ChatGLM. However, even ChatGPT's performance is not perfect, especially in Chinese contexts. The SUANJING dataset proved to be the most difficult, with most models scoring near zero. ChatGPT achieved a peak accuracy of only 9% on these ancient problems, highlighting a massive weakness in handling non-standard or historical numerical contexts.
Conclusion
The NUMCoT benchmark reveals that for LLMs to be truly reliable in mathematical contexts, we must move beyond evaluating high-level reasoning and start addressing the underlying literacy of how they process numbers and units. Future work should focus on improving the robustness of models across different numerical scales and linguistic systems to ensure they can be trusted in high-stakes domains like finance or engineering.
Summary updated