Wait, Wait, Wait... Why Do Reasoning Models Loop?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pipis, Charilaos, Garg, Shivam, Kontonis, Vasilis, Shrivastava, Vaishnavi, Krishnamurthy, Akshay, Papailiopoulos, Dimitris
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911318828646400
author Pipis, Charilaos
Garg, Shivam
Kontonis, Vasilis
Shrivastava, Vaishnavi
Krishnamurthy, Akshay
Papailiopoulos, Dimitris
author_facet Pipis, Charilaos
Garg, Shivam
Kontonis, Vasilis
Shrivastava, Vaishnavi
Krishnamurthy, Akshay
Papailiopoulos, Dimitris
contents Reasoning models (e.g., DeepSeek-R1) generate long chains of thought to solve harder problems, but they often loop, repeating the same text at low temperatures or with greedy decoding. We study why this happens and what role temperature plays. With open reasoning models, we find that looping is common at low temperature. Larger models tend to loop less, and distilled students loop significantly even when their teachers rarely do. This points to mismatches between the training distribution and the learned model, which we refer to as errors in learning, as a key cause. To understand how such errors cause loops, we introduce a synthetic graph reasoning task and demonstrate two mechanisms. First, risk aversion caused by hardness of learning: when the correct progress-making action is hard to learn but an easy cyclic action is available, the model puts relatively more probability on the cyclic action and gets stuck. Second, even when there is no hardness, Transformers show an inductive bias toward temporally correlated errors, so the same few actions keep being chosen and loops appear. Higher temperature reduces looping by promoting exploration, but it does not fix the errors in learning, so generations remain much longer than necessary at high temperature; in this sense, temperature is a stopgap rather than a holistic solution. We end with a discussion of training-time interventions aimed at directly reducing errors in learning.
format Preprint
id arxiv_https___arxiv_org_abs_2512_12895
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Wait, Wait, Wait... Why Do Reasoning Models Loop?
Pipis, Charilaos
Garg, Shivam
Kontonis, Vasilis
Shrivastava, Vaishnavi
Krishnamurthy, Akshay
Papailiopoulos, Dimitris
Machine Learning
Reasoning models (e.g., DeepSeek-R1) generate long chains of thought to solve harder problems, but they often loop, repeating the same text at low temperatures or with greedy decoding. We study why this happens and what role temperature plays. With open reasoning models, we find that looping is common at low temperature. Larger models tend to loop less, and distilled students loop significantly even when their teachers rarely do. This points to mismatches between the training distribution and the learned model, which we refer to as errors in learning, as a key cause. To understand how such errors cause loops, we introduce a synthetic graph reasoning task and demonstrate two mechanisms. First, risk aversion caused by hardness of learning: when the correct progress-making action is hard to learn but an easy cyclic action is available, the model puts relatively more probability on the cyclic action and gets stuck. Second, even when there is no hardness, Transformers show an inductive bias toward temporally correlated errors, so the same few actions keep being chosen and loops appear. Higher temperature reduces looping by promoting exploration, but it does not fix the errors in learning, so generations remain much longer than necessary at high temperature; in this sense, temperature is a stopgap rather than a holistic solution. We end with a discussion of training-time interventions aimed at directly reducing errors in learning.
title Wait, Wait, Wait... Why Do Reasoning Models Loop?
topic Machine Learning
url https://arxiv.org/abs/2512.12895