Can LLMs subtract numbers?
arxiv.org·9h·
Discuss: Hacker News
Flag this post

Title:Can LLMs subtract numbers?

View PDF HTML (experimental)

Abstract:We present a systematic study of subtraction in large language models (LLMs). While prior benchmarks emphasize addition and multiplication, subtraction has received comparatively little attention despite being structurally distinct as a non-commutative operation. We evaluate eight pretrained LLMs spanning four families on addition and subtraction problems. Our experiments reveal that subtraction accuracy lags behind addition by a wide margin. We find that the errors for ($a-b$) are concentrated in cases where ($a<b$). In such cases, LLMs frequently produce the correct magnitude but omit the negative sign. Probing analyses sh…

Similar Posts

Loading similar posts...