United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.
Get full access to United States of Banan at konradb.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
This paper investigates how large language models perform arithmetic operations.
SPEAKER_00While previous work has shown that LLMs can solve arithmetic problems, there's been an ongoing debate about whether they truly learn algorithmic solutions or simply memorize patterns. The authors chose arithmetic as their focus, since it's a clear task that can be solved either through algorithms, like how humans learn vertical addition, or through memorization of input-output pairs. The researchers employed a systematic methodology starting with circuit discovery
SPEAKER_00using activation patching techniques. They identified specific components within the model responsible for arithmetic operations. They then zoomed in on individual neurons within these circuits, used linear probing to understand where answers are generated, and developed a classification system for different types of arithmetic heuristics. The analysis was validated across multiple language models to ensure generalizability. The key finding is that LLMs solve arithmetic problems using a
collection of simple
SPEAKER_00heuristics rather than implementing a coherent algorithm. Individual neurons act as specialized detectors for specific numerical patterns. Surprisingly, only about 1.5% of neurons per layer are needed for accurate arithmetic computations. These heuristics work together, with different sets of neurons activating for different arithmetic operators. The researchers identified several categories of heuristics, including range-based ,
SPEAKER_00modulo-based , and pattern-based heuristics. These patterns emerge early in model training and remain stable. The combination of multiple heuristics enables high accuracy. This mechanism was found consistently across different model sizes, with failures occurring when heuristic activation is insufficient. The study concludes that LLMs take a middle path between pure
algorithmic reasoning
SPEAKER_00and pure memorization. This bag of heuristics approach helps explain both the capabilities and limitations of current models in arithmetic tasks. The findings suggest that similar mechanisms might be at play in other reasoning tasks. To achieve more robust mathematical abilities, fundamental changes to model architecture or training approaches may be necessary rather than just scaling up existing architectures.
Paper: https://arxiv.org/abs/2504.11159 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.16748 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/html/2604.01845v1 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United...
Paper: https://arxiv.org/abs/2604.13253 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.05257 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...