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

Aayush Karan, Yilun Du

International Conference on Learning Representations 2026 · Oral

Overview

This talk introduces a novel approach to inference with Large Language Models (LLMs) that challenges the prevailing paradigm of heavy post-training with reinforcement learning (RL). Presented by Aayush Karan, this research advocates for a fundamental rethinking of how we sample from generative models, suggesting that the inherent capabilities of a pre-trained base model are often underestimated and can be effectively unlocked through sophisticated sampling algorithms. The core argument is that the distribution learned during pre-training does not necessarily have to be the sole distribution used for downstream tasks like complex reasoning. While traditional methods like Reinforcement Learning from Human Feedback (RLHF), exemplified by algorithms like GRPO (Generalized Policy Optimization), have achieved significant breakthroughs in LLM performance across domains like math and coding, they come with substantial drawbacks, including setup complexity, training instability, and a critical issue known as entropy collapse. This paper proposes a complementary toolkit of sampling algorithms designed to extract rich distributional properties from the base model directly, achieving single-shot reasoning performance on par with or even surpassing RL-trained models, all without the need for additional training, verifiers, or curated datasets.

Watch on SlidesLive

Visual summary for Reasoning with Sampling: Your Base Model is Smarter Than You Think by Aayush Karan, Yilun Du
Visual summary for Reasoning with Sampling: Your Base Model is Smarter Than You Think by Aayush Karan, Yilun Du

Key moments

  1. 0:00 Introduction: Rethinking sampling for LLM inference
  2. 2:00 RL's entropy collapse and Pass@K accuracy decline
  3. 4:00 Power sampling matches RL performance without training
  4. 6:00 Power vs. low-temperature sampling for reasoning
  5. 7:30 Metropolis-Hastings algorithm for approximate power sampling
  6. 9:00 Empirical results: Power sampling matches/outperforms RL
  7. 10:00 Avoiding diversity collapse and improving Pass@K
  8. 13:00 Q&A: Choosing optimal alpha for power sampling

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

Speakers: Aayush Karan, Yilun Du

Conference: ICLR 2026

YouTube: https://slideslive.com/39062235

Overview

This talk introduces a novel approach to inference with Large Language Models (LLMs) that challenges the prevailing paradigm of heavy post-training with reinforcement learning (RL). Presented by Aayush Karan, this research advocates for a fundamental rethinking of how we sample from generative models, suggesting that the inherent capabilities of a pre-trained base model are often underestimated and can be effectively unlocked through sophisticated sampling algorithms. The core argument is that the distribution learned during pre-training does not necessarily have to be the sole distribution used for downstream tasks like complex reasoning. While traditional methods like Reinforcement Learning from Human Feedback (RLHF), exemplified by algorithms like GRPO (Generalized Policy Optimization), have achieved significant breakthroughs in LLM performance across domains like math and coding, they come with substantial drawbacks, including setup complexity, training instability, and a critical issue known as entropy collapse. This paper proposes a complementary toolkit of sampling algorithms designed to extract rich distributional properties from the base model directly, achieving single-shot reasoning performance on par with or even surpassing RL-trained models, all without the need for additional training, verifiers, or curated datasets.

The significance of this work lies in its potential to simplify the deployment and enhance the robustness of LLMs for reasoning tasks. By demonstrating that a pure sampling approach can rival or exceed the performance of computationally intensive post-training methods, it opens new avenues for leveraging existing pre-trained models more efficiently. The research highlights that many capabilities typically attributed to complex RL fine-tuning might already reside within the base model's learned distribution, merely awaiting a more intelligent sampling strategy to be revealed. This perspective not only offers a powerful, training-free alternative for certain reasoning tasks but also provides valuable insights into the fundamental mechanisms through which LLMs acquire and express knowledge, suggesting a nuanced interplay between sharpening existing capabilities and true exploration.

Background

▶ Watch: Introduction: Rethinking sampling for LLM inference (0:00)

The landscape of LLM development has been significantly shaped by the advent of reinforcement learning (RL), particularly Reinforcement Learning from Human Feedback (RLHF). Techniques like GRPO have become poster children for this paradigm, leading to massive boosts in performance across challenging domains such as STEM, mathematics, and coding. These methods operate by training a policy (the LLM) to maximize a verifiable reward signal, often derived from human preferences or an external verifier. While undeniably effective in pushing the frontier of LLM capabilities, this post-training approach is not without its significant downsides, which motivate the current research.

Firstly, the setup of RL-based post-training is inherently complex. It necessitates a reliable verifier or a meticulously crafted reward signal, which can be challenging and expensive to design and implement, especially for open-ended or nuanced tasks. Furthermore, RL requires large, carefully curated datasets for training, which are resource-intensive to acquire and maintain. The training process itself is often susceptible to instabilities and demands careful hyperparameter tuning, making it a non-trivial endeavor that can consume substantial computational resources and engineering effort.

More fundamentally, RL-trained models frequently exhibit a critical distributional issue known as entropy collapse. This phenomenon manifests as a drastic reduction in the diversity of generated outputs. When sampling multiple times from an RL-trained model, the diversity of generations can collapse, leading to a decline in reasoning performance, particularly in multi-shot accuracy. This means that if one samples multiple answers and attempts to select the best one (a common practice known as pass@K), the performance of an RL-trained model can actually dip below that of the original base model for a sufficiently large K. This striking observation suggests that while RL might improve single-shot accuracy, it can simultaneously narrow the model's exploratory capacity, making it less robust when diversity is beneficial. Additionally, post-trained models can become uncalibrated and overconfident, exhibiting high confidence in incorrect answers, a characteristic often linked to the sharpening effect of RL.

Prior work has illustrated this issue by showing that for a large enough K, the pass@K accuracy of RL models on math tasks eventually falls below that of the base model. This raises a crucial question: is RL truly teaching the model anything fundamentally new, or is it primarily sharpening existing capabilities within the base model's distribution? Further experiments reinforce this "sharpening" narrative: if one generates rollouts from an RL-trained model and plots their next-token log-likelihoods under the base model, these outputs tend to occupy a very sharp and narrow high-likelihood region. This indicates that RL outputs often have low perplexity or high confidence under the base model's distribution, suggesting that RL primarily focuses on exploiting and amplifying capabilities that are already implicitly present, rather than fostering genuine exploration of novel solution spaces. While RL does have an exploration phase, its dominance can depend on the setting, and the sharpening effect is a pervasive observation.

Key Findings

▶ Watch: Power sampling matches RL performance without training (4:00)

The central finding of this research is that it is possible to sample directly from a pre-trained base model and achieve single-shot reasoning performance that nearly matches or even outperforms state-of-the-art reinforcement learning (RL) methods like GRPO. Crucially, this is accomplished without any additional training, the need for a verifier, or curated datasets. This "pure sampling approach" not only rivals RL in single-shot accuracy but also fundamentally addresses and avoids the prevalent issue of diversity collapse observed in RL-trained models. By maintaining favorable distributional properties, the proposed method significantly improves multi-shot performance (pass@K accuracy), where RL models often degrade relative to the base model.

The key to this breakthrough lies in the concept of power sampling, a method that explicitly sharpens the base model's probability distribution at the sequence level. Instead of modifying the model's weights through training, power sampling reweights sequences from the base model's inherent distribution by exponentiating the probability distribution ($P^\alpha$ where $\alpha > 1$). This operation naturally increases the relative weight of high-likelihood sequences and decreases the weight of low-likelihood ones, mimicking the "sharpening" effect often observed in RL but achieving it through a purely distributional transformation.

A critical distinction is drawn between power sampling and traditional token-level low-temperature sampling. While low-temperature sampling scales the logits for next token prediction, power sampling performs a sequence-level reweighting. This means power sampling sharpens entire future paths before averaging, thereby favoring tokens that lead to few but high-likelihood future completions. This built-in inductive bias for planning makes power distributions more suited for reasoning tasks, as it guides the generation towards promising trajectories and avoids "trap" tokens that might lead to low-likelihood futures, which low-temperature sampling might erroneously favor.

Because sampling directly from an unnormalized power distribution ($P^\alpha$) is intractable, the research leverages approximate sampling techniques, specifically the Metropolis-Hastings (MCMC) algorithm. This algorithm allows for drawing samples from $P^\alpha$ without requiring explicit normalization over the exponentially large sequence space. The empirical results demonstrate that this Metropolis-Hastings-based power sampling consistently achieves strong performance across various domains (math, coding, science) and base models (Qwen, Phi, DeepSeek, Tulu), often outperforming GRPO, particularly in coding. Furthermore, it excels in unverifiable domains (e.g., AlpacaEval) where reward signals are difficult to obtain. The method's ability to avoid diversity collapse is a significant advantage, as evidenced by its superior pass@K performance compared to both GRPO and the base model, indicating access to a richer and more robust reasoning distribution.

Technical Deep Dive

▶ Watch: Metropolis-Hastings algorithm for approximate power sampling (7:30)

The core technical innovation presented is power sampling, a method designed to sharpen the base model's inherent probability distribution $P$ by considering $P^\alpha$, where $\alpha > 1$. This operation effectively reweights the probability mass, assigning higher relative weight to sequences that are already highly probable under the base model and proportionally reducing the weight of less probable sequences. Conceptually, for a toy mixture of Gaussians, exponentiating the distribution makes the peaks sharper and more pronounced, while the valleys become deeper. This directly mirrors the "sharpening" effect observed in RL-trained models, but it is achieved purely through a transformation of the probability distribution rather than through gradient-based training.

A critical differentiation is made between power sampling and token-level low-temperature sampling. While both aim to make generations more "confident" or "focused," their mechanisms and effects are fundamentally different.

Let $P(x)$ be the probability of a sequence $x = (x_1, \dots, x_L)$ under the base model, which can be decomposed as $P(x) = \prod_{t=1}^L P(x_t | x_{<t})$.

  • Token-level low-temperature sampling applies a temperature parameter $T$ (or its inverse $1/T$) to the logits before the softmax operation for each individual token prediction. The conditional distribution for the next token becomes $P_T(x_t | x_{<t}) \propto \exp(\text{logits}(x_t | x_{<t}) / T)$. This effectively averages future paths before sharpening. It tends to favor tokens that have many low-likelihood future paths, as long as the immediate next token's logit is high. This can lead to short-sighted decisions that trap the generation into suboptimal, low-likelihood complete sequences.
  • Power sampling, in contrast, aims to sample from a distribution proportional to $P(x)^\alpha$. The key insight is that this sharpening occurs at the sequence level. When deciding the next token, the power sampling approach effectively sharpens the full rollout probability first and then averages to determine the weight for the next token. Mathematically, this involves considering the integral (or sum) over all future completions. This approach explicitly favors tokens that lead to few but high-likelihood future completions. This provides a built-in inductive bias for planning: the algorithm selects tokens that are part of globally high-likelihood sequences, rather than locally high-likelihood tokens that might lead to dead ends. This makes power distributions inherently more suited for reasoning tasks, where long-term coherence and high-quality full sequences are paramount.

The challenge with directly sampling from $P(x)^\alpha$ is its intractability. $P(x)^\alpha$ is an unnormalized distribution; to sample from it accurately, one would need to compute a normalization constant (the sum over all possible sequences, which is exponentially large) to obtain a proper probability distribution. This is computationally infeasible for LLMs. Therefore, the paper appeals to approximate sampling techniques, specifically Markov Chain Monte Carlo (MCMC) methods.

The chosen MCMC algorithm is Metropolis-Hastings (MH). MH allows for sampling from a target distribution (in this case, $P(x)^\alpha$) without needing to compute its normalization constant. It operates by constructing a Markov chain of sequences that, given enough steps, will converge to samples from the target distribution. The algorithm proceeds as follows:

  1. Initialize: Start with an arbitrary sequence (e.g., a sample from the base model $P(x)$).
  2. Propose: Given the current sequence, a proposal distribution generates a candidate new sequence. In this work, the mutation is performed by resampling a suffix: a random intermediary index is chosen, and a new suffix is generated based on the beginning of the current sequence using the base model.
  3. Accept/Reject: The proposed candidate sequence is then accepted or rejected with a certain probability. This probability depends on the ratio of the target distribution's density at the candidate and current states, and the ratio of the proposal distribution's density. Crucially, the normalization constant cancels out in this ratio, making it computable. If accepted, the candidate becomes the new current sequence; otherwise, the chain remains at the current sequence.

Visually, this process can be imagined as iteratively generating portions of a sequence, using the power distribution's weights to implicitly verify which sequence extensions are better, and adapting the mutated candidate rollout. The log-likelihoods of the model serve as this implicit process verifier, guiding the chain towards higher-likelihood sequences under the sharpened distribution. After a sufficient number of steps (burn-in and sampling), the final sequence produced by the MH chain will approximate a sample from $P(x)^\alpha$. This approach allows the model to "explore" the high-likelihood regions of the sharpened distribution without explicit training or external reward signals.

Experimental Setup & Results

▶ Watch: Empirical results: Power sampling matches/outperforms RL (9:00)

The effectiveness of the proposed power sampling method, implemented via the Metropolis-Hastings algorithm, was rigorously evaluated across a variety of base models and reasoning domains.

Base Models: The experiments primarily showcased results for Qwen base models, but the findings were also replicated on Phi models. Subsequent reproductions by other researchers have extended these results to DeepSeek and Tulu models, underscoring the generalizability of the approach.

Domains & Benchmarks: The evaluation spanned challenging reasoning domains, including:

  • Math: Tasks requiring numerical reasoning and problem-solving.
  • Coding: Problems involving code generation and logical implementation.
  • Science: Questions testing scientific knowledge and reasoning.
  • Unverifiable Domains: For domains where a clear, verifiable reward signal is difficult to obtain (a common limitation for RL), the AlpacaEval benchmark was used. This benchmark measures the quality of model responses without relying on an explicit verifier, highlighting the advantage of a verifier-free approach.

Headline Results:

The core finding is that power sampling, without any training, verifier, or curated datasets, nearly matches if not outperforms traditional GRPO-based reinforcement learning across these diverse domains.

  • Math and Science: Power sampling consistently achieved performance on par with GRPO, demonstrating its ability to extract high-quality reasoning capabilities from the base model.
  • Coding: Notably, for coding tasks, power sampling outperformed GRPO, indicating a particular strength in generating accurate and coherent code.
  • Unverifiable Domains (AlpacaEval): The method also demonstrated superior performance compared to low-temperature sampling, GRPO, and the base model itself in these challenging scenarios, where the absence of a verifier makes RL difficult to apply.

Avoidance of Diversity Collapse (Pass@K Performance):

One of the most significant advantages demonstrated was the method's ability to avoid the diversity collapse observed in RL-trained models. The experiments showed that while GRPO's pass@K accuracy typically dips below the base model's after a certain number of samples (K), power sampling consistently exceeded both GRPO and the base model in pass@K performance. This indicates that samples generated by power sampling possess a richer and more robust reasoning distribution. Across multiple samples, they consistently exhibit higher reasoning capabilities compared to samples from either the base model or RL-trained models. This favorable distributional property is crucial for applications requiring robust and diverse candidate solutions.

Impact of Alpha ($\alpha$) Parameter:

The choice of the exponentiation power $\alpha$ was also empirically investigated.

  • Single-shot Reasoning: It was found that for single-shot reasoning, performance remains relatively stable as long as $\alpha > 2$. The exact value within this range did not drastically alter the single-shot accuracy, with results typically hovering around a $\pm 2\%$ accuracy margin.
  • Balance between Single-shot and Multi-shot/Diversity: The key consideration for choosing $\alpha$ lies in balancing single-shot performance with multi-shot distributional properties (i.e., maintaining diversity and avoiding collapse). Taking $\alpha$ to infinity would overly sharpen the distribution to the point of losing all diversity. Through empirical analysis, the paper identified $\alpha = 4$ as striking an ideal balance, yielding strong single-shot reasoning while preserving excellent distributional properties and multi-shot diversity. This specific value allows for effective sharpening without sacrificing the breadth of the solution space.

These results provide compelling evidence that advanced sampling techniques can unlock significant, often hidden, reasoning capabilities within pre-trained LLMs, offering a powerful and efficient alternative or complement to traditional reinforcement learning paradigms.

Practical Implications

▶ Watch: Q&A: Choosing optimal alpha for power sampling (13:00)

The findings presented in "Reasoning with Sampling: Your Base Model is Smarter Than You Think" carry substantial practical implications for various stakeholders in the AI/ML ecosystem, including practitioners, infrastructure teams, model builders, and deployers.

For practitioners and model builders, this research offers a powerful new tool to enhance LLM performance without the significant overhead associated with reinforcement learning. The ability to achieve state-of-the-art reasoning capabilities through a pure sampling approach means:

  • Reduced Development Cycle: There's no need for extensive RL training, which can be unstable, time-consuming, and require careful hyperparameter tuning. This drastically shortens the iteration cycle for deploying LLMs for reasoning tasks.
  • Lower Resource Requirements: Eliminating the need for a verifier or meticulously curated reward datasets significantly cuts down on data annotation costs and the engineering effort required to build and maintain complex reward models.
  • Access to Hidden Capabilities: The method reveals that base models possess strong reasoning capabilities that are often "hidden" when using naive sampling or even standard RL methods. This implies that existing pre-trained models can be leveraged more effectively for complex tasks than previously thought.
  • Improved Robustness: By avoiding the entropy collapse common in RL models, power sampling maintains generation diversity, which is critical for applications requiring multiple robust solutions or when the optimal answer is not immediately obvious. This leads to better multi-shot accuracy (pass@K), making the models more reliable in scenarios where multiple attempts are allowed.

For infrastructure teams and deployers, the implications are equally significant:

  • Simplified Deployment: A sampling-based approach removes the need to deploy and manage complex RL training pipelines, potentially simplifying the ML inference infrastructure.
  • Consistency: Without continuous retraining, the behavior of the model can be more consistent over time, reducing concerns about model drift that might arise from iterative RL fine-tuning.
  • Efficiency at Inference: While Metropolis-Hastings can be computationally more intensive per sample than naive ancestral sampling, it avoids the massive upfront training cost of RL. The trade-off shifts from training time and cost to inference time, but for many applications, the ability to get high-quality outputs without prior training makes this a favorable exchange.

Tradeoffs and Limitations:

While highly promising, the approach is not without its considerations:

  • Computational Cost of Sampling: The Metropolis-Hastings algorithm, being an MCMC method, requires running a chain for a certain number of steps to converge to a sample. This means generating a single "sample" might be more computationally intensive at inference time compared to a single forward pass of a standard LLM. However, this cost must be weighed against the non-existent training cost.
  • Choice of Alpha ($\alpha$): While the paper suggests $\alpha=4$ as an ideal balance, tuning $\alpha$ remains a hyperparameter choice that needs to be considered based on the specific task requirements, particularly the desired balance between single-shot performance and generation diversity.
  • Complementary, Not Replacement: The authors explicitly state that this method is not intended to replace RL entirely. Instead, it is presented as a powerful complementary tool. RL excels at fundamental exploration and introducing truly novel capabilities that might not be latent in the base model. Power sampling, on the other hand, is adept at maximizing the capabilities that already exist within the base model's distribution. The ideal scenario involves integrating both approaches: using sophisticated sampling to prevent entropy collapse and maintain diversity during post-training pipelines, while simultaneously leveraging RL for deeper exploration and skill acquisition. This integrated approach can lead to models that are both highly capable and robustly diverse.

In summary, this work provides a compelling case for re-evaluating the role of sampling in LLM inference. It empowers practitioners to unlock advanced reasoning from base models with fewer resources and greater distributional robustness, paving the way for more efficient and reliable LLM deployments.

Key Takeaways

  • Sampling as a Core Primitive: The talk advocates for treating advanced sampling algorithms as a fundamental primitive for LLM inference, capable of extracting strong, often hidden, reasoning capabilities from pre-trained base models without additional training.
  • Power Sampling for Sharpening: The core technical contribution is power sampling, which sharpens the base model's distribution by exponentiating it ($P^\alpha$). This sequence-level reweighting provides an inductive bias for planning, guiding generations towards high-likelihood full sequences.
  • Distinction from Low-Temperature Sampling: Power sampling is fundamentally different from token-level low-temperature sampling. It sharpens entire future paths before averaging, favoring tokens that lead to few but high-likelihood future completions, unlike low-temperature sampling which can favor tokens leading to many low-likelihood paths.
  • Metropolis-Hastings for Intractable Distributions: To sample from the unnormalized $P^\alpha$ distribution, the Metropolis-Hastings (MCMC) algorithm is employed. This enables approximate sampling by iteratively mutating and accepting/rejecting sequences, guided by the log-likelihoods of the base model.
  • Performance Parity (or Superiority) with RL: Power sampling nearly matches or even outperforms GRPO-based reinforcement learning across various domains (math, coding, science) and base models, notably excelling in coding and unverifiable domains.
  • Avoidance of Diversity Collapse: A critical advantage is its ability to avoid the entropy collapse seen in RL models. Power sampling maintains and even improves generation diversity, leading to superior multi-shot (pass@K) reasoning performance compared to both the base model and RL-trained models.
  • Complementary to RL: The approach is not a replacement for RL but a powerful complement. It's particularly useful for maximizing existing base model capabilities and preventing diversity collapse in post-training pipelines, allowing RL to focus on fundamental exploration.

About the Speaker(s)

Aayush Karan is the presenter of this talk, detailing the research conducted for the paper "Reasoning with Sampling: Your Base Model is Smarter Than You Think." His work focuses on rethinking fundamental primitives for running inference with Large Language Models, particularly exploring how advanced sampling algorithms can unlock inherent capabilities within base models.

Yilun Du is Aayush Karan's advisor and a co-author on the paper. The research presented is a joint effort between Aayush and Yilun, reflecting a collaborative exploration into the distributional properties of generative models and novel inference techniques.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026