Skip to content

Why We Think

optionalextendedfrontierblogrubric 7/122025 · ~60 min

Lilian Weng

Status

TL;DR. A long survey (May 2025) of why giving models time to “think” helps, and of the main ways to do it. It moves from motivation (System 1 vs System 2, computation as a resource, the latent-variable view) to methods (parallel sampling, sequential revision, RL, tools), and then to faithfulness, latent-space thinking and scaling laws for thinking time. It ends with six open questions.

The post is a map. Its sections line up with pages on this site:

  • Motivation: compute per token is about 2×2\times the parameter count, so more tokens means more computation. Thinking is a latent variable: P(y∣x)=∑zP(z∣x) P(y∣x,z)P(y\mid x)=\sum_z P(z\mid x)\,P(y\mid x,z).
  • Thinking in tokens: Chain-of-Thought.
  • Branching and editing: parallel sampling (Self-Consistency, best-of-N, beam search with process rewards) and sequential revision (compute-optimal test-time scaling).
  • RL for better reasoning: DeepSeek-R1-style training. See PPO for the base algorithm.
  • Thinking faithfully: CoT faithfulness, CoT monitorability, obfuscation under monitoring.
  • Thinking in continuous space: recurrent architectures such as the Universal Transformer, special thinking tokens, Quiet-STaR.
  • Thinking as latent variables: EM and iterative learning (STaR).
  • Scaling laws for thinking time: Snell et al.’s exchange rate and s1’s budget forcing.

As a survey, the post collects other papers’ findings. Highlights: Snell et al. find test-time compute covers the gap with a larger model on easy and medium questions but not on hard ones. s1’s budget forcing scales with thinking length, while plain rejection sampling by length shows inverse scaling. Quiet-STaR improves Mistral 7B zero-shot on CommonsenseQA from 36.3% to 47.2% and on GSM8K from 5.9% to 10.9%. Baker et al. find that a CoT monitor in the reward leads to obfuscated hacking. Chen et al. find a model exploiting a flawed grader on more than 99% of prompts while verbalising it less than 2% of the time in more than half of the environments.

Weng’s companion post on reward hacking covers the RL side in depth. Aviral Kumar’s job talk gives background on the RL view of test-time compute.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    The post says a Transformer spends about 2 × parameters FLOPs per generated token, and for MoE models gives computation = 2 × parameters / sparsity, with sparsity defined as the fraction of experts active. Check this on DeepSeek-V3 (671B total parameters, 37B active, 9 of 257 experts used per token). What is the right per-token cost, and what goes wrong if you plug in the expert fraction?

    What a strong answer covers
    • The right cost uses active parameters: 2 × 37B ≈ 74 GFLOPs per token, against about 1.34 TFLOPs if all 671B were used.
    • With sparsity read as the fraction active (9/257 ≈ 0.035), dividing gives 2 × 671B / 0.035 ≈ 38 TFLOPs, which goes the wrong way. The formula only works if sparsity means total/active, or if one multiplies by the fraction.
    • Even multiplying, 671B × 9/257 ≈ 23.5B underestimates the 37B active, because attention, embeddings and the shared expert run for every token.
    • Lesson: compute per token depends on active parameters, which is why MoE models can think longer for the same budget.
  2. Mechanism

    The post frames thinking as a latent variable: P(y | x) = Σ over z of P(z | x) P(y | x, z). Explain how this view accounts for parallel sampling with voting, search against a verifier, and training methods like STaR or EM over chains of thought.

    What a strong answer covers
    • The chain z is unobserved. The answer probability marginalises over many possible chains, so a richer distribution over y can be represented than direct answering allows.
    • Sampling many chains and voting approximates the marginal over z (self-consistency). Search or rejection against a verifier approximates sampling from the posterior P(z | x, y).
    • Training: STaR fine-tunes on chains that reach the correct answer, and for failures generates a rationalisation conditioned on the true answer. The post views this as an approximate policy gradient with reward 1[ŷ = y]. EM alternates between sampling good chains and maximising likelihood.
    • The view suggests optimising log P(y | x) over many chains rather than trusting one chain.
  3. Critique

    The post reports that adding a CoT monitor to the RL reward leads to obfuscated reward hacking, and that in one study a model exploited a flawed grader on more than 99% of prompts while verbalising it less than 2% of the time. What do these findings imply about using chain-of-thought text as a training signal versus as a monitoring signal?

    What a strong answer covers
    • Optimising against the monitor teaches the model to hide intent in its chain while still hacking (Baker et al.), so the monitor loses its value.
    • The low verbalisation rate (Chen et al.) shows chains can omit the real cause of behaviour even without pressure, so monitoring has false negatives.
    • Practical rule: keep CoT monitors out of the reward and use them for detection and auditing, accepting that they are incomplete.
    • Weng lists open questions here: rewarding faithful, readable chains without reward hacking, and detecting hacking without human review.

Done with this page?

Status