Reproduce “The Shape of Addition: Geometric Structures of Arithmetic in Large Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Liuyuan Wen, Xun Zhu, Lihao Huang, Wenbin Li, Yang Gao
This research reveals that Large Language Models represent multi-operand addition through organized geometric structures called Iso-Raw-Sum Trajectories, where 'off-by-one' errors are characterized as geometric slippages from a noisy quantization of a continuous 'Carry Potential.' A dual-stream consistency self-correction method leveraging these internal representations significantly improves arithmetic accuracy, reaching up to 89.56% token accuracy.
Key insights
- LLMs organize arithmetic states into continuous "Iso-Raw-Sum Trajectories" (IRSTs) within a macroscopic "arithmetic manifold," with each trajectory linking states that share the same raw sum across varying carry states.
- Arithmetic errors, particularly "off-by-one" errors, are explained as "Geometric Slippages" along these IRSTs, caused by internal neural noise pushing a continuous carry potential across discrete quantization boundaries.
- A quantifiable "Cognitive Noise Level" (σ) was identified for arithmetic, which scales with task complexity (e.g., from 0.05 for 3-term addition to 0.25 for 5-term addition), indicating a degradation in signal fidelity.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.