D-Fusion: Direct Preference Optimization for Aligning Diffusion Models with Visually Consistent Samples

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Zijing, Zhang, Fengda, Kuang, Kun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915309571538944
author Hu, Zijing
Zhang, Fengda
Kuang, Kun
author_facet Hu, Zijing
Zhang, Fengda
Kuang, Kun
contents The practical applications of diffusion models have been limited by the misalignment between generated images and corresponding text prompts. Recent studies have introduced direct preference optimization (DPO) to enhance the alignment of these models. However, the effectiveness of DPO is constrained by the issue of visual inconsistency, where the significant visual disparity between well-aligned and poorly-aligned images prevents diffusion models from identifying which factors contribute positively to alignment during fine-tuning. To address this issue, this paper introduces D-Fusion, a method to construct DPO-trainable visually consistent samples. On one hand, by performing mask-guided self-attention fusion, the resulting images are not only well-aligned, but also visually consistent with given poorly-aligned images. On the other hand, D-Fusion can retain the denoising trajectories of the resulting images, which are essential for DPO training. Extensive experiments demonstrate the effectiveness of D-Fusion in improving prompt-image alignment when applied to different reinforcement learning algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2505_22002
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle D-Fusion: Direct Preference Optimization for Aligning Diffusion Models with Visually Consistent Samples
Hu, Zijing
Zhang, Fengda
Kuang, Kun
Computer Vision and Pattern Recognition
The practical applications of diffusion models have been limited by the misalignment between generated images and corresponding text prompts. Recent studies have introduced direct preference optimization (DPO) to enhance the alignment of these models. However, the effectiveness of DPO is constrained by the issue of visual inconsistency, where the significant visual disparity between well-aligned and poorly-aligned images prevents diffusion models from identifying which factors contribute positively to alignment during fine-tuning. To address this issue, this paper introduces D-Fusion, a method to construct DPO-trainable visually consistent samples. On one hand, by performing mask-guided self-attention fusion, the resulting images are not only well-aligned, but also visually consistent with given poorly-aligned images. On the other hand, D-Fusion can retain the denoising trajectories of the resulting images, which are essential for DPO training. Extensive experiments demonstrate the effectiveness of D-Fusion in improving prompt-image alignment when applied to different reinforcement learning algorithms.
title D-Fusion: Direct Preference Optimization for Aligning Diffusion Models with Visually Consistent Samples
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.22002