HackerPapers

arXiv:2402.10200cs.CL

Chain-of-Thought Reasoning Without Prompting

Xuezhi Wang, Denny Zhou

Abstract

In enhancing the reasoning capabilities of large language models (LLMs), prior research primarily focuses on specific prompting techniques such as few-shot or zero-shot chain-of-thought (CoT) prompting. These methods, while effective, often involve manually intensive prompt engineering. Our study takes a novel approach by asking: Can LLMs reason effectively without prompting? Our findings reveal that, intriguingly, CoT reasoning paths can be elicited from pre-trained LLMs by simply altering the \textit{decoding} process. Rather than conventional greedy decoding, we investigate the top-$k$ alternative tokens, uncovering that CoT paths are frequently inherent in these sequences. This approach not only bypasses the confounders of prompting but also allows us to assess the LLMs' \textit{intrinsic} reasoning abilities. Moreover, we observe that the presence of a CoT in the decoding path correlates with a higher confidence in the model's decoded answer. This confidence metric effectively differentiates between CoT and non-CoT paths. Extensive empirical studies on various reasoning benchmarks show that the proposed CoT-decoding effectively elicits reasoning capabilities from language models, which were previously obscured by standard greedy decoding.

arXiv comments
Journal reference
DOI
Subjects
cs.CLComputation and Language

On Hacker News

Linked by 2 identifiable commenters in 3 comments across 3 threads, from Mar 2024 to Feb 2025. Found in 2 HN submissions from Feb 2024 to Sep 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • That has been my understanding too. More generally, a verifier at the end certainly helps. In our paper [1], we find that asking a follow up question like "Is the answer correct?" and taking the normalized probability of "Yes" or "No" token (or more generally any such token…

      activatedgeekView on HNParent context

    • I hesitate to the use description as "think," just biasing correlations for subsequent generations. In any case, there is at least one work that shows that CoT may not be necessary and biasing the decoding path via logit probabilities is also promising. [1] One could argue it…

      activatedgeekView on HNParent context

    • Actually you can get a very good proxy by looking at the probability distrobution of the "answer" tokens. The key here is you have to be able to identify the "answer" tokens. https://arxiv.org/abs/2402.10200

      XenophileJKOView on HNParent context

Submitted to Hacker News

  • Chain-of-Thought Reasoning Without Prompting
  • Cot Decoding – Eliciting Reasoning from LLMs

    A recent talk (https://dennyzhou.github.io/LLM-Reasoning-Berkeley.pdf) from Denny Zhou covered a number of techniques that improve LLM reasoning. In the talk he a recent paper from Google Deepmind on "Chain-of-Thought Reasoning without Prompting" (https://arxiv.org/abs/2402.10200). The key idea in the paper is that existing models are capable of doing CoT style step-by-step reasoning via a new decoding strategy. I implemented their approach in optillm…

Connected through shared HN threads, not inferred similarity or a recommendation.