Inversion-DPO: Precise and Efficient Post-Training for Diffusion Models

Zejian Li, Yize Li, Chenye Meng, Zhongni Liu, Ling Yang, Shengyuan Zhang, Guang Yang, Changyuan Yang, Zhiyuan Yang, Lingyun Sun · DOI

TL;DR

This paper introduces Inversion-DPO, a novel method for aligning diffusion models with human preferences. By leveraging DDIM inversion, it achieves more precise and efficient post-training compared to existing methods, eliminating the need for explicit reward models and significantly speeding up convergence.

What Problem Does This Paper Address?

Diffusion models (DMs) have revolutionized image generation, but aligning their outputs with human preferences remains a challenge. Existing alignment methods, like Direct Preference Optimization (DPO), often require training a separate reward model and the base diffusion model, leading to high computational costs and potential accuracy compromises. While Diffusion-DPO simplifies this by integrating preference learning into the diffusion model's loss, it suffers from an imprecise approximation of the reverse diffusion process, hindering both accuracy and efficiency. This paper aims to address these limitations by proposing a more precise and efficient alignment framework.

Methods

The core innovation is Inversion-DPO, which reformulates DPO using DDIM inversion. Instead of relying on approximate posterior sampling, Inversion-DPO uses the deterministic DDIM inversion process to recover the intermediate noisy states ($x_{1:T}$) from a given image ($x_0$). This precise recovery of the diffusion trajectory allows for a more accurate estimation of the preference loss. Specifically, it collapses the four KL divergence terms in Diffusion-DPO's loss into two deterministic matching terms, significantly improving training efficiency (over 2x faster convergence). The method is also extended to handle multi-objective learning for compositional image generation, combining multiple metrics to derive more robust preference signals.

Datasets

  • Pick-a-Pic v2 dataset: Used for training the text-to-image generation model.
  • LAION-SG dataset: Used for compositional image generation, with a custom paired dataset curated from it. This dataset includes structural annotations and comprehensive scores for complex scenes.

Key Insights and Ideas

  • DDIM Inversion as a precise trajectory recovery tool: The paper highlights that DDIM inversion, when applied to diffusion models, can deterministically recover the intermediate noisy states. This precise recovery is key to overcoming the approximation errors in existing DPO methods for diffusion models.
  • Simplifying the loss function: By leveraging the deterministic nature of DDIM inversion, the complex loss function of Diffusion-DPO can be significantly simplified, leading to faster training and improved efficiency.
  • Multi-objective learning for complex generation: For tasks like compositional image generation, relying on a single metric is insufficient. The paper demonstrates the benefit of combining multiple metrics to create more informative preference signals.

Key Results

  • Improved Performance: Inversion-DPO consistently outperforms baselines like SDXL, Diffusion-DPO, DDPO, and others in terms of human preference alignment (PickScore), semantic consistency (CLIP Score), and aesthetic quality (Aesthetic Score) on text-to-image tasks.
  • Enhanced Compositional Generation: For compositional image generation, Inversion-DPO achieves state-of-the-art results, outperforming existing methods in image quality (FID) and various scene-level consistency metrics (SG-IoU, Entity-IoU, Relation-IoU).
  • Significant Efficiency Gains: Inversion-DPO achieves over 2x faster training convergence compared to Diffusion-DPO. With 80 DDIM inversion steps, it is over 4x faster, and even surpasses the official Diffusion-DPO checkpoint in performance.
  • User Preference: A user study showed that Inversion-DPO is preferred by users over SDXL (66.53% preference) and Diffusion-DPO (72.67% preference).

Limitations and Future Work

  • Imprecise Approximation Assumption: The core assumption of DDIM inversion (similarity of noise distributions) is more valid with a larger number of inversion steps. With fewer steps, this approximation might introduce inaccuracies.
  • Two-Round Inference: The training pipeline requires two inference passes (one for DDIM inversion, one for reference model estimation), which increases computational cost, though it improves convergence.
  • Impact of DDIM Errors: The exact impact of errors introduced by DDIM inversion on the overall optimization process requires further investigation. More accurate inversion methods could lead to better approximations.
  • Potential for Misuse: The paper acknowledges the risk of automated preference signals inadvertently promoting unsafe content or being manipulated by adversarial inputs. They advocate for rigorous safety filters, human oversight, and transparent evaluation.
  • Future Work: The authors suggest exploring more accurate inversion methods and investigating the influence of DDIM inversion errors on the optimization process.

Summary updated

BibTeX
@inproceedings{li2025inversion,
  author = {Zejian Li and Yize Li and Chenye Meng and Zhongni Liu and Ling Yang and Shengyuan Zhang and Guang Yang and Changyuan Yang and Zhiyuan Yang and Lingyun Sun},
  title = {{Inversion-DPO: Precise and Efficient Post-Training for Diffusion Models}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755220},
}
Figure