From Chain-of-Thought to Loops: Non-Autoregressive Latent Reasoning via Looped Transformers
Gerard Grau García, Arnau Padrés Masdemont, Niccolò Grillo, Jordi Ros-Giralt, Arash Behboodi, Victor Conchello Vendrell
Abstract
Chain-of-thought (CoT) reasoning often improves language-model performance by giving models additional computation before answering. However, explicit CoT expresses this computation as a sequence of autoregressively generated tokens. Latent reasoning replaces these tokens with compact continuous states, but most autoregressive latent-reasoning methods retain a left-to-right dependency among latent vectors. We introduce LLoCoT: a looped latent-reasoning framework that replaces left-to-right latent generation with iterative refinement of a compact latent workspace. A shared transformer is reapplied for a small number of refinement iterations, jointly updating the latent slots based on the prompt and the evolving workspace state. Using the refined state, a probabilistic head predicts a distribution from which latent tokens are sampled in parallel and used to condition an autoregressive decoder for answer generation. Training uses continuous representations derived from explicit CoT together with a final-answer prediction loss and likelihood-based supervision of the latent states. Across HumanEval and MBPP, LLoCoT achieves the highest mean among the evaluated methods, performing on par in accuracy with Reasoning SFT, our explicit-CoT baseline, while outperforming the base model, answer-only SFT and NF-CoT. Relative to Reasoning SFT, LLoCoT reduces time to the first answer token by approximately and reasoning-phase latency by approximately , while increasing end-to-end throughput by . This design replaces serial thought generation with parallel latent-slot refinement while retaining probabilistic latent modeling and autoregressive answer decoding.
Create a lesson
Metadata
- Comments
- 9 pages, 1 figure
Related papers
Cited but Not Consulted: A Counterfactual Audit of Legal Chain-of-Thought Faithfulness
Shared title terminologycs.AISaisab Sadhu, Shreeyans Arora, Pratinav Seth
When do stored facts become available in looped transformers?
Shared title terminologycs.AIFabio Valerio Massoli, Arnau Padrés Masdemont, Jordi Ros Giralt et al.
BoundaryEvo: Data-Model Co-Evolution at the Capability Boundary for Long-Chain Reasoning Distillation
Shared title terminologycs.AIJiaming Su, Suorong Yang, Xudong Li et al.
Recompose and Refine Latent Reasoning Flows for Vision-Language-Action Models
Shared title terminologycs.AIHongyu Shi, Sen Zhao, Zuyu Zhang et al.
Preflight: Agentic Last-Mile Verification for AI Software Supply Chains
Shared title terminologycs.AIYaman Jandali, Nojan Sheybani, Farinaz Koushanfar et al.
Orthogonally Mixed Sign Coding with Progressive Residual Refinement for Transformer Weight Compression
Shared title terminologycs.AIAnindya Roy Chowdhury, Atanu Barai, Nandakishore Santhi