To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformers

Kevin Xu, Issei Sato
5/25/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Chain-of-Thought (CoT) and Looped Transformers have been shown to empirically improve performance on reasoning tasks and to theoretically enhance expressivity by recursively increasing the number of computational steps. However, their comparative capabilities are still not well understood. In this paper, we provide a formal analysis of their respective strengths and limitations. We show that Looped Transformers can efficiently simulate parallel computations for deterministic tasks, which we formalize as evaluation over directed acyclic graphs. In contrast, CoT with stochastic decoding excels at approximate inference for compositional structures, namely self-reducible problems. These separations suggest the tasks for which depth-driven recursion is more suitable, thereby offering practical cues for choosing between reasoning paradigms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2025loop,
  title  = {To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformers},
  author = {Kevin Xu and Issei Sato},
  year   = {2025},
  eprint = {2505.19245},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.19245v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.19245.svg)](https://codeofpaper.com/paper/2505.19245)

Discussion