passdrill
AI & LLM Engineering · Prompt Engineering · Card 044/049 hard

Standard zero-shot chain-of-thought prompting (Kojima et al., 2022) elicits step-by-step reasoning by appending an explicit instruction such as "Let's think step by step" before greedily decoding the response. Wang & Zhou (2024), "Chain-of-Thought Reasoning Without Prompting," report finding reasoning paths in a pretrained model without adding any such instruction to the prompt at all. What do they change instead, and what do they observe as a result?

  1. Instead of adding any chain-of-thought instruction to the prompt, they change how the very first token of the response is decoded, inspecting the top-k alternative tokens rather than only the single highest-probability greedy token at that first step; branching down some of those alternative paths reveals chain-of-thought reasoning that was already latent in the pretrained model, and when such a path appears, the model tends to show higher confidence in its final answer
  2. They fine-tune the pretrained model on a small set of chain-of-thought demonstrations, after which greedy decoding alone reproduces step-by-step reasoning without needing the "let's think step by step" instruction
  3. They replace the pretrained model's tokenizer with one that segments numbers digit by digit, which the paper claims is solely responsible for eliciting latent reasoning at the decoding stage
  4. They add a hidden system-level instruction that is invisible to the end user but functionally identical to Kojima et al.'s "let's think step by step" phrase, appended before decoding begins
Next card → Shuffle