Beyond Append-Only Decoding: A Recursive Edit-Based Encoder for Arithmetic Length Generalization

作者: Bong Gyun Kang, Junyong Ahn, Jieun Byeon, Sungroh Yoon

摘要

Algorithmic reasoning—internalizing a procedure from small examples and applying it at arbitrary scale—is a hallmark of human intelligence: a child who learns arithmetic on a few digits can, given time and paper, evaluate expressions of unbounded length. Modern language models cannot: Qwen3.5-27B, despite 100k-token reasoning contexts, degrades to below 10% accuracy on 30-digit multiplication. Departing from reasoning-through-scale, we introduce RACE (Recursive Arithmetic Control Encoder), a 3.6M-parameter Transformer trained from scratch that generalizes far better by recursively decomposing problems while keeping its working memory bounded. Two mechanisms drive this: token-level editing, which erases intermediate scratchwork, and self-calling, which recurses on subproblems. Within a single model, RACE improves multiplication length generalization 4.7 times over the Arithmetic Transformer and, for the first time, achieves length generalization on subtraction and division (×47.1 and ×17.6), while also solving nested, multi-operator expressions. Code is available at https://github.com/Pusheen-cat/RACE_2026.

PDF打开原文
用 AI 找相似论文

可以直接复制这句话问 AI

用 Paperlist 找和「Beyond Append-Only Decoding: A Recursive Edit-Based Encoder for Arithmetic Length Generalization」相似的论文(id: 239721,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI