Direct Trajectory Optimization for Inference-Time Alignment of Text-to-Image Diffusion Models

Huixuan Zhang, Xiaojun Wan
11/9/2026
cs.CVcs.AI
diffusion-flow

No confident code implementation found for this paper.

Abstract

Alignment of text-to-image diffusion models with reward functions is a key challenge in controllable generation. Existing approaches typically rely on optimizing model inputs or fine-tuning denoising networks, which requires computationally expensive backpropagation through large denoising models.

Show full abstract

In this work, we propose Direct Trajectory Optimization (DTO), a training-free framework that performs alignment by directly optimizing the sampling trajectory of diffusion models. Specifically, DTO treats intermediate denoising scores and sampled noise as the optimization variables, eliminating the need for gradients through the denoising network. To mitigate the out-of-distribution problem, we introduce Reward-Optimized Score Guidance, which interpolates between the optimized scores and the pretrained model predictions to stabilize sampling, while providing a provable theoretical guarantee of reward improvement under constrained distributions. Empirically, DTO improves alignment performance across three diffusion models on two benchmarks, outperforming existing inference-time alignment methods while maintaining high efficiency. These results suggest that trajectory-level optimization is a promising direction for efficient and effective diffusion model alignment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026direct,
  title  = {Direct Trajectory Optimization for Inference-Time Alignment of Text-to-Image Diffusion Models},
  author = {Huixuan Zhang and Xiaojun Wan},
  year   = {2026},
  eprint = {2611.11821},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.11821v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.11821.svg)](https://codeofpaper.com/paper/2611.11821)

Discussion