cs.CLMar 5, 2026

Free Lunch for Pass@kk? Low Cost Diverse Sampling for Diffusion Language Models

Authors: Sean Lamont, Christian Walder, Paul Montague, Amir Dezfouli, Michael Norrish

Organizations: Australian National University · Defence Science and Technology Group · Google DeepMind · BIMLOGIQ

Abstract

Diverse outputs in text generation are necessary for effective exploration in complex reasoning tasks, such as code generation and mathematical problem solving. Such Pass@kk problems benefit from distinct candidates covering the solution space. However, traditional sampling approaches often waste computational resources on repetitive failure modes. While Diffusion Language Models have emerged as a competitive alternative to the prevailing Autoregressive paradigm, they remain susceptible to this redundancy, with independent samples frequently collapsing into similar modes. To address this, we propose a training free, low cost intervention to enhance generative diversity in Diffusion Language Models. Our approach modifies intermediate samples in a batch sequentially, where each sample is repelled from the feature space of previous samples, actively penalising redundancy. Unlike prior methods that require retraining or beam search, our strategy incurs negligible computational overhead, while ensuring that each sample contributes a unique perspective to the batch. We evaluate our method on the HumanEval and GSM8K benchmarks using the LLaDA-8B-Instruct model. Our results demonstrate significantly improved diversity and Pass@kk performance across various temperature settings. As a simple modification to the sampling process, our method offers an immediate, low-cost improvement for current and future Diffusion Language Models in tasks that benefit from diverse solution search. We make our code available at https://github.com/sean-lamont/odd.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. A Tale of Two Temperatures: Simple, Efficient, and Diverse Sampling from Diffusion Language Models

    Apr 10, 2026Theo X. Olausson, Metod Jazbec, Xi Wang +4Diffusion Language ModelsDiversity-Aware Sampling

  2. Forward-Free Diffusion Language Models

    Jun 6, 2026Haotian Sun, Rushi Qiang, Yuqian Zheng +1Diffusion Language Models

  3. LESS Is More: Mutual-Stability Sampling for Diffusion Language Models

    Jun 15, 2026Amr Mohamed, Guokan Shang, Michalis VazirgiannisMasked Diffusion ModelsDiffusion Language Model Decoding