Same Quantity, Different Answer: Numerical Representation Invariance in Language Models
Abstract
Numerically equivalent word problems should yield the same canonical answer whether a quantity is written as a decimal, fraction, percentage, number word, scientific notation, or an exactly converted unit. We generate 3,600 exact-rational problems and 8,600 prompts spanning five identity-preserving transformation families, and evaluate five open-weight systems. After a fixed syntax audit that normalizes common answer forms without an LLM judge, canonical accuracy is 0.969-0.996, but orbit correctness falls to 0.848-0.981 and orbit invariance to 0.851-0.981; invariant-but-wrong orbits account for at most 0.003. Most of the broad strict-parser collapse arises because multiplication-form scientific notation lies outside the implemented number grammar, illustrating how evaluator interfaces can masquerade as reasoning failures. A distinct semantic pathology remains: Mistral Small 4 scores 0.699 on unit-converted inputs and produces 265 errors differing from the label by exact powers of ten. In a separate 9,000-call experiment that allocates equal calls to the compared arms, representation consensus does not outperform paraphrase consensus on a low-error subset and produces substantially more false alarms. The accompanying ancillary archive contains the frozen benchmark, evaluation and audit records, consensus raw responses, manifests, analysis code, and a one-command paper build.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- 15 pages, 2 figures. Ancillary archive includes the frozen benchmark, evaluation and audit records, consensus raw responses, manifests, analysis code, and tests
Related papers
Puzzling-Bench: Evaluating Language Models on 23,777 Human-Written Puzzles with Community-Verified Answers
Shared title terminologycs.CLAbhinav Sharma, Li Li, Chien Van Nguyen et al.
Contextual language representations link narrative processing to language and literacy in children
Shared title terminologycs.CLDongyi He, Tian Jiang, Nizhuan Wang et al.
What If Chinese Were Latinized? A Counterfactual Study of Input Representation, Tokenization, and Language Modeling
Shared title terminologycs.CLZijie Zheng, Ej Zhou
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.
Same Evidence, Different Target: Decoding How Diagnostic Evidence Bears on Causal Questions from Language-Model States
Shared title terminologycs.CLWeiyi Kong, Zhuoran Li
Do LLM Debates Repeat Arguments Differently Across Languages?
Shared title terminologycs.CLHuiqian Lai