Dual Caption Preference Optimization for Diffusion Models

Amir Saeidi, Yiran Lawrence Luo, Agneet Chatterjee, Shamanthak Hegde, Bimsara Pathiraja, Yezhou Yang, Chitta Baral · Submission to ICLR 2025 · Withdrawn

Dual Caption Preference Optimization (DCPO) is a novel approach designed to improve text-to-image diffusion models by assigning distinct, descriptive captions to both preferred and less-preferred images in a training pair. By breaking the standard practice of using a single shared prompt for both images, DCPO provides a much sharper supervision signal. This leads to significant gains in image quality and prompt adherence across major benchmarks.

The Bottleneck in Current Methods

Aligning diffusion models with human preferences usually involves showing the model a prompt alongside two generated images—one "preferred" (better) and one "less-preferred" (worse). Standard methods, such as Direct Preference Optimization (DPO), use the exact same original prompt for both images.

The authors identify two major bottlenecks in this traditional approach:

  1. Semantic Overlap: In existing datasets, the distributions of preferred and less-preferred images for a given prompt often overlap significantly. This "muddiness" makes it hard for the model to learn exactly what features make one image better than the other.
  2. Irrelevant Prompts: A single prompt might describe the "good" image well but contain information that is irrelevant or even contradictory to the "bad" image. During training, forcing the model to associate a bad image with a prompt it doesn't match confuses the U-Net’s noise prediction process.

The Dual Caption Framework

The core innovation of this paper is the Dual Caption framework. Instead of a single prompt $c$, the model uses a pair of captions $(z^w, z^l)$ tailored specifically to the preferred and less-preferred images, respectively.

Overview of the Dual Caption Preference Optimization (DCPO) framework, illustrating the Captioning, Perturbation, and Hybrid strategies.

The authors propose three strategies to generate these distinct captions:

  • DCPO-c (Captioning): Uses Vision-Language Models (VLMs) like LLaVA or Emu2 to generate detailed, unique descriptions for both images based on their actual visual content.
  • DCPO-p (Perturbation): Keeps the original prompt for the preferred image but uses a Large Language Model (DIPPER) to "degrade" or perturb the prompt for the less-preferred image (e.g., changing "a cat on a mat" to "a feline near a rug").
  • DCPO-h (Hybrid): The most effective variant, which combines VLM captioning for the preferred image with a perturbed version of that caption for the less-preferred one.

To support this framework, the authors introduce a modified objective function. It allows the policy model to increase the likelihood of the preferred image given its specific caption, while simultaneously decreasing the likelihood of the less-preferred image given its own distinct caption.

Datasets and Evaluation

The study primarily uses Pick-a-Pic v2, a large-scale dataset of human preferences. From this, they created a new benchmark called the Pick-Double Caption dataset—a modified version of 20,000 instances from Pick-a-Pic v2, where each image pair is augmented with the dual captions described above.

The models were rigorously tested on benchmarks including HPSv2.1, GenEval, Pickscore, CLIPscore, and ImageReward. They also utilized PartiPrompts for qualitative evaluation via GPT-4o.

Key Insights

  • The "Semantic Gradient": The authors hypothesize (and prove) that increasing the semantic distance between the two captions improves model alignment. However, there is a "sweet spot"—if the captions become too divergent or out-of-distribution, performance can actually drop.
  • VLMs as Better Teachers: Captions generated by VLMs are often more "correlated" with the actual image pixels than the original user prompts. Training on these high-fidelity descriptions provides a stronger, cleaner learning signal for the U-Net.
  • Offline Efficiency: Unlike "online" methods that require generating new images during training (which is computationally expensive), DCPO is an "offline" method. It achieves superior results with a fixed dataset and fewer optimization steps.

Key Results

DCPO-h (the hybrid variant) consistently outperformed Stable Diffusion 2.1 (base), Diffusion-DPO, and MaPO across the board.

Qualitative comparison of images generated by SD 2.1 Base, standard DPO methods, and the proposed DCPO-h method.
  • Quantitative Gains: Fine-tuned on SD 2.1, DCPO-h saw improvements of +0.21 in Pickscore, +0.31 in HPSv2.1, and a +2% boost in GenEval (which measures complex attribute binding and counting).
  • Human/AI Preference: In GPT-4o-based evaluations on the PartiPrompts dataset, DCPO-h achieved a 58% win rate in general preference and a 66% win rate in visual appeal against Diffusion-DPO.
  • Backbone Agnostic: While primarily tested on SD 2.1, preliminary tests on SDXL showed that DCPO still outperformed standard DPO, suggesting the method scales well to larger, more modern architectures.

Limitations and Future Work

While highly effective, DCPO does come with a preprocessing cost. Generating dual captions for hundreds of thousands of image pairs requires significant VLM/LLM compute time before training even begins. Additionally, there are out-of-distribution (OOD) risks: if the captioning model produces descriptions that are too different from how humans actually prompt, the model might struggle when deployed for real-world use.

Future directions include exploring DCPO for safety-related alignment (e.g., better distinguishing between safe and unsafe content) and further refining the "perturbation" levels to find the optimal semantic distance for different generative tasks.

Summary updated

BibTeX
@misc{saeidi2025dual,
  author = {Amir Saeidi and Yiran Lawrence Luo and Agneet Chatterjee and Shamanthak Hegde and Bimsara Pathiraja and Yezhou Yang and Chitta Baral},
  title = {{Dual Caption Preference Optimization for Diffusion Models}},
  year = {2025},
  eprint = {2502.06023},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06023},
}
Figure