{"id": "http://arxiv.org/abs/2602.01849v1", "title": "Self-Rewarding Sequential Monte Carlo for Masked Diffusion Language Models", "abstract": "This work presents self-rewarding sequential Monte Carlo (SMC), an inference-time scaling algorithm enabling effective sampling of masked diffusion language models (MDLMs). Our algorithm stems from the observation that most existing MDLMs rely on a confidence-based sampling strategy, where only tokens with the highest prediction confidence are preserved at each step. This restricts the generation to a noise-sensitive, greedy decoding paradigm, resulting in an inevitable collapse in the diversity of possible paths. We address this problem by launching multiple interacting diffusion processes in parallel, referred to as particles, for trajectory exploration. Importantly, we introduce the trajectory-level confidence as a self-rewarding signal for assigning particle importance weights. During sampling, particles are iteratively weighted and resampled to systematically steer generation towards globally confident, high-quality samples. Our self-rewarding SMC is verified on various masked diffusion language models and benchmarks, achieving significant improvement without extra training or reward guidance, while effectively converting parallel inference capacity into improved sampling quality. Our code is available at https://github.com/Algolzw/self-rewarding-smc.", "published_at": "2026-02-02T09:21:45+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2602.01849v1", "source_hash": "dba79e799ec48b3bc3cea2150f044a675f6723e16b01125e456fa21b169dd69d", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "controllability"], "code_url": null, "has_code": false, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "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": "dba79e799ec48b3bc3cea2150f044a675f6723e16b01125e456fa21b169dd69d", "source_url": "https://arxiv.org/abs/2602.01849v1", "source_version": "v1", "revision_id": "b4c4cc4c7d7da0a3b74e9ac366e34347e064b0f67e772ef4e4a3968b621566f4", "canonical_text_hash": "200ae0f617152870e83c4e5d91e463dfcc511dab7f2adce364b47ee3f93f6d27", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "Метод убедительно показывает полезное инференсное улучшение для masked diffusion LLM: SR-SMC повышает качество и разнообразие без дообучения и внешней reward-модели, но требует дополнительного параллельного вычисления, а уверенность модели не является прямой мерой корректности или предпочтительности.", "en": "The method provides convincing inference-time gains for masked diffusion LLMs: SR-SMC improves quality and diversity without retraining or an external reward model, but requires additional parallel computation, and model confidence is not a direct measure of correctness or preference."}, "main_idea": {"ru": "Запускать несколько траекторий диффузионной генерации как частицы и перераспределять вычисления в пользу траекторий с высокой накопленной уверенностью, используя эту уверенность как неявную награду и важностный вес.", "en": "Run multiple diffusion-generation trajectories as particles and reallocate computation toward trajectories with high accumulated confidence, using that confidence as an implicit reward and importance weight."}, "claims": {"ru": "Авторы утверждают, что SR-SMC обобщается на предобученные MDLM и diffusion LLM, совместим с различными стратегиями remasking и улучшает генерацию, рассуждение и кодогенерацию. Для длины 1024 perplexity снижается с 46.8 до 25.8 у MDLM и с 25.7 до 16.1 у BD3-LM с block size 4. На LLaDA-1.5 и Dream-7B средние оценки при четырёх частицах растут соответственно с 49.3 до 52.1 и с 51.9 до 56.4.", "en": "The authors claim that SR-SMC applies to pretrained MDLMs and diffusion LLMs, supports different remasking strategies, and improves generation, reasoning, and code generation. At length 1024, perplexity decreases from 46.8 to 25.8 for MDLM and from 25.7 to 16.1 for BD3-LM with block size 4. On LLaDA-1.5 and Dream-7B, average scores with four particles increase from 49.3 to 52.1 and from 51.9 to 56.4, respectively."}, "mechanism": {"ru": "Состояние частицы — текущая последовательность токенов и её диффузионный уровень маскирования. На каждом шаге reverse kernel сохраняет немаскированные токены, выбирает низкоуверенные токены для повторного mask и сэмплирует новые значения из предсказаний модели. При использовании diffusion transition как proposal приращённый SMC-вес равен произведению вероятностей выбранных токенов; произведение по шагам даёт траекторную уверенность. Алгоритм повторяет порядок: (1) вычислить уверенности и выбрать subset для remasking, (2) выполнить resampling при ESS ниже половины числа частиц, (3) распространить частицы через diffusion transition, (4) обновить веса, (5) продолжать до полностью размаскированного результата. Gumbel-Max задаёт температурный режим категориального сэмплирования. Вычислительная цена растёт из-за параллельного запуска частиц; точные правила выбора mask subset и параметры расписания, не указанные в записях, требуют уточнения. Для воспроизведения нужны предобученная masked diffusion LLM, базовый reverse/remasking sampler, несколько частиц, расчёт произведений confidence, ESS-triggered resampling и сравнение при одинаковом бюджете NFE.", "en": "A particle state is the current token sequence and its diffusion masking level. At each step, the reverse kernel preserves unmasked tokens, selects low-confidence tokens for remasking, and samples new values from model predictions. When the diffusion transition is used as the proposal, the incremental SMC weight equals the product of probabilities for the selected tokens; multiplying across steps yields trajectory confidence. The algorithm repeats: (1) compute confidences and choose a remasking subset, (2) resample when ESS falls below half the particle count, (3) propagate particles through the diffusion transition, (4) update weights, and (5) continue until the output is fully unmasked. Gumbel-Max controls categorical sampling temperature. Compute rises because particles run in parallel; the exact mask-subset selection rules and schedule parameters absent from the records require clarification. Reproduction requires a pretrained masked diffusion LLM, a baseline reverse/remasking sampler, multiple particles, confidence-product weighting, ESS-triggered resampling, and comparisons at matched NFE budgets."}, "evidence": {"ru": "На OWT сообщаются perplexity 15.1–25.9, entropy 5.15–5.49 и 4K–8K NFE в разных длинах и настройках. На GSM8K, MATH, HumanEval и MBPP улучшения наблюдаются для LLaDA-1.5 и Dream-7B при длинах 256 и 512; качество обычно растёт до четырёх частиц. В 24.1–30.8% проанализированных блоков происходят overtakes частиц, что поддерживает необходимость нестрогого greedy-поиска. При разных Gumbel-температурах метод обычно превосходит базовые модели и сохраняет большую устойчивость. Однако записи не дают полного контроля вычислительного бюджета, доверительных интервалов или доказательства превосходства над всеми альтернативными sampler-ами.", "en": "On OWT, the records report perplexity of 15.1–25.9, entropy of 5.15–5.49, and 4K–8K NFEs across lengths and settings. On GSM8K, MATH, HumanEval, and MBPP, improvements appear for LLaDA-1.5 and Dream-7B at lengths 256 and 512; quality generally increases through four particles. Particle overtakes occur in 24.1–30.8% of analyzed blocks, supporting the value of non-greedy search. Across Gumbel temperatures, the method generally outperforms the base models and is more robust. However, the records do not provide full compute-budget controls, confidence intervals, or evidence of superiority over every alternative sampler."}, "applicability": {"ru": "Метод наиболее применим к masked diffusion language models, когда доступен inference budget для нескольких частиц и нужна более высокая вероятность глобально согласованных траекторий без обучения reward-модели. Он особенно релевантен генерации текста, математическому рассуждению и коду, где позднее улучшение траектории может сделать ранний greedy-выбор ошибочным.", "en": "The method is most applicable to masked diffusion language models when inference budget permits multiple particles and the goal is to favor globally coherent trajectories without training a reward model. It is especially relevant to text generation, mathematical reasoning, and code, where later trajectory improvement can invalidate an early greedy choice."}, "limitations": {"ru": "Дополнительные частицы увеличивают inference computation и NFE. Произведение token confidence может усиливать хорошо откалиброванные, но неверные решения; метод напрямую не оптимизирует correctness или human preference. Поэтому заявленные gains не следует автоматически переносить на другие модели, длины, бюджеты или задачи без проверки.", "en": "Additional particles increase inference computation and NFE. Products of token confidence can amplify well-calibrated-looking but incorrect decisions; the method does not directly optimize correctness or human preference. Therefore, the reported gains should not be assumed to transfer to other models, lengths, budgets, or tasks without validation."}, "next_action": {"ru": "Провести контролируемый ablation на одной diffusion LLM: сравнить greedy, обычный particle sampling и SR-SMC при одинаковом NFE. Использовать 1, 2 и 4 частицы; отдельно варьировать ESS-resampling и Gumbel temperature; измерить качество, diversity и стоимость инференса; проверить, сохраняется ли преимущество при одинаковом wall-clock бюджете.", "en": "Run a controlled ablation on one diffusion LLM: compare greedy sampling, ordinary particle sampling, and SR-SMC at matched NFE. Use 1, 2, and 4 particles; vary ESS resampling and Gumbel temperature separately; measure quality, diversity, and inference cost; test whether the advantage remains at matched wall-clock budgets."}}, "source_coverage": {"canonical_text_hash": "200ae0f617152870e83c4e5d91e463dfcc511dab7f2adce364b47ee3f93f6d27", "covered_chunks": 5, "map_input_digest": "3a38f3167ac48620fd3f3f6ad4be55792efb0d2b3c5cdc87a4132a20974619a5", "prompt_version": "full-article-research-guide-v14", "revision_id": "b4c4cc4c7d7da0a3b74e9ac366e34347e064b0f67e772ef4e4a3968b621566f4", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "dba79e799ec48b3bc3cea2150f044a675f6723e16b01125e456fa21b169dd69d", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "e synthesis.\nAdvances in neural information\nprocessing systems, 34:8780–8794, 2021. 1\n\nDoucet, A., De Freitas, N., and Gordon, N. An introduction\nto sequential monte carlo methods. In Sequential Monte\nCarlo methods in practice, pp. 3–14. Springer, 2001. 4\n\nGokaslan,\nA. and Cohen,\nV.\nOpenwebtext cor-\npus.\nhttp://Skylion007.github.io/\nOpenWebTextCorpus, 2019. 5\n\nGong, S., Agarwal, S., Zhang, Y., Ye, J., Zheng, L., Li, M.,\nAn, C., Zhao, P., Bi, W., Han, J., et al. Scaling diffu-\nsion language models via adaptation from autoregressive\nmodels. arXiv preprint arXiv:2410.17891, 2024. 8\n\nGu, S., Chen, D., Bao, J., Wen, F., Zhang, B., Chen,\n", "url": "http://Skylion007.github.io/", "kind": "project", "span": [39929, 40569], "evidence_hash": "23a9ee800079f3e62e9ad51b78535a7ce290427d74f4d6f90db3fe29e2db9520"}]}, "slug": "2602.01849-self-rewarding-sequential-monte-carlo-for-masked-diffusion-language-models"}