Keep the Lineages Alive: Diversity-Preserving SMC for Diffusion LLM Decoding

Minoo Ahmadi, Seyedarmin Azizi, Mehdi Kamal, Massoud PedramarXiv 2026

TL;DR

Standard Sequential Monte Carlo (SMC) decoding for diffusion LLMs often kills off promising reasoning paths too early due to aggressive resampling. This paper introduces LP-SMC, which combines a weight floor with "Chopthin" resampling to preserve diverse "lineages," significantly boosting reasoning accuracy and oracle coverage across math and code benchmarks.

What Problem Does This Paper Address?

When using diffusion-based Large Language Models (LLMs) for complex reasoning, we often use Sequential Monte Carlo (SMC) to guide the generation. SMC maintains a population of "particles" (partial generations) and periodically resamples them, focusing computational effort on the most promising candidates based on a reward signal.

The problem lies in the resampling step. Standard methods like multinomial resampling are "greedy": they duplicate high-weight particles and discard low-weight ones. In multi-step reasoning, a trajectory that looks weak early on might actually be the only one leading to the correct answer. Once that "lineage" is discarded, it's gone forever.

Furthermore, the standard metric for monitoring particle health—Effective Sample Size (ESS)—is "blind" to this loss. Resampling resets ESS to its maximum value even if the population has collapsed into multiple copies of a single, eventually incorrect, path.

Figure 1: Multinomial resampling can remove a useful lineage before its completion is known. Illustrative example, N = 4, problem (1+2)×3, answer 9; one token per box, two blocks, resam- pling after block 1 (ESS = 1.9 < N/2). Colors are founding lineages, bars are normalized weights; the blue lineage has the largest weight but ends wrong, orange and teal end right. (a) Multinomial resampling: three blue copies and one orange, two lineages left, ESS reset to 4. (b) Chopthin: blue, orange and teal survive with unequal weights, three lineages, ESS = 3.3. Resampling copies states and assigns weights; the token differences arise in later decoding.

Methods

The authors propose Lineage-Preserving SMC (LP-SMC), which modifies the population management stage without requiring additional model evaluations. It consists of two main components:

  1. Chopthin Resampling: Unlike standard methods that equalize weights, Chopthin bounds the ratio between the largest and smallest weights. It "chops" very heavy particles into copies and "thins" very light ones (keeping them with some probability), but carries the unequal weights forward. This maintains a higher number of distinct ancestral lineages.
  2. Input Weight Floor: A lineage might collapse so far in weight that even a diversity-preserving resampler would likely discard it. LP-SMC applies a deterministic floor (set at $1/N$ of the maximum weight) to ensure that even lower-confidence paths retain a non-negligible chance of survival.

Datasets

The researchers evaluated LP-SMC using two base diffusion models, LLaDA-1.5 and Dream-7B, across four challenging benchmarks:

  • MATH-500: A subset of the MATH dataset for high-school competition-level problems.
  • GSM8K: Grade-school math word problems.
  • HumanEval: A benchmark for evaluating Python code generation.
  • MBPP (Mostly Basic Python Problems): Another code generation benchmark.

Key Insights and Ideas

  • ESS is a False Friend: The paper formalizes "ESS-blindness," proving that multinomial resampling can eliminate roughly one-third of distinct lineages in expectation while still reporting a "perfect" ESS.
  • Lineage vs. Particle: The authors emphasize tracking "lineages"—the set of particles descending from a single initial ancestor. Maintaining lineage diversity is more critical for reasoning than simply having many particles.
  • The Power of the Floor: The weight floor addresses a distinct failure mode where a correct path's weight falls too far behind. The authors show that accuracy and surviving lineages rise monotonically with the depth of this floor.
  • Guidance Independence: The benefits of LP-SMC persist whether using the model's internal confidence as a reward or an external Process Reward Model (PRM). This suggests that better resampling and better guidance signals provide complementary gains.
Table 2: Adding one component at a time under the decoder’s confidence: multinomial resampling (Mult.), Chopthin without the floor (Chop.), Chopthin with the floor (Chop.+floor), which is LP- SMC. Lineages: mean number of founding particles still represented at the end, out of 16; distinct outputs: mean number of distinct x0 per problem; coverage as in Figure 2. Table 3 crosses the floor with the resampler. Benchmark sizes are as in Table 4.

Key Results

LP-SMC demonstrated consistent improvements across the board:

  • Oracle Coverage: The fraction of problems where at least one particle in the population is correct rose in every single test setting, with gains ranging from 1.8 to 25.6 percentage points.
  • End-to-End Accuracy: Using a common reward-model selector, LP-SMC improved accuracy in 11 out of 12 settings. Notable jumps included a 7.9 point increase on LLaDA-1.5 (HumanEval) and an 18.3 point increase on Dream-7B (HumanEval).
  • Efficiency: These gains come with virtually no extra computational cost, as the number of network evaluations remains nearly identical to standard SR-SMC.
Figure 2: Oracle coverage, the fraction of problems with at least one correct particle (N = 16, full test sets), under the decoder’s confidence (conf) or the external PRM in the weight. LP-SMC is higher in all twelve settings. Bars: unpaired 95% binomial intervals; paired counts and bootstrap intervals: Appendix E. The axis is clipped at 40.

Limitations and Future Work

  • Fixed Operating Point: The study focused on a population size of $N=16$ and a generation length of $L=256$. While the theoretical mechanisms are general, the specific margins might vary at different scales.
  • Reward Model Availability: The authors noted a lack of high-quality, open-weight, step-level reward models for code, forcing them to use a math-trained PRM as a proxy for some code experiments.
  • Selection Rule Sensitivity: While LP-SMC improves the quality of the particle population, the final accuracy still depends heavily on the selection rule (e.g., majority voting vs. reward model ranking). The authors found that the decoder's own confidence is a poor selector for the diverse populations LP-SMC creates.

Summary updated

Abstract

Inference-time sequential Monte Carlo (SMC) decoding can improve the reasoning accuracy of masked diffusion language models (diffusion LLMs) without post-training by resampling a population of partial generations according to a reward. Its effectiveness therefore depends on the resampling step, which must concentrate computation on promising candidates while retaining enough diversity to explore alternative reasoning paths. The reward can be internal, the decoder's own confidence on the committed prefix, or external, a process reward model scoring that prefix. Under either reward, multinomial resampling can disrupt this balance by duplicating high-weight particles and discarding lineages that may still reach a correct solution. The effective sample size (ESS) does not register this loss: multinomial resampling resets it to its maximum even as distinct lineages disappear. To retain such lineages, we introduce lineage-preserving SMC (LP-SMC), which combines Chopthin resampling with an input weight floor. Instead of equalizing weights, Chopthin bounds the ratio between the largest and smallest weights it returns and carries the unequal weights forward. The floor limits how far below the maximum a weight may fall before resampling so that lineages with low early weight keep a chance to recover. Across mathematical-reasoning and code-generation benchmarks on two base models, LP-SMC raises oracle coverage, the fraction of problems with at least one correct particle, in every setting, by 1.8 to 25.6 points, and raises end-to-end accuracy under a common reward-model selector in eleven of twelve settings, by up to 7.9 points on LLaDA-1.5 and 18.3 on Dream-7B. The coverage gain persists under the external reward model, which suggests that diversity-preserving resampling and the guidance signal contribute separately to inference-time search.
BibTeX
@misc{ahmadi2026keep,
  author = {Minoo Ahmadi and Seyedarmin Azizi and Mehdi Kamal and Massoud Pedram},
  title = {{Keep the Lineages Alive: Diversity-Preserving SMC for Diffusion LLM Decoding}},
  year = {2026},
  eprint = {2610.25932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.25932},
}
Figure