What Survives a Loop? A Shared Decision Model for Encoders and Decoders
Abstract
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 percentage points for the encoder and 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 . Both looped decoders outperform GPT-Neo-125M on all four training routes with roughly one hundredth of its reported pretraining token exposure.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
Related papers
What Makes Decoder-Based Sentence Embeddings Strong? Rethinking Encoder and Decoder Architectures for Sentence Embeddings
Shared title terminologycs.CLTatsuki Okada, Toru Sugimoto, Yusuke Sakai et al.
Breaking the KV Cache Bottleneck in Looped Transformers with Shared Token Latents
Shared title terminologycs.CLDehong Zheng, Tong Zhu, Yunkai Chai et al.
A Hands-On Introduction to Modern Decoder-Only Transformers
Shared title terminologycs.CLYang He
Prompt-Based Speculative Decoding for Grammatical Error Correction
Shared title terminologycs.CLRyszard Staruch, Filip Graliński
Instinct-Reranker: From Ranking to Decisions in Retrieval
Shared title terminologycs.CLSiqiao Xue, Zexian Zhang, Ning Hu
Ignorance Is Shared, Knowledge Is Private: Efficiently Mapping Knowledge Boundaries
Shared title terminologycs.CLOwais Aijaz, Nikhil Ranjan, Maaz Maqsood et al.