NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

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

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion Language Model Sampling · Type: new method · Keywords: diffusion language models, sampling diversity, Pass@k, low-cost intervention, code generation

Summary

The paper introduces a training-free, low-cost intervention that repels each generated sample from previous ones to increase diversity and improve Pass@k performance in diffusion language models.

Explained to a 5-year-old

When a computer writes sentences, it sometimes repeats the same ideas over and over. A new trick makes the computer think of new ideas by pushing each new idea away from the ones it already made. This trick does not need extra training, so it saves time and computer power. It helps when you need many different answers, like solving puzzles or writing code. Having more different answers makes it easier to find the right one.

Explained to a 5-year-old, longer

When a computer writes sentences, it often copies the same patterns many times. This can be a problem when you need many different solutions, like finding many ways to solve a math problem. A new idea works like a simple game where each new sentence is nudged away from the ones that have already been made. By doing this, the computer avoids making the same answer again and again. The trick does not require the computer to learn anything new, so it is fast and uses little extra computer power. It can be used with any computer program that writes text, such as those that help write code or solve puzzles. The result is a list of answers that are more varied and cover more possibilities. This variety helps people see different options and pick the best one for their task. Because the method is cheap, even small teams or devices can benefit from it. It works well on tasks where having many distinct candidates is important, like coding challenges. The approach is simple: just adjust each new output so it is different from the previous ones. Overall, it makes generating text more useful by giving a richer set of choices.

For a technical reader

The paper addresses the redundancy problem in diffusion language models, where independent samples often collapse into similar modes, wasting compute. It proposes a training-free intervention that processes samples in a batch sequentially, repelling each sample from the feature space of earlier samples to enforce diversity. This repulsion is implemented as a low-cost penalty during sampling, requiring no additional training or beam search, and incurs negligible overhead. Evaluations on HumanEval and GSM8K with LLaDA-8B-Instruct and Dream-v0-Instruct-7B show significant improvements in both sample diversity and Pass@k performance across various settings. The method is immediately applicable to existing diffusion models, offering a simple, efficient way to boost solution exploration for complex reasoning tasks.

Problem

Generating diverse text outputs for complex reasoning tasks is challenging because traditional sampling methods often produce repetitive, redundant candidates, limiting effective exploration.

Method

The approach modifies intermediate samples within a batch sequentially, repelling each sample from the feature space of earlier samples to penalize redundancy, requiring no additional training or beam search.

Results

The approach yields significantly higher diversity and better Pass@k performance on HumanEval and GSM8K across different sampling settings.

Contributions

It provides a training-free, low-cost intervention that actively reduces redundancy among diffusion model samples, leading to enhanced diversity and improved Pass@k results without extra computation.

Practical relevance

It enables cheap, on-the-fly generation of diverse solutions for complex reasoning tasks, making diffusion models more practical for real-world applications.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction