Manuscript Offprint

arXiv:2610.25932

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

Minoo Ahmadi, Seyedarmin Azizi, Mehdi Kamal, Massoud Pedram

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 Chophin resampling with an input weight floor. Instead of equalizing weights, Chophin 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.

1 INTRODUCTION

Inference-time scaling can improve language-model reasoning by allocating more computation during decoding (Brown et al., 2024; Snell et al., 2024), and sequential Monte Carlo (SMC) provides a probabilistic framework for it (Doucet et al., 2001), applied to autoregressive language models with learned twist functions or process rewards (Zhao et al., 2024; Puri et al., 2025) and to text diffusion models (Singhal et al., 2025). In particular, self-rewarding SMC (SR-SMC; Luo et al., 2026) weights each particle by the confidence accumulated along its own trajectory and improves diffusion LLMs on mathematical reasoning and code generation without further training.

Information can be lost during resampling itself. Recent SMC decoding methods introduce new proposal or weighting mechanisms while retaining standard resampling schemes; SR-SMC uses multinomial resampling, which converts continuous weights into a discrete number of descendants (Douc et al., 2005), replicating high-weight particles and discarding low-weight ones. In reasoning tasks a lineage that carries low intermediate weight may still develop into a correct completion, so resampling removes trajectories whose weight is currently low, not necessarily those that will ultimately be incorrect. Figure 1 illustrates this for a four-particle population, where the highest-weight lineage (the particles descending from one initial particle) is incorrect while a lower-weight correct lineage is removed. Declining to resample avoids the loss but forfeits the concentration

Figure

(a) Multinomial resampling (SR-SMC)

Figure

(b) Chophin resampling, the first component of LP-SMC

Figure 1: Multinomial resampling can remove a useful lineage before its completion is known. Illustrative example, N=4N = 4, problem (1+2)×3(1+2)\times3, answer 9; one token per box, two blocks, resampling 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) Chophin: 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.

of computation that motivates SMC; the question is how to resample without discarding what the population has already reached.

A better reward does not resolve this: improving the reward changes the weights, not the rule that converts them into descendants: a stronger process reward model still leaves multinomial resampling to discards the low-weight particles. Nor does the standard diagnostic, the effective sample size (ESS), measure this loss. Repeated resampling is known to reduce path diversity (Kitagawa, 1996; Doucet et al., 2001), yet the ESS measures weight imbalance, not how many lineages remain, and multinomial resampling resets it to its maximum while lineages disappear. We formalize this mismatch and show that multinomial resampling of equally weighted particles from distinct lineages eliminates roughly one third of them in expectation.

Preserving lineage diversity requires addressing two failure modes. First, a moderately weighted lineage may disappear solely through the stochasticity of resampling. Second, a lineage's weight may fall so far below the maximum before resampling that it is unlikely to survive even under a diversity-preserving rule, which is common in block-wise decoding because the weight is a product over many committed tokens (Section 2.2). We address the first with Chophin resampling (Gandy & Lau, 2016), which bounds the ratio between the returned weights instead of equalizing them and carries the unequal weights forward, and the second with a weight floor that limits how far below the maximum any weight may fall before resampling. Neither requires additional model evaluations. Together they form lineage-preserving SMC (LP-SMC); Section 4 derives the resulting ESS guarantee, the gate condition on the floor and the bias it introduces.

We keep the proposal fixed and evaluate population management under two forms of guidance, the internal self-reward of SR-SMC and an external process reward model, and under several selection rules, because constructing a population that contains a correct answer and selecting it are different problems. Across twelve model–guidance–benchmark settings, LP-SMC increases oracle coverage, the fraction of problems for which at least one of the N particles is correct, in all twelve. In the internal-guidance ablations, it also increases surviving lineages and distinct outputs across both models and all reported benchmarks; on GSM8K with LLaDA-1.5, surviving lineages rise from 5.2 to 10.0 of 16 (Table 2). How much of that coverage becomes final accuracy, however, depends on the selection rule.

Contributions. (i) We formalize the mismatch between the ESS criterion and lineage diversity: multinomial resampling can eliminate distinct lineages while resetting the ESS to its maximum

(Section 3). (ii) We address the two complementary sides of a resampling event: the weight floor bounds how far a lineage may collapse before the event, and Chophin with carried weights bounds the ratio of the weights returned by it. We introduce both into block-wise masked diffusion SMC, derive the ESS lower bound implied by Chophin's ratio bound, tightening that of Gandy & Lau (2016) by a constant, and characterize the floor's gate condition and bias (Section 4). (iii) We evaluate LP-SMC on four benchmarks and two base models, under internal guidance on all four benchmarks and under external process-reward guidance on the mathematics benchmarks, with a common reward-model selector for the headline comparison and a separate analysis of how coverage converts to accuracy under alternative selection rules (Section 5).

References (74)