arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.23872cs.LGcs.NAmath.NAstat.ML
收藏

免训练循环Transformer

Training-Free Looped Transformers

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Lizhang Chen, Jonathan Li, Chen Liang, Ni Lao, Qiang Liu

AI总结:

提出一种免训练的循环Transformer方法,通过在推理时循环冻结检查点的连续中间块层来提升性能,无需微调或架构更改。

摘要:

我们引入了免训练循环Transformer,其中轻量级推理时包装器循环冻结检查点的连续中间块层,无需额外微调、继续训练或架构更改。与先前使用循环结构端到端训练的循环Transformer方法不同,我们在测试时将循环性改造到预训练模型上。我们表明,简单的块重新应用通常会降低性能,凸显了循环应用策略的重要性。受将预归一化Transformer块视为ODE上的前向欧拉步骤的启发,我们将循环视为同一近似的细化,用一个大的更新替换为更小的阻尼子步骤。在七个密集、稀疏MoE和MLA+MoE模型家族中,我们的方法在MMLU-Pro上将Qwen3-4B-Instruct提升了2.64个百分点,在CommonsenseQA上将Qwen3-30B-A3B-Instruct提升了1.14个百分点,在OpenBookQA上将Moonlight-16B-A3B-Instruct提升了1.20个百分点。

英文摘要:

We introduce training-free looped transformers, in which a lightweight inference-time wrapper loops a contiguous mid-stack block of layers of a frozen checkpoint without additional fine-tuning, continued training, or architectural changes. Unlike prior looped transformer methods that train with the looped structure end-to-end, we retrofit recurrence onto pretrained models at test time. We show that naive block reapplication usually degrades performance, highlighting the importance of the loop application strategy. Motivated by viewing a pre-norm transformer block as a forward Euler step on an ODE, we instead treat looping as a refinement of the same approximation, replacing one large update with smaller damped sub-steps. Across seven dense, sparse MoE, and MLA+MoE model families, our method improves Qwen3-4B-Instruct by +2.64 pp on MMLU-Pro, Qwen3-30B-A3B-Instruct by +1.14 pp on CommonsenseQA, and Moonlight-16B-A3B-Instruct by +1.20 pp on OpenBookQA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑