What Survives a Loop? A Shared Decision Model for Encoders and Decoders
A looped Transformer refines token representations by applying the same layersacross successive passes. With additive residuals, each pass receives a singleaccumulated state per token. Attending to every earlier sublayer output would let themodel reweight individual updates, but each pass would lengthen the list itmust read. We investigate whether bidirectional encoders and causal decodersbenefit equally from access to this history when selecting a commonsenseanswer. Our Looped Attention Residuals model lets each sublayer weight earlieroutputs from the current pass individually and read a separate tokenwise sumfrom each completed pass. We pretrain eightvariants on the same 3B FineWeb-Edu tokens, varying the backbone, the number ofpasses (one or four), and the residual connection. All models score the fiveCommonsenseQA candidates with the same decision rule. Before supervisedfine-tuning, we compare learning from concept descriptions, ranking candidateanswers to relation questions, and applying the two stages in sequence. With four passes and direct fine-tuning, replacing additive residuals withdepth reads raises held-out accuracy by $10.23$ percentage points for theencoder and $0.96$ for the decoder. Relation ranking alone improves on directfine-tuning for all eight variants and six released baselines. Modelingdescriptions before ranking brings the Looped Attention Residuals encoder to$50.36\%$. Both looped decoders outperform GPT-Neo-125M on all four trainingroutes with roughly one hundredth of its reported pretraining token exposure.
Authors
- Stefan Decker (ORCID: https://orcid.org/0000-0001-6324-7164)
- Yixin Peng (ORCID: https://orcid.org/0009-0003-9777-0123)
Institutions
- Fraunhofer Institute for Production Technology IPT (DE)
- RWTH Aachen University (DE)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24682267
- Primary Topic
- Topic Modeling
- Type
- preprint