Asymmetric Looped Transformers: Fixed Global Representations for an Iterative Decoder
Cheng Liang, Tengfei Zhang, Wenjie DU, Jianyu Wu, Changlian Ma, Shuchen Pu, Ya Zhang, Yanfeng Wang, Zhouhan Lin
Abstract
Looped Transformers increase effective depth by repeatedly applying shared layers, offering a way to scale computation without increasing parameter count. However, full-stack looping places context construction and iterative state refinement within the same recurrent computation, without explicitly distinguishing their roles. We introduce the Asymmetric Looped Transformer (AsymLoop), which separates single-pass context encoding from recurrent state refinement. A single-pass causal encoder produces layer-specific Global key-value (KV) caches that remain fixed across iterations, while a weight-tied recurrent decoder generates Local KV from its evolving state. Joint attention over both sources under a single softmax allows each update to integrate persistent contextual information with the current intermediate state. For training, we apply a heavy-tail-guided layerwise learning-rate method to the encoder and decoder. Experiments on FineWeb-Edu across four model scales, from 60M to 1B, show consistently lower validation perplexity and higher average downstream accuracy than Full Loop under matched effective depth and training token budgets. At 1B, AsymLoop improves average zero-shot accuracy across seven commonsense reasoning benchmarks from 49.58% to 50.85%. Further experiments extend these benefits to longer training budgets, an OLMo-style backbone, and sparse mixture-of-experts models. These results support asymmetric context encoding and state refinement as an effective design for recurrent language models.
Create a lesson
Related papers
Decoding Transformer Dynamics via Koopman Subspaces
Shared title terminologycs.CLSubhradeep Kayal, Ali Dashti
Reading Between the Layers: Where Representation Quality Lives, and What Geometry Reveals
Shared title terminologycs.CLArnesh Batra, Aniket Khandelwal, Arush Gumber et al.
Deneb-Vritra: Descriptions, Edges and Names Examined by Blocking Via Restoring Token Representations and Attention
Shared title terminologycs.CLMohammed Nayeem Khan, Akhil P, Shahina Shaik
Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding
Shared title terminologycs.CLMohammad Mahdi Moradi, Ali Pourranjbar, Zongzuo Wang et al.
Unlocking the Power of Loops in Pretrained LLMs with Loop Residuals
Shared title terminologycs.CLXuanlei Zhao, Hailun Xu, Kai Wang et al.
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.