Recurloop Transformer: Superposition Across Depth and Tokens
Wenjun Feng, Yifei Shen, Hao Liu, Jinbo Sun, Haoxiang Guan +5
Scaling large language models has relied on growing parameters, data, and compute together, leaving open how far efficiency can be pushed at fixed parameter count, in both finite-data and fresh-data regimes. A natural route is superposition, reusing shared weights for multiple computation steps along the two orthogonal dimensions of autoregressive modeling. Vertical depth loops iterate shared layers within each token, while horizontal cross-token loops pass each position's final state to the next token. Unifying both promises compounding gains, yet naive single-stream composition creates a representational conflict between token identity and carried history, trailing a plain Looped baseline at matched compute. Guided by ablations and mechanistic analysis, we introduce the Recurloop Transformer, combining gated RMS-rescaled feedback, asymmetric two-stream multiplexing, and a periodic multi-pass schedule, where preserving an unperturbed token pathway enables cleaner information fusion between current tokens and carried history. Across 113M-1.3B parameters, Recurloop outperforms standard and looped baselines at every scale under matched tokens and FLOPs, delivering up to 2.39x FLOP…