# Best-of-N Guidance for Test-time Diffusion Alignment

*Richard Lee Kim, Yeongmin Kim, Gyuwon Sim, Taekyu Kim, Minsang Park, Il-chul Moon*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154666) · [OpenReview](https://openreview.net/forum?id=BvprWJNII9) · [alphaXiv](https://www.alphaxiv.org/abs/2610.05108) · [Open on the map](../papers.html#p154666)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Model Guidance](../pgroup/45.md) · Type: new method · Keywords: diffusion model alignment, best-of-N sampling, particle guidance, reward model, image generation

## Summary
Best-of-N Guidance (BoNG) integrates BoN sampling into the reverse diffusion process via particle-level guidance to improve both the best and average alignment of generated samples.

## Explained to a 5-year-old
Some computers make pictures using diffusion models, but the pictures sometimes aren't what people like. A simple trick is to make many pictures and pick the best one, but that doesn't help the other pictures get better. The new idea watches the pictures while they are being made and uses the best picture to tell the others how to improve. This helps all the pictures become nicer and also makes the best picture even better. As a result, the pictures look better and can be made faster for many uses.

## Explained to a 5-year-old, longer
Computers can create pictures using a process called diffusion models. Sometimes the pictures they make don't look like what people would like. To fix this, researchers make many pictures and choose the one that looks best according to a reward model. However, just picking the best picture after it is made doesn't make the other pictures better. The new approach watches the pictures as they are being drawn and uses the best picture to guide the others. This guidance helps the other pictures improve while they are still being generated. Because the pictures help each other, the final set of pictures are all nicer on average. The best picture also becomes even better than before. This method works for generating many pictures at once, not just one. It also runs faster than previous methods that only selected the best after generation. As a result, users get higher-quality images more quickly and efficiently. The technique can be applied to many kinds of image generation tasks.

## For a technical reader
The paper addresses the problem of aligning diffusion model outputs with human preferences without retraining the model. It proposes an online selection mechanism that operates over denoising particles during generation, using the highest-reward particle to steer the rest of the population. This particle-level guidance reshapes the sampling distribution, improving both the top-ranked sample and the average quality of generated samples. Empirical evaluations on 36 comparison settings show the approach outperforms baseline sampling and prior guidance methods, achieving a 1.3× higher reward score with a 1.6× speedup. The method also extends to multi-output scenarios, making it suitable for applications that require several aligned outputs per inference.

## Problem
Diffusion models often produce samples that do not match human preferences as measured by reward models. Existing test-time alignment methods, such as best-of-N sampling, select the highest-reward sample after generation but do not improve the overall quality of the generated population, limiting their usefulness for multi-output settings.

## Method
The approach performs online best-of-N selection over denoising particles during the reverse diffusion process and uses the current best particle to guide the rest of the particle population, creating an asymmetric interaction that steers generation toward higher-reward regions.

## Results
BoNG achieved the best performance in 29 out of 36 comparisons, ranking first in 80.56% of cases against SMC and Vanilla BoN, and it attained a 1.3× higher ImageReward score with 1.6× speedup over the latest sample-based guidance method.

## Contributions
The paper introduces a particle-level guidance scheme that integrates best-of-N selection into the reverse diffusion process, improving both the top-ranked and average alignment of generated samples, and extends to multi-output generation.

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](../feedback/?on=p/154666)
