Manuscript Offprint
arXiv:2610.20483Decoupled Marginal Sharpening for Training-Free Inference-Time Scaling
Abstract
We study how to improve LLM reasoning at inference time without updating model weights or using external reward models. Recent reward-free power-sampling methods define the sequence-level power target , where , which increases the relative probability of completions that are already likely under the base model. Existing methods use Metropolis–Hastings or Sequential Monte Carlo (SMC) to approximately sample from this target. However, two challenges arise at different levels. At the target level, full-sequence sharpening can concentrate probability on a few exact reasoning–answer trajectories, suppressing alternative paths that support the same answer. At the sampler level, finite-particle SMC approximations can suffer from path collapse when resampling repeatedly duplicates a few high-weight prefixes. To address these challenges, we propose Decoupled Marginal Sharpening (DMS), which separately controls how strongly the model favors particular reasoning paths and how strongly it favors final answers after aggregating support across those paths. At the target level, DMS first samples from a sharpened reasoning distribution, then marginalizes the model's answer probabilities over the resulting weighted reasoning population and sharpens the induced answer marginal. Separate exponents allow mild reasoning sharpening to encourage exploration of diverse paths, followed by stronger answer-marginal sharpening to concentrate probability on answers with greater aggregate support across those paths. At the sampler level, we develop Fully Adapted Annealed SMC, which combines an annealed sequence of power targets with locally fully adapted proposals and predictive ancestor resampling. Experiments on MATH500, GPQA-Diamond, HumanEval, and AIME24/25 across three base models show that DMS achieves the highest mean pass@1 among the compared methods in all tasks.
1 Introduction
Large language models can improve their reasoning performance through additional training (Zelikman et al., 2022; Ouyang et al., 2022; Hsieh et al., 2023; Shao et al., 2024; Zhang et al., 2026) or additional computation at inference time (Wang et al., 2022; Yao et al., 2023; Snell et al., 2024; Wang et al., 2026). We focus on inference-time scaling methods that keep the model fixed and use its own probabilities to guide generation, without additional model updates. These methods can be broadly divided into reward-based and reward-free approaches. Reward-based methods use an external reward model or verifier to guide generation toward higher-quality solutions (Zhao et al., 2024; Feng et al., 2025; Markovic-Voronov et al., 2026). Their effectiveness depends on the availability and accuracy of these signals (Zhu and Lu, 2026). Reward-free methods instead rely on signals already contained in the base model. A prominent approach is sequence-level power sampling, which defines the target distribution , where is the base model, is the prompt, and is a complete generated sequence. This power transformation sharpens the base distribution by increasing the relative probability of more likely completions, making the distribution more concentrated. Sampling each token according to this target requires summing powered sequence probabilities over all possible future continuations, which is generally intractable. Existing methods approximate this sharpened distribution through Metropolis–Hastings updates to generated sequences (Karan and Du, 2025), token sampling guided by probabilities estimated from future continuations (Ji et al., 2026), or Sequential Monte Carlo (SMC) (Azizi et al., 2026).
This work was conducted during Weixin Wang's internship at Morgan Stanley.
Standard Decoding
△ Low-Temperature Decoding
Power-SMC
Marginal Sharpening
DMS (Ours)
Qwen3-4B
MATH500

GPQA-Diamond
HumanEval
AIME24/25
Qwen3-8B
DeepSeek-R1-Distill
Llama-8B
Mean inference time (seconds per problem)
Figure 1: Accuracy and inference latency across three models and four reasoning benchmarks. Our method DMS achieves the highest accuracy in all settings while requiring less inference time than the strong baseline Marginal Sharpening. Vertical error bars indicate standard deviation in pass@1. In each subplot, higher accuracy and lower latency are better (toward the upper left).
For mathematical and coding tasks, an LLM typically generates a reasoning path followed by a final answer. Sharpening the full sequence therefore favors individual reasoning–answer pairs with high joint likelihood. However, different reasoning paths can lead to the same correct answer, which may receive substantial combined support even when each individual path has relatively low probability. Sharpening these pairs separately can consequently reduce the probability of an answer supported by many such paths. Moreover, higher sequence likelihood does not necessarily imply correctness (Zenn and Geiping, 2026). Self-consistency and marginal sharpening account for support across reasoning paths (Wang et al., 2022; Arzhantsev et al., 2026); in particular, marginal sharpening aggregates conditional answer probabilities under the original reasoning distribution before sharpening the resulting answer marginal. We seek to retain this aggregation while also guiding reasoning toward more likely paths. The two stages thus call for different sharpening strengths: mild sharpening during reasoning favors more likely paths while retaining alternatives for aggregation, whereas stronger sharpening after aggregation concentrates probability on answers supported by their combined contributions.
To this end, we propose Decoupled Marginal Sharpening (DMS), a training-free framework that separately controls sharpening at the reasoning and answer stages. Given a prompt x, let z denote a reasoning path and a denote its answer. DMS first sharpens the reasoning distribution, averages the model's conditional answer probabilities over the resulting distribution of reasoning paths, and then sharpens the resulting answer marginal:
The reasoning exponent controls how much each reasoning path contributes to the answer marginal, while the answer exponent controls how strongly the final distribution concentrates on answers with greater aggregate support. Choosing these exponents separately allows answer selection to become more concentrated without requiring equally strong sharpening of the reasoning distribution. In practice, we estimate the answer marginal from a finite population of reasoning paths. Repeated SMC resampling can duplicate a few high-weight prefixes and discard alternatives, causing path collapse and reducing the distinct reasoning paths available for aggregation. To address this sampling challenge, we develop Fully Adapted Annealed SMC (FAA-SMC), which combines annealed power targets, predictive ancestor resampling, and locally fully adapted proposals. The resulting weighted reasoning population defines an empirical answer marginal. DMS samples answer candidates from this marginal, evaluates each complete candidate under all reasoning paths, and approximates the sharpened answer target.
Our contributions are summarized as follows:
-
We propose DMS, a training-free two-stage marginal sharpening framework with separate control over reasoning-path concentration and answer-level consensus. DMS sharpens the reasoning distribution and then sharpens the answer marginal obtained by aggregating probabilities across reasoning paths, using different exponents for the two stages.
-
We develop a practical sampling procedure for the two-stage target. FAA-SMC combines exact annealing bridges, predictive resampling, and locally fully adapted propagation to approximate the sharpened reasoning distribution. A finite-particle answer sampler then approximates the sharpened answer marginal through cross-reasoning likelihood evaluation.
-
We evaluate DMS on MATH500, GPQA-Diamond, HumanEval, and AIME24/25 across three base models. DMS achieves the highest mean pass@1 among the compared methods in all twelve model-benchmark settings.
Reward-free methods instead use signals already contained in the base model, such as sequence likelihood or agreement among sampled solutions. One line of work uses sequence-level power sampling, which defines the target for . Karan and Du (2025) approximately sample from this target using an iterative Metropolis–Hastings-style procedure. Ji et al. (2026) improve sampling efficiency by approximating the future correction associated with the sequence-level power objective during autoregressive decoding. Sequential Monte Carlo provides a parallel alternative by maintaining and resampling a population of weighted partial generations. Azizi et al. (2026) propose Power-SMC, which uses token-level importance corrections, adaptive resampling, and exponent bridging to approximate the sequence-level power target. Nguyen et al. (2026) further improve particle allocation using short-horizon rollouts or an amortized estimate of future probability mass. Related reward-free SMC methods also consider sampling from ensemble distributions constructed from multiple language models or prompts (Chan et al., 2026). Complementary studies examine how model-intrinsic scores interact with sampling, optimization, and consensus-based decoders (Cheng et al., 2026), and show that increasing sequence likelihood does not necessarily improve reasoning accuracy (Zenn and Geiping, 2026).
Beyond sampling individual sequences, reward-free methods can aggregate support across reasoning paths at the answer level. Self-consistency samples multiple reasoning trajectories and selects the answer with the greatest aggregate support (Wang et al., 2022). Arzhantsev et al. (2026) formulate self-consistency as marginal sharpening over final answers, constructing the answer marginal under the original reasoning distribution. DMS extends this formulation by allowing the reasoning distribution used to construct the marginal to be sharpened independently of the subsequent answer sharpening.
3 Preliminaries
LLM Generation and Sequence-Level Power Sharpening. Given a problem prompt , an autoregressive language model generates each token conditioned on the prompt and the preceding tokens. The probability of a sequence is therefore , where . We use as the maximum generation length. If generation ends before , we pad the sequence with a fixed terminal symbol and assign conditional probability one to each padding step, leaving the sequence probability unchanged.
Huang et al. (2025) observe that correct responses tend to have higher likelihoods under the model and that selecting responses with higher likelihoods can improve accuracy, although the gains depend on the base model and task. These observations motivate distribution sharpening: keeping the model parameters fixed while changing the sampling distribution to favor responses that the model already assigns higher probability.
For training-free LLM reasoning, Karan and Du (2025) propose sampling from a sequence-level power distribution that implements this principle while keeping the base model fixed:
where is the normalizing constant. When , this target recovers the base model distribution. For , it favors outputs the model is more confident in, as reflected by their higher likelihood.
To sample a sequence from one token at a time, we need the conditional probability of each next token under . Computing these probabilities requires summing over all possible future continuations, which is generally intractable. Simply lowering the temperature of the base model's next-token distribution does not account for the powered probability mass of these continuations and therefore does not generally produce samples from . We therefore use sequential Monte Carlo (SMC), which generates tokens from tractable proposal distributions and uses importance weights to correct for the difference between the proposal and target distributions.
Sequential Monte Carlo. SMC approximates the target distribution using particles, each consisting of a generated prefix and an importance weight (Zhao et al., 2024; Azizi et al., 2026). At step , the weighted particles approximate the distribution proportional to , where is a sequence of unnormalized intermediate targets satisfying
The normalized terminal target is therefore in (3.1).
All particles start from the empty prefix with equal weights . At each step, a proposal distribution specifies how to sample the next token. To account for the proposal probability and the change from to , we use the incremental importance weight
Particle k is then extended and reweighted according to
To determine when to resample, we normalize the weights and compute the effective sample size:
A small ESS indicates that a few particles carry most of the total weight. When for a threshold , SMC selects prefixes according to their normalized weights, allowing the same prefix to be selected multiple times. The selected prefixes form a new particle population with equal weights, and generation continues separately from each selected prefix. At termination, the weighted population approximates .
With a finite particle budget, repeated resampling can lead to path collapse: high-weight prefixes are repeatedly copied while other prefixes are discarded, leaving many particles descended from only a few earlier prefixes. Although resampling resets the weights, it does not recover the discarded paths. This loss of reasoning-path diversity motivates the sampler design introduced in our methodology.
4 Methodology: Decoupled Marginal Sharpening
We propose Decoupled Marginal Sharpening (DMS), which first sharpens the reasoning distribution and then sharpens the answer marginal constructed from it. To approximate these targets, we develop Fully Adapted Annealed SMC (FAA-SMC) to generate a weighted population of reasoning paths. We sample answer candidates from the resulting empirical marginal, evaluate each candidate under all paths, and reweight them for final selection. Figure 2 illustrates the overall procedure.

Figure 2: Overview of DMS. FAA-SMC constructs weighted reasoning paths that define an empirical answer marginal. We sample candidates from this marginal and select the final answer according to their normalized answer-sharpening weights.
4.1 Two-Stage Sharpened Target
We write the complete generation as , where is the reasoning path and is the complete answer token sequence generated after it, such as a mathematical response or a code completion. The base model distribution factorizes as .
Sequence-level power sharpening applies the same exponent to both factors: . This ties reasoning and conditional answer sharpening to the same strength. However, reasoning and answer selection serve different purposes. During reasoning, we want to favor likely paths while retaining alternatives for exploration; when selecting the final answer, we want to concentrate on candidates with strong model support. We therefore introduce separate exponents, allowing mild or no additional reasoning sharpening together with stronger answer sharpening.
Reasoning-Level Sharpening. We first define the reasoning target with its own exponent:
where is the normalizing constant. Setting retains the base reasoning distribution, while increasing gives greater relative probability to more likely reasoning paths. Choosing this exponent independently lets us control the preference for these paths during reasoning exploration without tying it to the strength used for answer selection.
Reasoning-Induced Answer Marginal. With the reasoning distribution in (4.1) specified, we next construct the corresponding answer marginal. Marginalization combines support for the same answer across different reasoning paths, so that subsequent answer sharpening acts on their total contribution. We define the answer marginal distribution as follows,
The marginal measures the combined support for this answer under chosen reasoning distribution.
Marginal Answer Sharpening. We then sharpen the answer marginal with a separate exponent:
where is the normalizing constant. For a fixed , increasing gives greater relative probability to answers with larger marginal probability while preserving their ranking under . The final answer distribution can therefore be sharpened more strongly while the reasoning distribution remains fixed.
Remark 4.1. The order of marginalization and answer sharpening matters. Under sequence-level sharpening, the probability assigned to an answer is proportional to , so each trajectory is sharpened before contributions to the same answer are combined. This can make a single likely trajectory outweigh several less likely trajectories even when their combined probability was originally greater, reversing the ranking of their associated answers. In DMS, answer sharpening acts on the combined probability already obtained under . Consequently, even setting does not generally recover the answer marginal of sequence-level sharpening. When , we have , and the ideal target in (4.2) reduces to marginal sharpening under the original reasoning distribution (Arzhantsev et al., 2026).
To approximate the target in (4.2), we first estimate using a finite weighted population of reasoning paths. We next describe FAA-SMC, a stable and efficient sampler designed to mitigate path collapse when constructing this population.
4.2 Reasoning Sampling with FAA-SMC
FAA-SMC approximates the reasoning target in (4.1) with final exponent . It combines two mechanisms: annealing introduces sharpening gradually during generation, while a resample-propagate update allows copies of a selected prefix to generate their next tokens independently.
Annealed Intermediate Targets. Applying the final sharpening strength from the start can concentrate particles before alternative reasoning paths have been explored. We therefore use a nondecreasing schedule and define
Under these targets, the incremental importance weight in becomes
The prefix factor accounts for the change in exponent applied to tokens already generated. Since , (4.3) ends at the specified power target. Annealing therefore changes how sharpening is introduced during generation while preserving the final target.
Fully Adapted Resample–Propagate. We next choose a proposal that allows the importance correction to be computed before generating the next token. Let denote the current context. We use the locally fully adapted proposal
where and is the token vocabulary. Substituting this proposal into (4.4) cancels the dependence on the sampled token:
The remaining correction depends only on the current prefix. We can therefore compute the predictive weights and use them to select ancestor prefixes before propagation.
At resampling checkpoints, we resample prefixes according to their normalized predictive weights if and reset their weights to equal values. Each prefix then independently samples its next token from , with no further weight correction since already accounts for it. Resampling before propagation allows copies of the same prefix to generate different next tokens instead of inheriting the same newly sampled token. Algorithm 2 in Appendix A summarizes the procedure.
Consider a simple example: suppose three trajectories leading to answer a each have probability 0.2, while one trajectory leading to answer b has probability 0.4. Their base answer probabilities are 0.6 and 0.4. With , sequence-level sharpening gives unnormalized answer masses 0.12 and 0.16, reversing their ranking. Sharpening the base answer marginal instead gives 0.36 and 0.16.
Remark 4.2 (Comparison with propagate-resample SMC). Consider a prefix selected twice at a resampling step. A propagate-resample update in standard SMC copies the same newly generated token into both particles. FAA-SMC instead selects the prefix first and then draws a next token independently for each copy, allowing the copies to follow different continuations immediately. For example, if two tokens each have probability 1/2 under , two copies of the same prefix independently draw different tokens with probability 1/2.
Island-DMS. On difficult problems requiring long reasoning paths, repeated resampling can lead to more severe path collapse, especially when the particle population is small. In extreme cases, all final particles may descend from only one or two initial particles. To preserve multiple particle diversity, we adopt an island variant (Vergé et al., 2015). We divide the total population into independent islands of particles, with . Each island runs FAA-SMC and resamples only within its own population. Since each island retains at least one initial-particle ancestor, pooling all islands guarantees at least distinct ancestors, even if all particles within each island share the same ancestor.
We retain all final reasoning paths and assign equal total weight to each island. If is the normalized weight of particle within island , its pooled weight is . This pooled population defines the empirical answer marginal used in the next subsection.
4.3 Sampling from the Sharpened Answer Marginal
Let denote the weighted reasoning population returned by FAA-SMC, with . For Island-DMS, we use the pooled population defined above. Each path ends at the reasoning-answer boundary and provides the context for both answer generation and scoring. We replace the sum over all reasoning paths in with the weighted sum over this population:
This empirical marginal defines the answer target , which approximates the ideal target in (4.2). We approximate sampling from this target by generating candidates from and correcting the difference through importance weighting.
Generating Answer Candidates. Since is a mixture, we can sample from it by first selecting a reasoning path according to its weight and then generating an answer conditioned on that path. Repeating these two draws independently produces M candidates:
Each candidate therefore follows , even though its generation uses only one reasoning path. This mixture serves as the proposal distribution for answer sharpening.
Evaluating Answer Marginal Probabilities. Generating a candidate requires only one selected path, but evaluating its marginal probability requires contributions from the entire reasoning population. We therefore score the same complete answer under every retained context and combine the conditional probabilities using (4.5). This allows paths other than the one used for generation to contribute to the candidate's probability for final selection. Additional detail of derivation is described in Appendix A.
Answer Reweighting and Selection. The proposal is , whereas the unnormalized answer target is . Their ratio gives the importance weight
Candidate generation already samples answers in proportion to their marginal probabilities, so the correction uses only the remaining power . We normalize the weights as , draw , and return .
Conditional on the reasoning population, this sampling-importance-resampling procedure approximates using M candidates. Algorithm 1 summarizes DMS.
Algorithm 1 DMS: Decoupled Marginal Sharpening
Require: Prompt , base model , reasoning particle count , answer candidate count , exponents , reasoning schedule , resampling threshold , and resampling checkpoints.
1: Run FAA-SMC in Algorithm 2 over the reasoning segment to obtain .
2: for do
3: Sample .
4: Generate a complete answer .
5: Score under all reasoning paths and compute using (4.5).
6: Compute using (4.6).
7: end for
8: Normalize the answer weights to obtain .
9: Sample and return .
5 Experiments
5.1 Experimental Setup
Models and baselines. We evaluate DMS using Qwen3-4B, Qwen3-8B (Yang et al., 2025), and DeepSeek-R1-Distill-Llama-8B (Guo et al., 2025). The Qwen3 models use their native chat templates with thinking mode enabled. We compare against standard decoding, low-temperature decoding, Power-SMC (Azizi et al., 2026), and Marginal Sharpening (Arzhantsev et al., 2026). Power-SMC targets a sharpened distribution over complete sequences, while Marginal Sharpening sharpens the answer marginal induced by the original reasoning distribution.
Benchmarks and evaluation. We evaluate on MATH500 (500 problems) (Hendrycks et al., 2021; Lightman et al., 2024), GPQA-Diamond (198 questions) (Rein et al., 2023), HumanEval (164 problems) (Chen et al., 2021), and AIME24/25 (60 problems from AIME I and II in both years). These benchmarks cover mathematical reasoning, scientific question answering, and code generation. Mathematical predictions are extracted from the final boxed expression and graded using normalized exact matching and symbolic equivalence. GPQA-Diamond uses exact option matching, while HumanEval completions are evaluated against the original unit tests in isolated processes with a three-second timeout.
Sampling protocol. DMS uses reasoning particles and answer candidates per problem. We use standard DMS on MATH500, GPQA-Diamond, and HumanEval, and Island-DMS with eight islands of two particles on AIME24/25. Candidates are sampled from the weighted reasoning mixture and cross-scored under all paths to estimate their marginal probabilities and compute answer-level importance weights. Generation budgets, sharpening exponents, and implementation details are provided in Appendix B.
Metrics. Our primary metric is pass@1 of the final returned answer. For DMS, one answer is sampled categorically from the candidates according to their normalized importance weights. We report the mean and sample standard deviation over three random seeds, .
5.2 Main Results
Table 1 reports pass@1 across three models and four benchmarks. DMS achieves the highest mean accuracy in all twelve settings, improving over the strongest baseline by 0.34–10.07 percentage points. On MATH500, DMS reaches 85.67% and 85.53% with Qwen3-4B and Qwen3-8B, exceeding Power-SMC by 8.00 and 10.07 points, respectively. On HumanEval, it achieves 95.53% and 95.93%, improving over Marginal Sharpening by 5.49 and 8.94 points.
Standard DMS achieves the highest mean accuracy on MATH500, GPQA-Diamond, and HumanEval for all three models. It also exceeds the strongest baseline on AIME24/25, reaching 72.78%, 74.44%, and 55.00% with Qwen3-4B, Qwen3-8B, and DeepSeek-R1-Distill-Llama-8B, respectively. Island-DMS further raises these results to 75.00%, 77.22%, and 57.78%, adding 2.22–2.78 percentage points while retaining the same total reasoning particle count.
The strongest baseline varies across tasks: Power-SMC performs best on MATH500, while Marginal Sharpening leads on the other three benchmarks. DMS achieves the highest mean pass@1 in each setting. Its comparison with
Table 1: Pass@1 (%) across models and benchmarks. Shaded rows denote DMS, and boldface indicates the highest mean within each model–benchmark setting. The DMS results on AIME24/25 use the Island-DMS variant.
| Model | Method | MATH500 | GPQA-Diamond | HumanEval | AIME24/25 |
|---|---|---|---|---|---|
| Qwen3-4B | Standard Decoding | ||||
| Low-Temperature Decoding | |||||
| Power-SMC | |||||
| Marginal Sharpening | |||||
| DMS (Ours) | |||||
| Qwen3-8B | Standard Decoding | ||||
| Low-Temperature Decoding | |||||
| Power-SMC | |||||
| Marginal Sharpening | |||||
| DMS (Ours) | |||||
| DeepSeek-R1-Distill-Llama-8B | Standard Decoding | ||||
| Low-Temperature Decoding | |||||
| Power-SMC | |||||
| Marginal Sharpening | |||||
| DMS (Ours) |
Marginal Sharpening is particularly relevant because this baseline already aggregates answer probabilities across reasoning paths. The results support the complete DMS procedure, which combines a separately controlled reasoning distribution with marginal-probability weighting of complete answer candidates. DMS also has lower measured inference latency than Marginal Sharpening in all twelve settings; timing details are provided in Appendix F.
5.3 Ablation Study on AIME24/25
We examine the contributions of the two sharpening stages and island sampling on AIME24/25 using Qwen3-8B. All two-stage variants share the same prompts, grader, and 16,384-token limit per reasoning-answer trajectory, with reasoning particles and answer candidates. In Table 2, the reference DMS configuration uses . Setting either exponent to one disables the corresponding sharpening operation; setting both to one gives structured decoding without sharpening. Island-DMS keeps the exponents and total particle count fixed while dividing the reasoning population into eight independent islands of two particles.
Table 2: Component analysis on AIME24/25 using Qwen3-8B. Expected accuracy is the probability of selecting a correct answer under the normalized answer weights, averaged over problems. Pass@1 evaluates one sampled answer per problem, while oracle pass@32 is the fraction of problems with at least one correct answer among the 32 candidates. All accuracy metrics are percentages.
| Variant | Expected | Pass@1 | Oracle pass@32 | ||
|---|---|---|---|---|---|
| Structured decoding only | 1 | 1 | 66.48 | 67.78 | 82.78 |
| Answer sharpening only | 1 | 4 | 76.89 | 77.22 | 82.78 |
| Reasoning sharpening only | 1.005 | 1 | 71.77 | 72.78 | 78.33 |
| Standard DMS | 1.005 | 4 | 74.55 | 74.44 | 78.33 |
| Island-DMS | 1.005 | 4 | 76.83 | 77.22 | 81.67 |
With unsharpened reasoning (), increasing from 1 to 4 raises expected accuracy from 66.48% to 76.89%. At , mild reasoning sharpening raises average candidate correctness from 66.48% to 71.77%, but reduces oracle pass@32 from 82.78% to 78.33%. Reasoning sharpening therefore improves average candidate correctness while reducing correct-answer coverage in this setting. At fixed exponents and particle count, Island-DMS raises expected accuracy from 74.55% to 76.83% and oracle pass@32 from 78.33% to 81.67%. However, answer sharpening alone achieves similar expected accuracy (76.89%), and both obtain 77.22% pass@1. Thus, additional reasoning sharpening is not required for the best observed pass@1 in this setting, supporting independent choices of the two exponents.
Due to space limit, we defer additional experiments to the appendix. In particular, we report sensitivity to the two sharpening exponents in Appendix C and ablations of annealing and resampling in Appendix D. We also provide a diagnostic using a higher-budget reasoning sampler in Appendix E, together with inference latency comparison and a breakdown of DMS runtime in Appendix F.
6 Conclusion
We studied training-free inference-time scaling for LLM reasoning, aiming to improve answer accuracy without updating model weights or relying on external reward models. Sequence-level power sampling faces both sampler-level and target-level challenges: finite-particle SMC can suffer from path collapse, while full-sequence sharpening can suppress alternative reasoning paths that support the same answer. We proposed DMS, a two-stage marginal sharpening framework with separate sampler-level and target-level designs. At the sampler level, FAA-SMC combines annealed power targets, predictive resampling, and locally fully adapted proposals. At the target level, DMS sharpens the reasoning distribution, marginalizes answer probabilities over the resulting reasoning population, and then sharpens the induced answer marginal. Separate exponents control reasoning-path concentration and answer-level consensus, allowing answers to be weighted according to their aggregate support across reasoning paths. Experiments on MATH500, GPQA-Diamond, HumanEval, and AIME24/25 across three base models show that DMS achieves the highest mean pass@1 among the compared methods in all twelve settings, including comparisons with Power-SMC and Marginal Sharpening. Future work includes improving answer-marginal estimation, reducing particle degeneracy during reasoning, and developing adaptive choices of sharpening strengths and inference-time budgets.
A Additional Details for DMS
Algorithm 2 summarizes FAA-SMC. DMS applies this sampler to the reasoning segment with terminal exponent .
Target Preservation under Annealing. Let denote the sequence proposal obtained from the token-level proposal kernels. Along any fixed sequence with positive proposal probability, the incremental importance ratios telescope:
Thus, annealing changes the intermediate targets while preserving the specified final power target. For a terminated particle, subsequent steps append the fixed terminal symbol with probability one, so . Its incremental corrections then reduce to , which must still be applied until the final exponent is reached.
Algorithm 2 FAA-SMC: Fully Adapted Annealed SMC
Require: Prompt , base model , exponent schedule , particle count , resampling threshold , and resampling checkpoints.
1: Initialize and for .
2: for do
3: Set and compute and for all .
4: Compute and normalize to obtain .
5: if is a resampling checkpoint and then
6: Resample the prefixes and their associated proposals according to , and set for all .
7: else
8: Set for all .
9: end if
10: For prefixes that terminated before step , set to the fixed terminal symbol.
11: For all other particles, independently sample .
12: end for
13: Normalize the final weights and return .
Augmented Representation of the Answer Target. The answer target in (4.2) admits the joint representation
Summing over reasoning paths gives
The additional power factor depends on the answer marginal and is shared by all reasoning paths paired with the same answer sequence.
Numerical Evaluation of Answer Weights. We compute the answer importance weights using the empirical marginal , which approximates from the finite weighted reasoning population. For each candidate , its conditional log probability under reasoning path is
Only answer tokens contribute to this score; the reasoning path provides the conditioning context. To evaluate the empirical marginal in log space, we set and compute
The log importance weight is . We similarly normalize these weights using :
Subtracting the maximum improves numerical stability without changing the marginal probabilities or normalized importance weights.
B Experimental Setup and Implementation Details
Models and benchmarks. We evaluate Qwen3-4B, Qwen3-8B, and DeepSeek-R1-Distill-Llama-8B using their native chat templates, with thinking mode enabled for Qwen3. Inference uses bfloat16 on one NVIDIA H100 80 GB GPU per task. We evaluate all 500 MATH500 problems, 198 GPQA-Diamond questions, 164 HumanEval problems, and 60 AIME24/25 problems. Results are averaged over seeds .
Generation and evaluation. Within each model–benchmark setting, all methods use the same model checkpoint, tokenizer, user-level problem prompt, maximum length per reasoning–answer trajectory, answer extractor, and grader. The maximum generation lengths are 4224 tokens for MATH500, 8192 for GPQA-Diamond, 4608 for HumanEval, and 16384 for AIME24/25. Standard and low-temperature decoding generate a single completion containing both reasoning and the final answer, using the full generation limit. Power-SMC likewise generates complete reasoning–answer particles within the same per-particle limit. These methods do not reserve a separate answer budget or insert a reasoning–answer boundary. Marginal Sharpening and DMS allocate the trajectory budget as tokens for MATH500, for GPQA-Diamond, for HumanEval, and for AIME24/25, where the first and second terms specify the reasoning and answer limits, respectively. If a reasoning trace reaches its limit without producing a reasoning–answer boundary, we append a single </think> token. This token is included in the continuation context but excluded from the reasoning-path likelihood and residual importance-weight calculation. For non-code benchmarks, the separated answer stage is initialized with a boxed-answer prefix and terminates after a complete boxed expression; HumanEval uses a native code continuation. Answer generation and cross-scoring use the same continuation context, including any inserted boundary token and fixed answer prefix; only generated answer tokens contribute to the conditional answer likelihood. Mathematical predictions are evaluated by normalized exact matching and symbolic equivalence, GPQA uses exact option matching, and HumanEval executes the original base tests in an isolated process with a three-second timeout.
Baselines. Standard and low-temperature decoding use temperatures 1 and 0.25, respectively, with top-. Power-SMC uses particles and checks the particle weights every 64 tokens, applying systematic resampling when ESS . Its final power exponents for (MATH500, GPQA-Diamond, HumanEval, AIME24/25) are (4, 1.05, 4, 4) for Qwen3-4B, (2, 1.25, 4, 4) for Qwen3-8B, and (1.5, 1.01, 1.01, 1.01) for DeepSeek-R1-Distill-Llama-8B. By default, the proposal uses temperature 0.25 and top-, and the exponent increases linearly from 1 to its final value over 100 tokens. For Qwen3-8B on GPQA-Diamond and DeepSeek-R1-Distill-Llama-8B on GPQA-Diamond, HumanEval, and AIME24/25, the proposal instead uses temperature 1 and top-, with a 256-token linear annealing schedule. Marginal Sharpening uses a sharpening exponent of 4 and 8 independent Monte Carlo groups, each containing 4 reasoning traces, for 32 traces in total. It generates a single answer token by token using the resulting prefix-weighted marginal token probabilities.
DMS configuration. Unless stated otherwise, DMS uses reasoning particles and answer candidates. The power-two annealing schedule begins after 1024 reasoning tokens and reaches the terminal exponent at the benchmark-specific maximum reasoning length. For standard DMS, we check the ESS of the predictive weights every 64 tokens and apply systematic resampling when it falls below . Each complete answer candidate is cross-scored under all retained reasoning contexts, and the final answer is sampled according to its normalized answer importance weight. Table 3 lists the exponents used in the main results.
Table 3: DMS reasoning and answer exponents () used in the main results (Table 1).
| Model | MATH500 | GPQA-Diamond | HumanEval | AIME24/25 |
|---|---|---|---|---|
| Qwen3-4B | (1.25, 3) | (1.025, 2) | (1.25, 1.5) | (1.025, 3.5) |
| Qwen3-8B | (1.025, 2.5) | (1.025, 2) | (1.25, 1.5) | (1.005, 4) |
| DeepSeek-R1-Distill-Llama-8B | (1.001, 6) | (1.001, 5) | (1.25, 1.5) | (1.001, 8) |
Island implementation. On AIME24/25, all three models use eight islands of two particles, giving reasoning particles in total. Resampling occurs independently within each island. At the reasoning–answer boundary, we normalize the particle weights within each island and assign equal total weight to all islands. Specifically, particle in island receives pooled weight , where and . These pooled weights define the empirical answer marginal used for candidate generation and selection.
C Sensitivity to the Two Sharpening Exponents
We study the interaction between reasoning and answer sharpening using standard DMS with Qwen3-8B on AIME24/25. We evaluate
All configurations use , , and the same generation budgets and sampler settings.
We report expected accuracy, the probability that categorical selection returns a correct answer, averaged over problems. For candidate correctness indicators and normalized answer weights , this is
where is the benchmark problem set. We average this metric over three seeds. At , all answer weights are equal, so expected accuracy equals average candidate correctness. Oracle pass@32 is the fraction of problems with at least one correct candidate and remains unchanged across answer exponents within a fixed bank.
Figure 3 shows that answer sharpening improves expected accuracy over uniform answer selection across all tested reasoning exponents. At , expected accuracy rises from at to at and at . Thus, most of the improvement is obtained by , with limited additional gains from stronger answer sharpening.
Mild reasoning sharpening can also improve average candidate correctness: setting raises it from to . However, the highest expected accuracy obtained from this reasoning bank is , below the

Figure 3: Expected accuracy (%) of standard DMS with Qwen3-8B on AIME24/25 across reasoning and answer exponents, averaged over three seeds.
achieved with . Improving average candidate correctness therefore does not necessarily improve accuracy after answer reweighting. In this standard (non-island) setting, the strongest result combines an unsharpened reasoning distribution with a larger answer exponent. These results support choosing the two sharpening strengths independently, allowing strong answer sharpening without requiring additional concentration of the reasoning distribution.
D Annealing and Resampling Ablations
We evaluate annealing and reasoning-stage resampling in standard DMS using Qwen3-8B on AIME24/25, with , , and . The reference sampler uses a quadratic annealing schedule that remains at through token 1024 and reaches at the maximum reasoning length. At 64-token checkpoints, it performs systematic resampling whenever the predictive ESS falls below .
The no-annealing variant applies from the first generated token, using the locally fully adapted proposal and the corresponding incremental importance weights. The no-resampling variant retains the reference annealing schedule, proposal, and sequential weight updates, but disables ancestor resampling. Its final reasoning weights are still used to construct the empirical answer marginal.
All variants approximate the same terminal reasoning target. Completed reasoning traces stop generating tokens but continue to receive annealing weight corrections as increases. If all particles finish before the terminal exponent is reached, the remaining annealing updates are completed without generating additional tokens.
Table 4: Sampler ablations for non-island DMS with Qwen3-8B on AIME24/25, averaged over three seeds. Expected accuracy and oracle pass@32 are percentages. Final ESS is computed from the final reasoning weights and divided by . Resamples and unique roots report the mean number of reasoning-stage resampling events and surviving initial-particle ancestors, respectively.
| Variant | Expected | Oracle pass@32 | Final ESS/K | Resamples | Unique roots |
|---|---|---|---|---|---|
| standard DMS | |||||
| No annealing | |||||
| No resampling |
Table 4 shows that the reference sampler achieves the highest mean expected accuracy, exceeding the no-annealing and no-resampling variants by 2.83 and 2.46 percentage points, respectively. Without annealing, resampling occurs more frequently and fewer distinct initial ancestors remain in the final population. This pattern is consistent with gradual annealing limiting ancestor loss during resampling.
Disabling resampling preserves all 16 initial ancestors and increases oracle pass@32 from 78.33% to 80.00%. However, the final reasoning weights become more concentrated, with normalized ESS falling to 0.252, and expected accuracy decreases to 72.09%. Thus, preserving more ancestors and greater correct-answer coverage does not necessarily improve weighted answer selection.
Final ESS and the number of surviving ancestors measure different aspects of the reasoning population. Resampling can balance particle weights without recovering ancestors that have already been discarded. Similar final ESS values can therefore coexist with different numbers of surviving ancestors, as observed for the reference and no-annealing variants.
E Higher-Budget Reasoning-Sampler Diagnostic
We further examine sensitivity to reasoning sharpening using a higher-budget replica-exchange Markov chain Monte Carlo sampler in place of FAA-SMC. Each replica targets through local Metropolis–Hastings updates that revise previously generated reasoning traces. Adjacent replicas also propose exchanging their traces to improve mixing across the exponent ladder. We use the resulting finite-chain samples as a diagnostic reference rather than as exact samples from the target distributions.
We evaluate Qwen3-4B on HumanEval using seeds , with reasoning and answer limits of 4096 and 512 tokens, respectively. For each problem and seed, we run 16 independent replica ladders and retain one final reasoning trace per exponent from each ladder. After the initial generation block, each replica receives 50 local Metropolis–Hastings updates. Each update selects a restart position uniformly within the generated reasoning trace and regenerates the remaining suffix at temperature , followed by the corresponding Metropolis–Hastings acceptance step. After each round of local updates, the sampler performs a complete sweep of adjacent replica-exchange proposals. We run the fine ladder (1.1, 1.05, 1.025, 1) and the extended ladder (4, 3, 2, 1.5, 1.25, 1.1) independently. These configurations maintain 64 and 96 replica chains per problem and seed, respectively, in addition to the repeated suffix generation required by the local updates.
Table 5: Reasoning-exponent sensitivity with a higher-budget replica-exchange sampler using Qwen3-4B on HumanEval. Expected accuracy and oracle pass@32 are reported as percentages averaged over three seeds. The fine and extended ladders are run independently.
| Expected accuracy () | Oracle pass@32 | |
|---|---|---|
| Fine ladder | ||
| 1 | 95.06 | 98.17 |
| 1.025 | 96.17 | 97.97 |
| 1.05 | 96.59 | 97.97 |
| 1.1 | 96.39 | 97.97 |
| Extended ladder | ||
| 1.1 | 96.06 | 98.17 |
| 1.25 | 96.02 | 98.17 |
| 1.5 | 96.61 | 98.17 |
| 2 | 95.88 | 97.97 |
| 3 | 96.01 | 97.97 |
| 4 | 96.23 | 97.97 |
For each reasoning exponent, the retained traces define a uniformly weighted reasoning mixture. We generate answer candidates from this mixture and cross-score each candidate under all retained reasoning contexts. The same candidates and cross-score matrix are reused across the answer-exponent grid. Candidates are evaluated using the same full-program-preserving HumanEval extractor and isolated execution protocol as the main results, with a three-second timeout. Table 5 reports expected accuracy at and oracle pass@32.
Both ladders achieve their highest expected accuracy at moderate reasoning exponents within their respective ranges. In the fine ladder, expected accuracy increases from 95.06% at to 96.59% at , before slightly decreasing to 96.39% at . In the extended ladder, expected accuracy likewise peaks at a moderate exponent, reaching 96.61% at .
Oracle pass@32 decreases slightly from 98.17% to 97.97% as increases within each ladder. This pattern is consistent with the trade-off introduced by sharpening: concentrating probability on more likely reasoning paths can reduce diversity and the chance of finding a ‘lucky’ correct answer through a less likely path. Meanwhile, the gains in expected accuracy show that moderate reasoning sharpening can improve weighted answer selection while maintaining high correct-answer coverage.
F Time-Cost Analysis
DMS inference consists of reasoning-particle generation, answer-candidate generation, and cross-scoring the reasoning-answer pairs. Cross-scoring reuses cached reasoning prefixes to evaluate answer continuations. We measure wall-clock inference time per problem using the hardware configuration described in Appendix B. The measurements include all three stages and exclude model loading and offline grading.
Table 6: Mean wall-clock inference time in seconds per problem, averaged over seeds.
| Model | Method | MATH500 | GPQA-Diamond | HumanEval | AIME24/25 |
|---|---|---|---|---|---|
| Qwen3-4B | Standard Decoding | 50.57 | 124.41 | 43.06 | 249.27 |
| Low-Temperature Decoding | 49.36 | 123.26 | 43.09 | 259.47 | |
| Power-SMC | 46.01 | 163.14 | 43.33 | 376.40 | |
| Marginal Sharpening | 140.51 | 710.42 | 103.05 | 1957.74 | |
| DMS (Ours) | 62.09 | 241.09 | 83.49 | 617.09 | |
| Qwen3-8B | Standard Decoding | 57.09 | 133.99 | 43.92 | 261.37 |
| Low-Temperature Decoding | 52.62 | 131.98 | 44.05 | 269.33 | |
| Power-SMC | 52.36 | 191.54 | 44.95 | 369.65 | |
| Marginal Sharpening | 477.17 | 1270.15 | 436.42 | 2855.41 | |
| DMS (Ours) | 82.69 | 237.56 | 89.30 | 874.87 | |
| DeepSeek-R1-Distill-Llama-8B | Standard Decoding | 33.13 | 92.97 | 34.79 | 172.13 |
| Low-Temperature Decoding | 28.47 | 93.20 | 32.66 | 177.10 | |
| Power-SMC | 31.97 | 177.11 | 54.48 | 483.29 | |
| Marginal Sharpening | 359.23 | 1002.83 | 389.05 | 2204.19 | |
| DMS (Ours) | 76.03 | 207.87 | 132.94 | 740.26 |
Table 6 reports the mean inference time per problem. Relative to standard decoding, non-island DMS requires 1.23–3.82 times the latency, while Island-DMS on AIME24/25 requires 2.48–4.30 times the latency. Across all twelve model-benchmark settings, DMS has lower measured latency than Marginal Sharpening.
For Island-DMS with Qwen3-8B on AIME24/25, reasoning generation, answer generation, and cross-scoring take 705.38 s (80.63%), 25.24 s (2.89%), and 144.23 s (16.49%) per problem, respectively. Reasoning generation accounts for more than four-fifths of the measured latency, followed by cross-scoring, while answer generation contributes less than 3%. These timings reflect the evaluated implementations and configurations.
References
ARZHANTSEV, A., SAKHI, O. and CHOPIN, N. (2026). Self-consistency via marginal sharpening. arXiv preprint arXiv:2605.28142.
AZIZI, S., POTRAGHLOO, E. B., AHMADI, M., KUNDU, S. and PEDRAM, M. (2026). Power-smc: Low-latency sequence-level power sampling for training-free llm reasoning. arXiv preprint arXiv:2602.10273.
CHAN, R. S. M., LIU, T., KIEGELAND, S., PASTI, C., VIGLY, J. H., O'DONNELL, T. J., COTTERELL, R. and VIEIRA, T. (2026). Ensembling language models with sequential monte carlo. arXiv preprint arXiv:2603.05432.
CHEN, M., TWOREK, J., JUN, H., YUAN, Q., PINTO, H. P. D. O., KAPLAN, J., EDWARDS, H., BURDA, Y., JOSEPH, N., BROCKMAN, G. ET AL. (2021). Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.
CHENG, Y.-C., LIN, C.-Y. and YANG, C.-L. (2026). Score × decoder: A unified view of unsupervised inference-time scaling for hallucination mitigation. arXiv preprint arXiv:2606.00739.
FENG, S., KONG, X., MA, S., ZHANG, A., YIN, D., WANG, C., PANG, R. and YANG, Y. (2025). Step-by-step reasoning for math problems via twisted sequential monte carlo. In The Thirteenth International Conference on
Learning Representations.
URL https://openreview.net/forum?id=Ze4aPP0tIn
GUARNIERO, P., JOHANSEN, A. M. and LEE, A. (2017). The iterated auxiliary particle filter. Journal of the American Statistical Association 112 1636–1647.
GUO, D., YANG, D., ZHANG, H., SONG, J., WANG, P., ZHU, Q., XU, R., ZHANG, R., MA, S., BI, X. ET AL. (2025). Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948.
HENDRYCKS, D., BURNS, C., KADAVATH, S., ARORA, A., BASART, S., TANG, E., SONG, D. and STEINHARDT, J. (2021). Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874.
HSIEH, C.-Y., LI, C.-L., YEH, C.-K., NAKHOST, H., FUJII, Y., RATNER, A., KRISHNA, R., LEE, C.-Y. and PFISTER, T. (2023). Distilling step-by-step! outperforming larger language models with less training data and smaller model sizes. In Findings of the association for computational linguistics: ACL 2023.
HUANG, A., BLOCK, A., FOSTER, D., ROHATGI, D., ZHANG, C., SIMCHOWITZ, M., ASH, J. and KRISHNA-MURTHY, A. (2025). Self-improvement in language models: The sharpening mechanism. In International Conference on Learning Representations, vol. 2025.
JI, X., TUTUNOV, R., ZIMMER, M. and AMMAR, H. B. (2026). Scalable power sampling: Unlocking efficient, training-free reasoning for llms via distribution sharpening. arXiv preprint arXiv:2601.21590.
KARAN, A. and DU, Y. (2025). Reasoning with sampling: Your base model is smarter than you think. arXiv preprint arXiv:2510.14901.
LIGHTMAN, H., KOSARAJU, V., BURDA, Y., EDWARDS, H., BAKER, B., LEE, T., LEIKE, J., SCHULMAN, J., SUTSKEVER, I. and COBBE, K. (2024). Let's verify step by step. In International Conference on Learning Representations, vol. 2024.
MARKOVIC-VORONOV, J., ZHU, W., LONG, B., WANG, Z., GUPTA, S., BEHDIN, K., CHEN, B.-C. and AGARWAL, D. (2026). Sampling for quality: Training-free reward-guided llm decoding via sequential monte carlo. arXiv preprint arXiv:2604.16453.
NGUYEN, T., ZIMMER, M., TUTUNOV, R., JI, X. and AMMAR, H. B. (2026). The model knows, the decoder finds: Future value guided particle power sampling. arXiv preprint arXiv:2605.02427.
OUYANG, L., WU, J., JIANG, X., ALMEIDA, D., WAINWRIGHT, C., MISHKIN, P., ZHANG, C., AGARWAL, S., SLAMA, K., RAY, A. ET AL. (2022). Training language models to follow instructions with human feedback. Advances in neural information processing systems 35 27730–27744.
REIN, D., HOU, B. L., STICKLAND, A. C., PETTY, J., PANG, R. Y., DIRANI, J., MICHAEL, J. and BOWMAN, S. R. (2023). Gpqa: A graduate-level google-proof q&a benchmark. arXiv preprint arXiv:2311.12022.
SHAO, Z., WANG, P., ZHU, Q., XU, R., SONG, J., BI, X., ZHANG, H., ZHANG, M., LI, Y., WU, Y. ET AL. (2024). Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
SNELL, C., LEE, J., XU, K. and KUMAR, A. (2024). Scaling llm test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314.
VERGÉ, C., DUBARRY, C., DEL MORAL, P. and MOULINES, E. (2015). On parallel implementation of sequential monte carlo methods: the island particle model. Statistics and Computing 25 243–260.
WANG, W., YANG, Y., DENG, W. and XU, P. (2026). Inference-time alignment of diffusion models via trust-region iterative twisted sequential monte carlo. arXiv preprint arXiv:2605.25123.
WANG, X., WEI, J., SCHUURMANS, D., LE, Q., CHI, E., NARANG, S., CHOWDHERY, A. and ZHOU, D. (2022). Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.
YANG, A., LI, A., YANG, B., ZHANG, B., HUI, B., ZHENG, B., YU, B., GAO, C., HUANG, C., LV, C. ET AL. (2025). Qwen3 technical report. arXiv preprint arXiv:2505.09388.
YAO, S., YU, D., ZHAO, J., SHAFRAN, I., GRIFFITHS, T., CAO, Y. and NARASIMHAN, K. (2023). Tree of thoughts: Deliberate problem solving with large language models. Advances in neural information processing systems 36 11809–11822.
ZELIKMAN, E., WU, Y., MU, J. and GOODMAN, N. (2022). Star: Bootstrapping reasoning with reasoning. Advances in Neural Information Processing Systems 35 15476–15488.
ZENN, J. and GEIPING, J. (2026). When are likely answers right? on sequence probability and correctness in llms. arXiv preprint arXiv:2606.27359.
ZHANG, R., BAI, R. H., ZHENG, H., JAITLY, N., COLLOBERT, R. and ZHANG, Y. (2026). Embarrassingly simple self-distillation improves code generation. arXiv preprint arXiv:2604.01193.
ZHAO, S., BREKELMANS, R., MAKHZANI, A. and GROSSE, R. (2024). Probabilistic inference in language models via twisted sequential monte carlo. arXiv preprint arXiv:2404.17546.
ZHU, Y. and LU, Y. (2026). On the power of (approximate) reward models for inference-time scaling. arXiv preprint arXiv:2602.01381.