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 demonstrated remarkable capabilities in complex reasoning and theorem proving, their proficiency in the fundamental building blocks of mathematics—numeral parsing and unit conversion—remains under-examined. Most benchmarks focus on high-level logic, assuming that models can accurately interpret "one million" as 1,000,000 or understand the relationship between grams and kilograms. However, if a model fails at these "low-level" prerequisites, its subsequent reasoning steps are fundamentally flawed.
The NUMCoT framework introduces a rigorous evaluation of these capabilities, "anatomizing" mathematical reasoning into discrete sub-procedures. By testing models against perturbations and ancient measurement systems, the research reveals significant vulnerabilities in how current architectures handle numerical magnitude and linguistic representations of quantity.
Methodological Framework
The researchers categorized mathematical reasoning into four distinct task domains to isolate where LLMs succeed or fail:
- Numeral Conversions: Evaluating the translation between linguistic representations and digits (e.g.,
Num2WordsandWords2Num) across scales ranging from thousands to trillions. - Unit Conversions: Testing the ability to navigate 18 common units of length, weight, time, and currency across varying difficulty levels (Easy, Medium, and Hard).
- Cross-Lingual Math Word Problems (MWPs): Assessing standard school-level arithmetic in both English and Chinese to identify linguistic biases in numerical logic.
- SUANJING (Ancient Chinese Arithmetic): A specialized dataset of 726 problems from ten ancient Chinese mathematical canons, such as The Nine Chapters on the Mathematical Art. This dataset serves as a "hard mode" due to its use of archaic units and complex fractional phrasing.
To prevent models from relying on memorized training data, the authors employed perturbations, randomly altering numbers and operations to ensure the models were demonstrating true generalization rather than pattern recognition.
Key Findings and the "CoT Paradox"
The Failure of Chain-of-Thought in Simple Tasks
One of the most surprising findings is the Chain-of-Thought (CoT) Paradox. While CoT typically improves performance in complex reasoning, it actually decreased accuracy for simple numeral conversion tasks (like Words2Num). The researchers hypothesize that the increased verbosity of CoT provides more opportunities for models to "hallucinate" or misplace digits. This is particularly evident in large numbers where the placement of zeros is critical; models frequently struggle to maintain the correct magnitude, often confusing "hundred million" with "billion."
Linguistic and Scale Sensitivity
There is a notable performance disparity between English and Chinese numeral processing. Even models optimized for both languages showed inconsistent logic transfer, suggesting that numerical reasoning is not language-agnostic in current LLM architectures. Furthermore, accuracy across all models declined sharply as the scale of the numbers increased, indicating that LLMs have a "magnitude ceiling" where their understanding of numerical value becomes increasingly unstable.
The Challenge of Long-Tail Knowledge
The SUANJING dataset proved to be an insurmountable hurdle for most models. Ancient units (e.g., 1 Mu = 240 square steps) and archaic fractional representations represent "long-tail" knowledge that is absent from standard training corpora. Even when conversion ratios were explicitly provided in the prompt, models failed to perform the necessary calculations, achieving an abysmal accuracy rate of approximately 9% in the case of ChatGPT.
Comparative Model Performance
- ChatGPT (GPT-3.5): Emerged as the leader in English
Num2Wordstasks with nearly 98% accuracy, though this dropped significantly to ~68% for Chinese tasks. - Llama-2: The Llama-2 family struggled significantly with numeral conversions compared to both ChatGPT and the Chinese-optimized ChatGLM models.
- ChatGLM: Showed better resilience in Chinese-specific numerical tasks but still faced difficulties with high-magnitude numbers and complex unit conversions.
Conclusion and Future Directions
The NUMCoT benchmark highlights that LLM reasoning is often built on a fragile foundation. The inability to reliably parse numerals and units suggests that these models lack a robust, internal "number line" or a deep understanding of measurement systems.
Future research should focus on improving the precision of numeral processing, particularly in professional domains like finance or engineering where a single misplaced zero can have significant consequences. Additionally, the study suggests that future model evaluations must account for stochasticity by performing multiple trials to ensure that performance is consistent rather than a result of lucky generation.
Summary updated