Papers

Looped Attention Residuals 让循环 Transformer 的编码器准确率提升 10.23 个百分点

What Survives a Loop? A Shared Decision Model for Encoders and Decoders

Why we picked it

这篇 arXiv 论文改了循环 Transformer 的残差设计,用 depth reads 让每轮 pass 保留可读历史,编码器在 CommonsenseQA 上直接涨了 10.23 个点。做小模型或架构研究的人值得对比一下它和 GPT-Neo-125M 的训练效率差距。

arXiv 论文提出 Looped Attention Residuals 模型,让循环 Transformer 中每个子层可以对当前 pass 的更早输出单独加权,并从每个已完成的 pass 读取独立的逐 token 求和,替代传统的加性残差累积状态。

Body

研究者在相同的 3B FineWeb-Edu token 上预训练了八个变体,覆盖双向编码器和因果解码器两种骨干、单次或四次 pass,并用同一决策规则对 CommonsenseQA 的五个候选答案打分。四 pass 配合直接微调时,把加性残差换成 depth reads 后,编码器 held-out 准确率提升 10.23 个百分点,解码器提升 0.96 个百分点。

训练路线上,先学概念描述再对关系问题做候选排序的两阶段方案把 Looped Attention Residuals 编码器带到 50.36%。两个循环解码器在全部四条训练路线上都超过 GPT-Neo-125M,而预训练 token 暴露量约为其百分之一。

Original · arXiv cs.LG

What Survives a Loop? A Shared Decision Model for Encoders and Decoders

A looped Transformer refines token representations by applying the same layers across successive passes. With additive residuals, each pass receives a single accumulated state per token. Attending to every earlier sublayer output would let the model reweight individual updates, but each pass would lengthen the list it must read. We investigate whether bidirectional encoders and causal decoders benefit equally from access to this history when selecting a commonsense answer. Our Looped Attention Residuals model lets each sublayer weight earlier outputs from the current pass individually and read a separate tokenwise sum from each completed pass. We pretrain eight variants on the same 3B FineWeb-Edu tokens, varying the backbone, the number of passes (one or four), and the residual connection. All models score the five CommonsenseQA candidates with the same decision rule. Before supervised fine-tuning, we compare learning from concept descriptions, ranking candidate answers to relation questions, and applying the two stages in sequence. With four passes and direct fine-tuning, replacing additive residuals with depth reads raises held-out accuracy by $10.23$ percentage points for the encoder and $0.96$ for the decoder. Relation ranking alone improves on direct fine-tuning for all eight variants and six released baselines. Modeling descriptions before ranking brings the Looped Attention Residuals encoder to $50.36\%$. Both looped decoders outperform GPT-Neo-125M on all four training routes with roughly one hundredth of its reported pretraining token exposure.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Transformer, CommonsenseQA, FineWeb-Edu, GPT-Neo.

Source attribution: curated from arXiv cs.LG (@Yixin Peng, Stefan Decker).

Spotted an error in the summary or translation? Tell us