Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching

About

Diffusion models have demonstrated great success in the field of text-to-image generation. However, alleviating the misalignment between the text prompts and images is still challenging. The root reason behind the misalignment has not been extensively investigated. We observe that the misalignment is caused by inadequate token attention activation. We further attribute this phenomenon to the diffusion model's insufficient condition utilization, which is caused by its training paradigm. To address the issue, we propose CoMat, an end-to-end diffusion model fine-tuning strategy with an image-to-text concept matching mechanism. We leverage an image captioning model to measure image-to-text alignment and guide the diffusion model to revisit ignored tokens. A novel attribute concentration module is also proposed to address the attribute binding problem. Without any image or human preference data, we use only 20K text prompts to fine-tune SDXL to obtain CoMat-SDXL. Extensive experiments show that CoMat-SDXL significantly outperforms the baseline model SDXL in two text-to-image alignment benchmarks and achieves start-of-the-art performance.

Dongzhi Jiang, Guanglu Song, Xiaoshi Wu, Renrui Zhang, Dazhong Shen, Zhuofan Zong, Yu Liu, Hongsheng Li• 2024

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationT2I-CompBench
Shape Fidelity53.29
94
Attribute Binding in Text-to-Image GenerationBLIP-VQA
Color Binding77.74
18
Text-to-Image GenerationSemantic Binding Assessment Subsets
BLIP-VQA Color Accuracy0.7774
11
Text-to-Image AlignmentTIFA (test)
TIFA87.5
6
Text-to-Image AlignmentDPG-Bench (test)
DPG77.13
6
Showing 5 of 5 rows

Other info

Code

Follow for update