DiscoLoop: Looping Discrete Embeddings and Continuous Hidden States for Multi-hop Reasoning
Hengyu FuTianyu GuoZixuan WangHanlin ZhuJason D. LeeJiantao JiaoStuart RussellSong Mei
Hengyu Fu
Tianyu Guo
Zixuan Wang
Hanlin Zhu
Jason D. Lee
Jiantao Jiao
Stuart Russell
Song Mei
+8
Looped transformers, whose recurrent structure suits iterative composition, still generalize imperfectly on implicit in-weight multi-hop reasoning, especially out of distribution. On a symbolic two-hop task, the authors diagnose the cause mechanistically: after the first loop the intermediate answer is already partly decodable from the residual stream, but the continuous hidden vector carrying it is noisy and geometrically misaligned with the clean discrete embedding the next loop would ideally consume, and a training-free realignment nearly closes the OOD gap. Building on this, they propose DiscoLoop, a looping architecture whose recurrence carries both a discrete embedding channel and a continuous hidden-state channel. It achieves near-perfect two-hop accuracy with substantially less training on symbolic and synthetic-language tasks, and in real pretraining attains lower training loss and stronger benchmark performance than looped-transformer baselines.

OpenReview ·
· May 5, 2026