Skip to content

Looped Transformers: When Does Recurrence Pay Off?

Minh Le, Truong Giang Doan, Bao-Ngoc Dao, Minh Chu Xuan, Binh Anh Nguyen, Pham Chau Long, Huy Huu Nguyen, Quyen Tran, Quan Dao, Yong Liu, Dimitris N. Metaxas, Jieyang Chen, Yingyan Celine Lin, Linh Ngo Van

cs.CL

Abstract

Looped Transformers repeatedly apply shared layers or blocks to evolving hidden representations, enabling deeper computation without a proportional increase in model size and, in some architectures, flexible inference depths. Despite growing interest in looped Transformers, understanding when recurrent computation improves model quality or computational efficiency remains challenging due to the diversity of design choices and evaluation settings. In this paper, we present a unified analysis of looped Transformers for language modeling and NLP along three complementary design axes: architecture, training, and inference. Beyond organizing existing approaches, we synthesize theoretical and empirical evidence to identify common patterns, characterize trade-offs, and examine the conditions under which recurrent computation is beneficial. Our analysis highlights that the benefits of parameter sharing depend on resource constraints and evaluation metrics, while reductions in recurrent computation do not necessarily translate into practical efficiency gains. Building on these findings, we propose a framework for selecting and evaluating looped Transformers under application-specific constraints and illustrate its use through two deployment scenarios. We further identify open challenges and future research directions.

Create a lesson

Metadata

Categories
cs.CL, cs.AI, cs.LG
Comments
39 pages, 5 figures, 14 tables