模型机制与研究背景
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 following aspects:
- the backbone
- the number of passes (one or four)
- 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.