Papers
Topics
Authors
Recent
Search
2000 character limit reached

Long Chain-of-Thought Prompting

Updated 10 July 2026
  • Long Chain-of-Thought prompting is a strategy that elicits detailed, multi-step reasoning traces from large language models, enabling effective handling of complex tasks.
  • It employs extended, reflective prompts with techniques like iterative decomposition and self-doubt checks to manage reasoning depth and reduce error accumulation.
  • Empirical studies indicate that optimized long reasoning chains can boost accuracy by 15–20 points, though they require careful control to avoid overthinking.

Long Chain-of-Thought prompting is a family of inference and training strategies that elicit extended intermediate reasoning traces from LLMs, typically to improve performance on complex, multi-step, or long-context tasks. In contrast to standard Chain-of-Thought prompting, which commonly uses concise rationales of roughly $3$–$6$ deductive steps or a handful of short exemplars, Long CoT uses richly detailed reasoning paths that may span several hundred to over a thousand tokens, often including reflective summaries, retrospection on earlier steps, explicit error checking, or cited context excerpts. Across recent work, Long CoT is studied both as a prompt design technique for “slow thinking” and as a target for process supervision, while also raising questions about overthinking, faithfulness, noise sensitivity, and computational cost (Yang et al., 1 Sep 2025, Zhu et al., 28 Feb 2025, Peng et al., 29 May 2025, Yu et al., 2023).

1. Definition and conceptual scope

Long CoT extends standard CoT by increasing both the granularity and the length of the reasoning trace. One formulation treats the prompt as a set of exemplars X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N, where each example contains a question qiq_i, a rationale rir_i, and an answer aia_i. Standard CoT uses concise rationales, whereas Long CoT substitutes exemplars whose rationales are “an order of magnitude longer,” often $300$–1,0001{,}000 tokens, and explicitly encode reflective checks, retrospective summaries, and final high-level justification (Yang et al., 1 Sep 2025).

A second formulation arises in long-context reasoning. Here the point of Long CoT is not only to show more steps, but to structure inference over extensive inputs by decomposing the problem, retrieving and citing relevant excerpts, deriving partial conclusions, and aggregating them into a final answer. This framing emphasizes two central long-context difficulties: information retrieval over noise and step-wise reasoning drift. Long CoT is presented as a mechanism for systematically traversing long contexts and reducing error compounding, with benefits that “generalize across most long-context scenarios” and increase as context length grows (Zhu et al., 28 Feb 2025).

The broader prompting literature treats chain length as only one dimension of a more general design space. Long chains can arise through fixed-length prompting, iterative decomposition, self-consistency sampling, progressive hints, tree-based search, or recursive self-questioning. This suggests that “long” CoT is not a single template, but a family of procedures for expanding the model’s intermediate computation in natural language (Yu et al., 2023, Qi et al., 2023).

2. Formalizations of chain length, quality, and overthinking

A standard abstraction represents a reasoning chain as

R={r1,r2,,rL},R=\{r_1,r_2,\dots,r_L\},

where each rjr_j is an intermediate step and $6$0 is the total number of steps. The survey literature defines accuracy as a function of chain length,

$6$1

and defines a coherence score across adjacent steps,

$6$2

with $6$3 instantiated by a sentence- or embedding-based similarity metric such as cosine over Sentence-BERT. These definitions make chain length a measurable control variable rather than a purely stylistic feature (Yu et al., 2023).

Another formalization models CoT inference itself as

$6$4

Within this view, in-context signals shape the rationale distribution $6$5, while pretrained priors influence both rationale generation and answer prediction. Lexical-level analysis in later work argues that CoT exemplars teach structure words, feature words, verbs, and locational or person entities, but that model behavior remains strongly conditioned by pretrained priors, especially when prompts are noisy or misleading (Yang et al., 1 Sep 2025).

A separate line of work formalizes overthinking in Long CoT by introducing a self-doubt perspective. Let a generated CoT contain $6$6 total tokens, and let $6$7 be the first token position at which the answer is already correct. Then the paper defines total reasoning length $6$8, minimum-needed length $6$9, self-doubt length X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N0, and the self-doubt ratio

X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N1

The same work labels each CoT as overthinking with self-doubt, overthinking without self-doubt, or non-overthinking, and defines the overthinking rate as the fraction of samples in the first two categories. This reframes excessive chain length not merely as verbosity but as a measurable post-correctness continuation phenomenon (Peng et al., 29 May 2025).

3. Prompting architectures and search procedures

The prompting literature identifies several mechanisms for inducing long reasoning. Template design matters: bulleted “Step 1, Step 2” prompts often yield longer, clearer chains, while narrative templates can compress logic into fewer steps. Active instructions such as “Let’s think step by step” or “Outline your reasoning in five or more steps” are used to set lower bounds on chain length. More elaborate schemes include Progressive-Hint prompting, which reveals later prompts only after earlier steps are validated, and rationale-augmented ensembles that merge fragments from multiple runs (Yu et al., 2023).

Longer chains can also be produced by decomposition rather than by a single uninterrupted monologue. The survey highlights iterative decomposition approaches such as Least-to-Most and Self-Ask, where a complex query is broken into smaller subqueries, each solved with its own shorter chain; the concatenation of these micro-chains yields an effectively long but structured CoT. Tree-of-Thought and Selection-Inference methods instead expand a search tree of partial chains and select promising branches, using search depth as a proxy for reasoning length (Yu et al., 2023).

“SOCRATIC QUESTIONING” provides a concrete recursive alternative to single-pass CoT. It begins from an original question X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N2, uses a Question-Answering module to attempt an answer and assign a confidence level, and only generates sub-questions when confidence is not high and depth or turn limits have not been reached. The framework defines

X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N3

X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N4

and

X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N5

Its top-down self-questioning and bottom-up hint aggregation are intended to mitigate the error accumulation associated with linear CoT, and empirical results are reported on MATH, MMLU-Physics, MMLU-Chemistry, LogiQA, and multimodal VQA benchmarks (Qi et al., 2023).

This contrast is important conceptually. Long CoT is often treated as a longer linear rationale, but the broader literature shows that depth can emerge from recursive branching, confidence-gated sub-questioning, or tree search rather than from a single continuous chain. A plausible implication is that the key variable is not only length, but how extra reasoning tokens are allocated.

4. Long-context reasoning and process supervision

Long-context tasks motivate a more structured form of Long CoT. “Chain-of-Thought Matters: Improving Long-Context LLMs with Reasoning Path Supervision” introduces LongRePS, a process-supervised framework that teaches models to generate high-quality reasoning paths over long inputs. The framework has three stages: self-sampling of candidate CoTs, quality assessment and selection, and supervised fine-tuning (Zhu et al., 28 Feb 2025).

In the self-sampling stage, for each example X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N6, the model samples X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N7 reasoning paths X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N8 by temperature sampling, using a prompt that requires question breakdown, citation of up to 10 exact excerpts “X={(qi,ri,ai)}i=1NX=\{(q_i,r_i,a_i)\}_{i=1}^N9” from the source text, and stepwise deduction to a concise final answer. In the quality assessment stage, each path is evaluated along three dimensions: Answer Correctness, Source Faithfulness, and Intrinsic Consistency. The paper defines

qiq_i0

and selects the highest-scoring path among candidates that pass the hard correctness and faithfulness filters. Supervised fine-tuning then minimizes

qiq_i1

optionally augmented with an outcome-supervision term (Zhu et al., 28 Feb 2025).

The reported setup uses MuSiQue extended to qiq_i2–qiq_i3K tokens per example, approximately qiq_i4 instances, with LLaMA-3.1-8B-Base and Qwen-2.5-7B-Base as base models, qiq_i5 candidates per example, qiq_i6, and 2 epochs of fine-tuning on approximately qiq_i7 filtered examples. Relative to outcome supervision baselines, LongRePS improves MuSiQue F1 by qiq_i8 for LLaMA and qiq_i9 for Qwen, and improves cross-domain multiple-choice accuracy by rir_i0 points on average for LLaMA and rir_i1 for Qwen across LongBench V1 and V2 QA tasks (Zhu et al., 28 Feb 2025).

This line of work treats Long CoT as a supervision target rather than only a prompting artifact. It also places unusual emphasis on citation faithfulness: every excerpt used in the rationale must match an exact substring of the original context, making path verification operational rather than purely semantic.

5. Overthinking, self-doubt, and input validation

One of the central criticisms of Long CoT is that longer reasoning does not necessarily mean better reasoning. “Revisiting Overthinking in Long Chain-of-Thought from the Perspective of Self-Doubt” argues that a major fraction of unnecessary reasoning arises after the model has already reached the correct answer. The paper characterizes this behavior as self-doubt: a tendency to repeatedly verify or question information that has already been correctly inferred, driven by over-reliance on user input. The authors report that self-doubt accounts for the majority of needless reasoning steps, constituting more than rir_i2 of overthinking cases (Peng et al., 29 May 2025).

To mitigate this behavior, the paper proposes a two-stage input-validation prompt:

R={r1,r2,,rL},R=\{r_1,r_2,\dots,r_L\},3

The intended workflow is explicit. In Stage 1, the model questions the validity of the input question by checking for missing premises or ambiguities. In Stage 2, it either produces the shortest correct answer for a well-posed question or abstains by naming what is missing. This changes Long CoT from unconditional elaboration into conditional reasoning triggered only after input validation (Peng et al., 29 May 2025).

On well-posed mathematical reasoning tasks—GSM8K, GSM8K-Zero, and Math-500—averaged across four RLLMs, the method yields an average gain of rir_i3 tokens and rir_i4 accuracy. On missing-premise datasets—MiP-Formula, MiP-SVAMP, MiP-GSM8K, and MiP-MATH—it substantially reduces answer length while increasing abstention rates, for example from rir_i5 to rir_i6 on MiP-Formula and from rir_i7 to rir_i8 on MiP-SVAMP. The analysis further reports that Math-500 sees a rir_i9 percentage-point drop in self-doubt ratio. The paper also states that the gains come largely from the single addition of the input-validity check, without separate reinforcement or an external reranker (Peng et al., 29 May 2025).

The resulting picture is more nuanced than a simple “longer is better” narrative. Long CoT can improve reasoning, but it can also induce unnecessary re-verification. The same extra token budget that enables careful deduction can be consumed by self-doubt.

6. Empirical regularities, trade-offs, and open problems

Several empirical regularities recur across the literature. First, Long CoT often improves performance when the task genuinely requires multi-step inference or long-context aggregation. One paper reports that substituting short CoT with Long CoT yields gains of aia_i0–aia_i1 points in accuracy at a cost of aia_i2–aia_i3 more tokens. In the reported examples, LLaMA3.1-8B on GSM8K rises from aia_i4 with aia_i5 tokens to aia_i6 with aia_i7 tokens, while Qwen2.5-32B rises from aia_i8 with aia_i9 tokens to $300$0 with $300$1 tokens. On Date Understanding, Qwen2.5-32B increases from $300$2 to $300$3 as token count grows from $300$4 to $300$5 (Yang et al., 1 Sep 2025).

Second, the benefit of longer chains is not monotonic. The same paper reports a U-shaped relation between verb count and accuracy: for small average verb count $300$6, increasing $300$7 helps, but beyond an optimal $300$8, additional reasoning harms performance. The survey literature describes a similar pattern, with $300$9 rising quickly for small 1,0001{,}0000, then plateauing or dipping once 1,0001{,}0001 exceeds a task-dependent optimum, while coherence often decays once the chain becomes too long. This suggests that Long CoT has an “ideal depth” rather than an unlimited length advantage (Yang et al., 1 Sep 2025, Yu et al., 2023).

Third, Long CoT is sensitive to prompt quality. Noise ablations show that false-answer and false-rationale exemplars can sharply degrade performance as the number of exemplars increases, and token-wise log-probabilities under false prompts show higher variance. This is interpreted as instability when in-context learning signals conflict with pretrained priors (Yang et al., 1 Sep 2025).

Fourth, model capacity and compute budget constrain usable chain length. The survey states that large models, described as 1,0001{,}0002B parameters, exhibit a threshold effect in benefiting from CoT, whereas smaller models often hallucinate on long chains. Recursive or search-based alternatives also incur multi-call overhead: SOCRATIC QUESTIONING in its 2-turn setting averages 1,0001{,}0003 LLM calls per instance, compared with 1,0001{,}0004 for Self-Consistency CoT and 1,0001{,}0005 for Tree-of-Thought, with corresponding wall-clock times of approximately 1,0001{,}0006 seconds, 1,0001{,}0007 seconds, and 1,0001{,}0008 seconds per instance (Yu et al., 2023, Qi et al., 2023).

Open problems are correspondingly diverse. Generalization beyond math, symbolic reasoning, and long-context QA remains unresolved in several studies. Verifier reliability remains a concern both for self-doubt labeling and for intrinsic consistency scoring. LongRePS was evaluated on 1,0001{,}0009B-scale models and contexts up to R={r1,r2,,rL},R=\{r_1,r_2,\dots,r_L\},0K tokens, leaving R={r1,r2,,rL},R=\{r_1,r_2,\dots,r_L\},1B-plus models and R={r1,r2,,rL},R=\{r_1,r_2,\dots,r_L\},2K-plus contexts as an explicit extension target. Other identified questions include faithfulness of intermediate steps, end-to-end joint training that integrates sampling and policy update, and decoding strategies that reduce repetitiveness in very long chains (Peng et al., 29 May 2025, Zhu et al., 28 Feb 2025, Yu et al., 2023).

Long Chain-of-Thought prompting therefore occupies a dual position in current research. It is simultaneously a practical method for eliciting stronger reasoning and a diagnostic object that exposes the limits of natural-language inference traces: noise accumulation, conflict between in-context learning and pretrained priors, search cost, evaluator bias, and overthinking. The strongest current results come from treating chain length as a controllable design variable—structured by decomposition, citations, confidence, or input validation—rather than as an unconditional instruction to generate more tokens.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Long Chain-of-Thought Prompting.