# Test-time Scaling of Diffusions with Flow Maps

*Amirmojtaba Sabour, Michael Albergo, Carles Domingo i Enrich, Nicholas Boffi, Sanja Fidler, Karsten Kreis, Eric Vanden-Eijnden*

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

Category: [Diffusion & Image Generation](../pcat/5.md) › [Diffusion Guidance and Sampling Optimization](../pgroup/595.md) · Type: new method · Keywords: diffusion models, test-time scaling, flow map, reward optimization, image editing

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

## Summary
Flow Map Trajectory Tilting (FMTT) improves test-time scaling of diffusion models by using a flow-map look-ahead to better ascend user-specified rewards.

## Explained to a 5-year-old
Diffusion models are like machines that draw pictures step by step. Sometimes we want the pictures to follow a special rule, like a reward, but the rule only makes sense after the picture is finished. The old way tries to use the rule during drawing, but it often goes wrong. The new idea uses a special map that tells how the drawing changes, letting the machine look ahead and follow the rule better. This helps make pictures that match what we want, like editing images with text instructions.

## Explained to a 5-year-old, longer
Diffusion models are like machines that draw pictures step by step, gradually improving the image. Sometimes we want the final picture to follow a special rule, such as a reward that scores how good the picture is, but this rule only makes sense after the picture is completely drawn. The usual method tries to apply the rule while drawing, but because the rule is only defined at the end, it often leads to unstable or wrong results. The new approach uses a special map that records how the picture changes over time, allowing the machine to look ahead and predict what the final picture would be. By using this map, the machine can adjust its drawing to better satisfy the reward, making the final picture more aligned with what we want. This technique also works for both exact sampling, where we weight samples according to the reward, and for searching for local maxima of the reward-tilted distribution. As a result, we can perform new kinds of image editing, for example by using vision-language models to guide the editing process with text instructions.

## For a technical reader
The paper addresses the challenge of optimizing diffusion models at inference time using a user-defined reward. Standard methods inject the reward gradient into the diffusion dynamics, but this is ill-posed because the reward is only defined on the final data distribution. Existing fixes approximate the final sample with a denoiser, which can be inaccurate. The authors propose working with the flow map of the diffusion process, which captures the exact transformation from noise to sample. By leveraging the relationship between the flow map and the velocity field, they construct a fast and precise look-ahead that provably improves reward ascent. This enables both exact sampling via importance weighting and principled search for local maximizers of the reward-tilted distribution. Experiments show the method outperforms other look-ahead techniques and opens up new image-editing possibilities, such as interfacing with vision-language models.

## Problem
Improving diffusion models at test-time by maximizing a user-specified reward is ill-posed because rewards are defined only on the final data distribution, making gradient-based methods unreliable. Existing workarounds rely on approximate denoisers to estimate the final sample, which can be inaccurate.

## Method
The approach works directly with the flow map of the diffusion process, exploiting its relationship with the underlying velocity field to perform a fast yet precise look-ahead. This enables better ascent on the reward compared to standard gradient-based test-time methods, and can be used for exact sampling via importance weighting or for searching local maximizers of the reward-tilted distribution.

## Contributions
A flow-map based solution that provides a fast and precise look-ahead for test-time reward ascent, with provable improvement over gradient-based methods, and support for both exact sampling and reward maximization via principled search.

## Practical relevance
Enables more reliable and flexible image editing through test-time reward optimization, facilitating integration with vision-language models.

## Research questions this paper is counted under

- [How can diffusion models be reliably steered at inference time to achieve desired distribution-level rewards with theoretical guarantees?](../q/870.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/154289)
