SwiftLoop:面向Looped Transformer隐式推理的按位置选择性精炼框架
SwiftLoop: Selective Refinement for Adaptive Implicit Reasoning in Looped Transformers
SwiftLoop是一个推理时框架,通过按位置冻结实现Looped Transformer的选择性循环精炼,在循环深度和活跃宽度上自适应分配计算。该框架利用K/V可复用性与输出层功能影响两类准则的回溯引导监督学习轻量冻结策略,推理时依据隐藏状态自适应冻结。实验显示其在精度与计算量权衡上优于固定循环推理和自适应基线,并测得推理加速,还可用于通用循环模型中的循环prompt预填充。
arXiv:2611.31481v1 Announce Type: new Abstract: Looped Transformers advance implicit chain-of-thought reasoning through recurrent latent refinement. However, existing looped reasoners typically employ fixed-depth recurrence, updating all latent positions at every iteration and incurring redundancy when further refinement is unnecessary. We introduce \textsc{SwiftLoop}, an inference-time framework for selective recurrent refinement through position-wise freezing, enabling adaptive computation allocation across both recurrent depth and active width. SwiftLoop learns lightweight freezing policies through hindsight-guided supervision derived from two complementary criteria: K/V reusability at the internal representation level and functional impact at the output level. At inference time, these policies guide adaptive freezing based on observed hidden states. Extensive experiments demonstrate that SwiftLoop achieves favorable accuracy--computation trade-offs over fixed-loop inference and adaptive baselines, with measured inference acceleration. Beyond implicit reasoning, we further demonstrate its applicability to recurrent prompt prefilling in general looped models.
来源:arXiv (AI + Vision + Imaging) · arxiv.org