Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Reasoning with Sampling: Your Base Model is Smarter Than You Think

About

Frontier reasoning models have exhibited incredible capabilities across a wide array of disciplines, driven by posttraining large language models (LLMs) with reinforcement learning (RL). However, despite the widespread success of this paradigm, much of the literature has been devoted to disentangling truly novel behaviors that emerge during RL but are not present in the base models. In our work, we approach this question from a different angle, instead asking whether comparable reasoning capabilites can be elicited from base models at inference time by pure sampling, without any additional training. Inspired by Markov chain Monte Carlo (MCMC) techniques for sampling from sharpened distributions, we propose a simple iterative sampling algorithm leveraging the base models' own likelihoods. Over different base models, we show that our algorithm offers substantial boosts in reasoning that nearly match and even outperform those from RL on a wide variety of single-shot tasks, including MATH500, HumanEval, and GPQA. Moreover, our sampler avoids the collapse in diversity over multiple samples that is characteristic of RL-posttraining. Crucially, our method does not require training, curated datasets, or a verifier, suggesting broad applicability beyond easily verifiable domains.

Aayush Karan, Yilun Du• 2025

Related benchmarks

TaskDatasetResultRank
Code GenerationHumanEval
Pass@162.2
850
Code GenerationHumanEval (test)
Pass@153
444
Mathematical ReasoningMATH500 (test)--
381
Code GenerationHumanEval
Pass@152.8
108
Question AnsweringGPQA (test)--
55
Question AnsweringGPQA Diamond
Pass@138.9
49
Mathematical ReasoningMATH 500
Accuracy (pass@1)74.8
14
Code GenerationLiveCodeBench
Rate @1 Score32.4
8
Mathematical ReasoningAIME25 (test)
Pass@123.8
8
Mathematical ReasoningOlympiadBench (test)
@1 Success Rate27.4
8
Showing 10 of 11 rows

Other info

Follow for update