Power Sampling: Waking the Logical Ghost Inside Base Models
A detailed Chinese forum post discusses a Harvard study (Karan & Du, 2025, arXiv:2510.14901) arguing that base LLMs already contain latent reasoning ability, and that a sampling algorithm—not RL training—can unlock it.
Key points
1. RL as "distribution sharpening," not alchemy
- RL post-training (e.g., GRPO, as in DeepSeek-R1 / OpenAI o1) is widely credited with *creating* reasoning ability.
- The paper's core hypothesis, distribution sharpening, claims RL only reshapes the model's probability distribution toward high-probability modes—it filters existing capabilities rather than adding new ones. RL is "gold panning," not alchemy.
- Low-temperature sampling applies \(p_{\text{temp}}(x_t | x_{<t}) \propto p(x_t | x_{<t})^\alpha\) at each step.
- The desired power distribution acts on whole sequences: \(p_{\text{pow}}(x) \propto p(x)^\alpha\).
- Proposition 1 shows the difference: low temperature weights a token by \((\sum p_{\text{future}})^\alpha\), while the power distribution weights by \(\sum (p_{\text{future}}^\alpha)\).
- Consequence: low temperature favors tokens with many mediocre continuations; the power distribution favors tokens with even one path to a correct answer—crucial at pivotal tokens in reasoning chains.
- Power sampling nearly matches RL in-domain (math) without any training.
- Out-of-domain (code), RL actually *degrades* the base model (catastrophic forgetting / distribution collapse), while power sampling massively improves it—a "lossless" enhancement.
- Pass@k curves: GRPO's curve flattens (mode collapse), while power sampling keeps finding diverse correct solutions.
- Modular arithmetic (MATH500): GRPO misapplies the digit-sum shortcut to modulus 18 and answers 4; power sampling rejects the shortcut after resampling (future likelihood drops) and does long division, answering 13 correctly.
- Fib4 coding task (HumanEval): GRPO writes broken loop logic (overfit to standard Fibonacci); power sampling respects the no-recursion constraint and initializes four variables correctly.
- A paradigm shift from training-time compute to inference-time compute: quality is bought with more MCMC iterations, giving a tunable "intelligence knob" that fixed RL-post-trained models lack.
- Practical advice from the post:
2. Low-temperature sampling is the wrong way to sharpen
3. Autoregressive MCMC sampling
Since sampling exactly from \(p(x)^\alpha\) is intractable, the authors use Metropolis-Hastings in an autoregressive loop:
1. Generate a draft segment (e.g., with low-temperature sampling). 2. Pick a random position \(t\), truncate, and regenerate a new continuation. 3. Accept/reject the new ending based on the \(p^\alpha\) likelihood score. 4. Iterate at inference time; generation proceeds in blocks (e.g., B = 192 tokens) for efficiency.
4. Experimental results
| Task | Base model | RL (GRPO) | Power Sampling | |---|---|---|---| | MATH500 (Qwen2.5-Math-7B) | 49.6% | 78.5% | 74.8% | | HumanEval (Phi-3.5-mini) | 21.3% | 13.4% | 73.2% (+51.9%) | | GPQA | tested | — | competitive |
5. Case studies
6. Implications
References
1. Karan, A., & Du, Y. (2025). Reasoning with Sampling: Your Base Model is Smarter Than You Think. arXiv:2510.14901 2. Shao, Z., et al. (2024). DeepSeek-Math. 3. Guo, D., et al. (2025). DeepSeek-R1.