# Learning to Sample From Diffusion Models via Inverse Reinforcement Learning

*Constant Bourdrez, Alexandre Verine, Olivier Cappé*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154984) · [Open on the map](../papers.html#p154984)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Guidance and Sampling Optimization](../pgroup/595.md) · Type: new method · Keywords: diffusion models, sampling strategies, inverse reinforcement learning, policy gradient, ImageNet-64, cost reduction

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Diffusion Model Optimization › Diffusion Model Guidance

## Summary
The paper introduces an inverse reinforcement learning framework that learns diffusion model sampling strategies without retraining the denoiser, achieving up to 9× lower cost than grid search.

## Explained to a 5-year-old
Diffusion models are computer programs that turn random noise into pictures. They do this by taking many small steps, each step removing a little bit of the noise. Choosing the right steps-like how much noise to remove each time-is important for good pictures. Usually people have to try many different step settings and see which works best, which takes a lot of time. This paper shows a way to let a computer learn the best steps by watching how other computers do it. This learning does not need to change the picture-making part, so it saves time and money. The result is that pictures are made just as well but cost much less to produce.

## Explained to a 5-year-old, longer
Diffusion models are computer programs that turn random noise into pictures. They work by taking many tiny steps, each step cleaning away a little bit of the noise. To make a good picture, you need to decide how much noise to remove at each step. Usually people have to guess many different step settings and test them, which is slow and uses a lot of computer power. This paper comes up with a new idea: it lets a computer learn the best step choices by looking at examples of how other computers make pictures. The learning happens without changing the core picture-making part of the model. Because of this, the computer can make pictures just as well as before but uses far less time and money. The method also avoids the need for a complicated reward function, making the learning process simpler. In experiments, the learned method works as well as carefully tuned versions and costs up to nine times less than the old trial-and-error approach. At inference time, there is only a small extra cost of about 16 percent. This makes generating pictures with diffusion models cheaper and more practical for everyday use.

## For a technical reader
The work frames diffusion sampling as a finite-horizon MDP where each action adjusts sampling dynamics. Policy gradients are applied to match target sampler behavior without designing an explicit reward. Experiments on ImageNet-64 show the learned sampler matches fine-tuned baselines while costing up to 9× less than exhaustive grid search, with only 16% inference overhead.

## Problem
Diffusion model sampling requires careful tuning of noise schedules, guidance scales, and stochasticity, which is usually done via expensive grid search.

## Method
The approach formulates diffusion sampling as a discrete-time finite-horizon Markov Decision Process where actions modify sampling dynamics and uses policy gradient techniques to match desired sampler behavior without an explicit reward.

## Results
The approach matches fine-tuned samplers and reduces sampling cost by up to 9× compared to grid search, with only 16% overhead at inference.

## Contributions
It provides a way to learn diffusion sampling strategies via reinforcement learning without retraining the denoiser, and demonstrates substantial cost savings over exhaustive grid search.

## Research questions this paper is counted under

- [How can diffusion models automatically learn effective, adaptive noise schedules without manual design or grid search?](../q/856.md)

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/154984)
