{"id": "http://arxiv.org/abs/2608.20123v1", "title": "Discrete Diffusion Inference-Time Control with Nested Sequential Monte Carlo", "abstract": "We study inference-time control for text generation in discrete diffusion language models, where the goal is to steer sampling toward sequence-level rewards without retraining. Prior work in this domain has focused on particle-based methods such as best-of-$n$ sampling and bootstrap sequential Monte Carlo, which may suffer from overoptimism and weight degeneracy, respectively. We address these limitations using \\emph{nested} sequential Monte Carlo methods. We formulate nested SMC (NSMC) and fully-adapted nested SMC (FA-NSMC) for Feynman--Kac steering, identifying and correcting errors in prior formulations that lead to biased final estimates. We evaluate these methods on toxicity and fluency steering tasks, showing that NSMC and FA-NSMC consistently outperform best-of-$n$ and bootstrap SMC.", "published_at": "2026-08-20T14:52:17+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2608.20123v1", "source_hash": "51188e0606d88625a037b8504666e54008e1eead9a5fc602cceec345bc98465e", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion"], "code_url": null, "has_code": false, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.12382v1", "http://arxiv.org/abs/2609.11315v1", "http://arxiv.org/abs/2609.09748v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "51188e0606d88625a037b8504666e54008e1eead9a5fc602cceec345bc98465e", "source_url": "https://arxiv.org/abs/2608.20123v1", "source_version": "v1", "revision_id": "ea17e2257ca0ccd1f268bc6b0d0a620e00e1be8d15474724a5757f6e040a157e", "canonical_text_hash": "5591458392d37c2769a922d6a8463416eb8af298d05986df3fe36f4a4cf5c131", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "Работа предлагает убедительно мотивированный метод inference-time steering для дискретных диффузионных языковых моделей. NSMC и особенно FA-NSMC улучшают контролируемость и sample efficiency относительно bootstrap SMC при сопоставимом бюджете прямых проходов, но подтверждение ограничено токсичностью, perplexity и одной базовой моделью.", "en": "The paper presents a well-motivated method for inference-time steering of discrete diffusion language models. NSMC, and especially FA-NSMC, improve controllability and sample efficiency over bootstrap SMC at a matched forward-pass budget, but the evidence is limited to toxicity, perplexity, and one base model."}, "main_idea": {"ru": "Вместо bootstrap-пропозиций, использующих только текущую информацию, вложенный SMC оценивает локально оптимальные reward-aware предложения через lookahead по будущей экспоненциальной награде. FA-NSMC дополнительно выбирает родителей по прогнозируемому потенциалу, сохраняя разнообразие потомков.", "en": "Instead of bootstrap proposals based only on current information, nested SMC estimates locally optimal reward-aware proposals using lookahead to future exponential reward. FA-NSMC additionally selects parents using predictive potentials, preserving diversity among descendants."}, "claims": {"ru": "Основные утверждения: оптимальные twist-потенциалы являются отношениями условных ожиданий будущей экспоненциальной награды; усреднение M внутренних importance weights дает unbiased predictive normalizers для обновления внешних весов; FA-NSMC улучшает распределение родителей перед propagation. На MDLM при N=4, M=8, K=4 NSMC получила toxicity 0.39 и PPL 42.3 против 0.25 и 49.0 у bootstrap SMC. Авторы также сообщают превосходство nested-методов над best-of-n и bootstrap SMC, но не устанавливают универсальное превосходство.", "en": "The main claims are that optimal twist potentials are ratios of conditional expectations of future exponential reward; averaging M inner importance weights provides unbiased predictive normalizers for outer-weight updates; and FA-NSMC improves parent selection before propagation. On MDLM with N=4, M=8, K=4, NSMC achieved toxicity 0.39 and PPL 42.3 versus 0.25 and 49.0 for bootstrap SMC. The authors also report nested methods outperforming best-of-n and bootstrap SMC, but universal superiority is not established."}, "mechanism": {"ru": "Состояние — частичная траектория дискретной диффузии x_t и ее реконструкция x₀; целевая мера — reward-tilted распределение с весом exp(λr(x₀)). Идеальный потенциал задается как G⋆_{t−1}(x_{t−1},x_t)=E[exp(λr(x₀))|x_{t−1}]/E[exp(λr(x₀))|x_t]; произведение потенциалов телескопируется к terminal reward tilt. На каждом внешнем шаге NSMC строит M внутренних lookahead-кандидатов, вычисляет их importance weights, усредняет их для predictive normalizer и категориально выбирает ребенка. FA-NSMC перед этим ресэмплирует родителей по accumulated weight, умноженному на lookahead normalizer, затем распространяет distinct children. K управляет числом реконструкций/оценок, N — внешним числом частиц, M — внутренним population; наибольший выигрыш дают N, а M быстро насыщается. Для воспроизведения: (1) задать reverse diffusion kernel и reward r; (2) построить surrogate x₀ и оценить reward-conditioned lookahead weights; (3) запустить M внутренних SMC-кандидатов для каждого внешнего состояния; (4) обновить predictive и outer weights; (5) для FA-NSMC выполнить parent resampling перед propagation; (6) сравнить при matched forward-pass budget. Точные детали архитектуры reward-модели, реализации SMC и расписания diffusion в записях отсутствуют.", "en": "The state is a partial discrete-diffusion trajectory x_t and its x₀ reconstruction; the target measure is the reward-tilted distribution weighted by exp(λr(x₀)). The ideal potential is G⋆_{t−1}(x_{t−1},x_t)=E[exp(λr(x₀))|x_{t−1}]/E[exp(λr(x₀))|x_t]; products of potentials telescope to the terminal reward tilt. At each outer step, NSMC forms M inner lookahead candidates, computes their importance weights, averages them into a predictive normalizer, and samples a child categorically. FA-NSMC first resamples parents using accumulated weight times the lookahead normalizer, then propagates distinct children. K controls reconstruction/evaluation count, N the outer particle count, and M the inner population; N provides the largest gains while M saturates quickly. Reproduction: (1) specify the reverse diffusion kernel and reward r; (2) construct surrogate x₀ and estimate reward-conditioned lookahead weights; (3) run M inner SMC candidates per outer state; (4) update predictive and outer weights; (5) for FA-NSMC, resample parents before propagation; (6) compare methods at a matched forward-pass budget. Exact reward-model architecture, SMC implementation details, and diffusion schedule are absent from the records."}, "evidence": {"ru": "Наблюдаемые результаты включают toxicity, perplexity, intermediate reward, diversity и ablations по N, M и K на MDLM; авторы сообщают matched forward-pass comparisons с bootstrap SMC и best-of-n. При N=8, K=4, λ=10 particle methods имели сходную Distinct-n diversity, а best-of-n была немного выше. Увеличение N давало крупнейшие улучшения, K снижал variance реконструкции, а M имел diminishing returns; корректный denominator был необходим, поскольку его удаление давало biased distribution и отсутствие роста reward. Эти результаты поддерживают механизм в заявленных условиях, но не доказывают обобщение на другие модели, rewards или длинные окна.", "en": "Observed results include toxicity, perplexity, intermediate reward, diversity, and ablations over N, M, and K on MDLM; the authors report matched forward-pass comparisons with bootstrap SMC and best-of-n. With N=8, K=4, λ=10, particle methods had similar Distinct-n diversity, while best-of-n was slightly higher. Increasing N produced the largest improvements, K reduced reconstruction variance, and M showed diminishing returns; the denominator was necessary because removing it produced a biased distribution and no reward increase. These results support the mechanism under the stated conditions but do not establish generalization to other models, rewards, or long windows."}, "applicability": {"ru": "Метод применим, когда генерация выполняется по дискретным diffusion-шагам, reward можно оценить по реконструированному x₀, а дополнительные forward passes допустимы для lookahead. Он особенно полезен для inference-time toxicity, perplexity и сходных sequence-level objectives без дообучения базовой модели.", "en": "The method applies when generation proceeds through discrete diffusion steps, reward can be evaluated on reconstructed x₀, and extra forward passes are available for lookahead. It is most useful for inference-time toxicity, perplexity, and similar sequence-level objectives without fine-tuning the base model."}, "limitations": {"ru": "Доказательства получены на одной базовой модели и двух типах steering-задач. Точная устойчивость при других diffusion-моделях, reward functions, λ, длинах последовательностей и бюджетах не установлена. Nested SMC увеличивает вычислительную сложность; выигрыш M быстро насыщается, а преимущества FA-NSMC могут зависеть от качества lookahead-оценок. Не следует считать численные результаты универсальными.", "en": "Evidence comes from one base model and two steering task types. Robustness across other diffusion models, reward functions, λ values, sequence lengths, and compute budgets is not established. Nested SMC increases computational cost; M saturates quickly, and FA-NSMC’s benefits may depend on lookahead quality. The reported numbers should not be treated as universal."}, "next_action": {"ru": "Провести компактную проверку обобщаемости на нескольких reward strength λ и длинах генерации, сравнив bootstrap SMC, NSMC, FA-NSMC и best-of-n при одинаковом бюджете: (1) выбрать 2–3 λ; (2) протестировать короткое и длинное окно; (3) повторить для нескольких N и фиксированных M,K; (4) измерить reward, PPL, Distinct-n и wall-clock cost; (5) проверить, сохраняется ли преимущество FA-NSMC.", "en": "Run a compact generalization test across several reward strengths λ and generation lengths, comparing bootstrap SMC, NSMC, FA-NSMC, and best-of-n at equal budget: (1) choose 2–3 λ values; (2) test short and long windows; (3) repeat across several N values with fixed M and K; (4) measure reward, PPL, Distinct-n, and wall-clock cost; (5) check whether FA-NSMC’s advantage persists."}}, "source_coverage": {"canonical_text_hash": "5591458392d37c2769a922d6a8463416eb8af298d05986df3fe36f4a4cf5c131", "covered_chunks": 5, "map_input_digest": "314f470d960454ab98efac9a19e246460212e7774445864b5a601d3b6016da32", "prompt_version": "full-article-research-guide-v14", "revision_id": "ea17e2257ca0ccd1f268bc6b0d0a620e00e1be8d15474724a5757f6e040a157e", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "51188e0606d88625a037b8504666e54008e1eead9a5fc602cceec345bc98465e", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "es toxic continuations, reflecting the rarity of toxicity under the base model. Best-of-n yields\nonly a marginal increase, because it selects from a small set of fully sampled x0 candidates of-\nfering limited leverage when high-reward outcomes are rare. In contrast, bootstrap SMC achieves\n\n1https://huggingface.co/s-nlp/roberta_toxicity_classifier\n2https://huggingface.co/textdetox/xlmr-large-toxicity-classifier\n\n7\n\n## Page 8\n\nAccepted as a workshop paper at ReALM-GEN, ICLR 2026\n\nTable 3: Effect of population\nsize M (N=8, K=4).\n\n### Method M Tox ↑ Hold ↑\n\nNSMC\n1\n.57\n.48\nNSMC\n2\n.61\n.44\nNSMC\n4\n.59\n.56\nNSMC\n8\n.71\n.56\nNSMC\n16\n.71\n.62\nNSMC", "url": "https://huggingface.co/s-nlp/roberta_toxicity_classifier", "kind": "model", "span": [24539, 25179], "evidence_hash": "2b0472f61b7665d6c6f0ff673e8ef545d32be103f3db06b9657ed8a28303efd4"}, {"origin": "source_excerpt", "evidence": "r the base model. Best-of-n yields\nonly a marginal increase, because it selects from a small set of fully sampled x0 candidates of-\nfering limited leverage when high-reward outcomes are rare. In contrast, bootstrap SMC achieves\n\n1https://huggingface.co/s-nlp/roberta_toxicity_classifier\n2https://huggingface.co/textdetox/xlmr-large-toxicity-classifier\n\n7\n\n## Page 8\n\nAccepted as a workshop paper at ReALM-GEN, ICLR 2026\n\nTable 3: Effect of population\nsize M (N=8, K=4).\n\n### Method M Tox ↑ Hold ↑\n\nNSMC\n1\n.57\n.48\nNSMC\n2\n.61\n.44\nNSMC\n4\n.59\n.56\nNSMC\n8\n.71\n.56\nNSMC\n16\n.71\n.62\nNSMC\n32\n.70\n.55\n\nFA-NSMC\n1\n.54\n.47\nFA-NSMC\n2\n.58\n.49\nFA-NSMC\n4\n.62", "url": "https://huggingface.co/textdetox/xlmr-large-toxicity-classifier", "kind": "model", "span": [24601, 25241], "evidence_hash": "dbf48d27c79e43b901e7b310366e6e4434738a32b2c9252df42a713b47768878"}]}, "slug": "2608.20123-discrete-diffusion-inference-time-control-with-nested-sequential-monte-carlo"}