Abstract
Direct preference optimization (DPO) has successfully aligned large language models with human preferences without explicit reward models. However, applying this to text-to-image (T2I) diffusion models is challenging due to the long Markov chain denoising process and intractable reverse processes. We introduce DDIM-InPO, an efficient method for direct preference alignment. By reparameterizing the diffusion model as a single-step generator and employing a novel inversion technique to estimate latent variables, we enable targeted fine-tuning. Experimental results show that DDIM-InPO achieves state-of-the-art performance in just 400 steps, significantly outperforming existing baselines in human preference tasks.
Introduction
Aligning Text-to-Image (T2I) diffusion models with human preferences is a critical step toward generating high-quality, instruction-following imagery. While techniques like DPO have revolutionized LLM alignment, diffusion models present unique hurdles. The standard denoising process involves a long sequence of timesteps, making backpropagation computationally expensive and the relationship between specific steps and final image quality "sparse." Existing methods often suffer from low training efficiency and subpar generation quality due to these complexities.
Methodology: DDIM-InPO
The core of DDIM-InPO lies in simplifying the trajectory optimization problem into a single-step generative task through two key innovations.
Reparameterized Single-Step Generation
The authors reparameterize the DDIM process to link any noisy latent variable $x_t$ directly to a predicted final image $x_0$. This allows the model to assign implicit rewards to latent variables at any timestep, bypassing the need to optimize the entire denoising chain. This shift turns a trajectory optimization problem into a much simpler supervised-style optimization of specific latent outputs.
Preference Optimization via Inversion
To bridge the gap between human-preferred images (pixel space) and the model's internal states (latent space), the framework utilizes DDIM Inversion. For any pair of "winner" and "loser" images in a preference dataset, inversion identifies the specific latent variables that would have produced them.
By focusing fine-tuning on these highly correlated latent variables, the model learns to favor preferred characteristics with extreme efficiency, avoiding the "drift" or over-optimization common in longer training cycles.
Experimental Results
The model was fine-tuned using the Pick-a-Pic v2 dataset and evaluated against benchmarks like HPDv2 and Parti-Prompts using both Stable Diffusion 1.5 and SDXL architectures.
Efficiency and Performance
DDIM-InPO demonstrates a massive leap in training efficiency. It is 18.4x faster than Diffusion-KTO and 3.6x faster than Diffusion-DPO in terms of GPU hours. Despite the drastically reduced training time, it achieves higher PickScores and superior human evaluation results across overall preference, visual attractiveness, and text alignment.
Qualitative Improvements
Beyond metrics, the method yields significant visual improvements in spatial structure, text integration (e.g., rendering specific words on objects), and overall aesthetics like lighting and texture. Furthermore, the fine-tuned models remain compatible with conditional generation tools like ControlNet without requiring additional training.
Conclusion
DDIM-InPO addresses the efficiency bottleneck in diffusion model alignment. By treating the model as a single-step generator and using inversion to target relevant latents, it achieves SOTA results in a fraction of the time required by previous methods. Future work includes exploring online alignment strategies and further mitigating numerical errors in high-CFG inversion processes.
Summary updated