Discriminative Probing and Tuning for Text-to-Image Generation

Leigang Qu, Wenjie Wang, Yongqi Li, Hanwang Zhang, Liqiang Nie +1 more
2/9/2026

No official code found. Best implementation: LgQu/DPT-T2I (33 stars, Apache-2.0, last commit 2025-03-30).

Abstract

Despite advancements in text-to-image generation (T2I), prior methods often face text-image misalignment problems such as relation confusion in generated images. Existing solutions involve cross-attention manipulation for better compositional understanding or integrating large language models for improved layout planning. However, the inherent alignment capabilities of T2I models are still inadequate. By reviewing the link between generative and discriminative modeling, we posit that T2I models' discriminative abilities may reflect their text-image alignment proficiency during generation. In this light, we advocate bolstering the discriminative abilities of T2I models to achieve more precise text-to-image alignment for generation. We present a discriminative adapter built on T2I models to probe their discriminative abilities on two representative tasks and leverage discriminative fine-tuning to improve their text-image alignment. As a bonus of the discriminative adapter, a self-correction mechanism can leverage discriminative gradients to better align generated images to text prompts during inference. Comprehensive evaluations across three benchmark datasets, including both in-distribution and out-of-distribution scenarios, demonstrate our method's superior generation performance. Meanwhile, it achieves state-of-the-art discriminative performance on the two discriminative tasks compared to other generative models. The code is available at https://dpt-t2i.github.io/.

View on arXivView PDF

Code Implementations(1)

LgQu/DPT-T2ICommunity67%
Apache-2.0

Official code for CVPR 2024 paper: Discriminative Probing and Tuning for Text-to-Image Generation

331PythonMar 9, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{qu2026discriminative,
  title  = {Discriminative Probing and Tuning for Text-to-Image Generation},
  author = {Leigang Qu and Wenjie Wang and Yongqi Li and Hanwang Zhang and Liqiang Nie and Tat-Seng Chua},
  year   = {2026},
  eprint = {2403.04321},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2403.04321},
  journal = {CVPR 2024 2024}
}

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/2403.04321.svg)](https://codeofpaper.com/paper/2403.04321)

Discussion