Reproduce “Reasoning with Sampling: Your Base Model is Smarter Than You Think” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Aayush Karan, Yilun Du

Power sampling uses a base model’s likelihoods to iteratively revise candidate responses at inference time, without updating weights or using training data or a verifier. It uses Metropolis–Hastings sampling to favor higher-likelihood complete sequences. On HumanEval, Qwen2.5-Math-7B scores 0.573 accuracy versus GRPO’s 0.537; on MATH500, it scores 0.748 versus GRPO’s 0.785, showing gains are not uniform.

Key insights

  • Sampling from the power distribution $p^\alpha$ is fundamentally distinct from traditional low-temperature sampling, as it focuses on upweighting tokens with 'few but high likelihood future paths' essential for reasoning.
  • Base large language models possess greater latent reasoning capabilities than conventionally assumed, which can be effectively elicited purely through sophisticated inference-time sampling without additional training.
  • The success of power sampling reinforces the 'distribution sharpening' hypothesis, suggesting that much of the improvement from RL-posttraining comes from refining the model's likelihood of selecting existing high-quality solutions.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.