PAR:面向状态跟踪中长度泛化的进度对齐循环
研究论文 · 2026/10/21
循环语言模型在测试时可以进行更多迭代,但额外迭代未必有助于解决更长的问题。对于序列状态跟踪,最终答案监督未指定每次迭代应推进多远,且重复更新可能改变循环状态的尺度。我们提出进度对齐循环(PAR),训练第k次迭代的预测以匹配前k次操作后的状态,并将循环状态重新缩放到其第一次迭代的范数。在swap-S_5上,一个最多用32步训练的Qwen2.5-0.5B模型在512步时达到95.5%的平均全状态准确率,是训练长度的16倍,而同一骨干上RLT报告为55.7%,显式思维链为0.8%。受控S_5消融实验表明,移除范数锚定将外推因子从16倍降低到2.2倍以下,而将进度对齐目标替换为最终答案监督则最多降低到8倍。学习到的完成读出器选择何时回答,无需提供停止深度。当中间标签不可用时,前缀自蒸馏仅使用最终答案从较短问题前缀中诱导对应关系。这些增益适用于序列状态跟踪任务,确立了深度外推所需的任务结构。这些发现支持同时训练中间预测和状态尺度,使额外的循环深度对更长问题有用。
该研究解决了循环语言模型在长度外推上的关键挑战,通过简单的训练目标设计实现了16倍的外推,且方法通用、无需中间标签,对提升模型在长序列任务上的性能具有重要价值。
Looped language models can run more iterations at test time, but additional iterations need not help them solve longer problems. For sequential state tracking, final-answer supervision does not specify how far each iteration should advance, and repeated updates can change the scale of the recurrent state. We introduce Progress-Aligned Recurrence (PAR), which trains the prediction at iteration k to match the state after the first k operations and rescales recurrent states to their first-iteration norms. On swap-S_5, a Qwen2.5-0.5B model trained on at most 32 moves achieves 95.5\% mean full-state accuracy at 512 moves, or 16times the training length, compared with 55.7\% reported for RLT and 0.8\% for explicit chain of thought on the same backbone. Controlled S_5 ablations show that removing norm anchoring reduces the extrapolation factor from 16times to below 2.2times, and replacing progress-aligned targets with final-answer supervision reduces it to at most 8times. A learned completion readout selects when to answer without a supplied stopping depth. When intermediate labels are unavailable, prefix self-distillation induces the correspondence from shorter problem prefixes using only final answers. The gains apply across sequential state-tracking tasks, establishing the task structure required for depth extrapolation. These findings support training intermediate predictions and state scale together to make additional recurrent depth useful for longer problems.