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

Dongzhi Jiang, Guanglu Song, Xiaoshi Wu, Renrui Zhang, Dazhong Shen +3 more
2/3/2026

No official code found. Best implementation: CaraJ7/CoMat (169 stars, last commit 2024-11-18).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

CaraJ7/CoMatCommunity100%

[NeurIPS 2024] 💫CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching

1698Shell, PythonApr 4, 20241 years ago

Similar Papers

Cite this paper

@article{jiang2026comat,
  title  = {CoMat: Aligning Text-to-Image Diffusion Model with Image-to-Text Concept Matching},
  author = {Dongzhi Jiang and Guanglu Song and Xiaoshi Wu and Renrui Zhang and Dazhong Shen and Zhuofan Zong and Yu Liu and Hongsheng Li},
  year   = {2026},
  eprint = {2404.03653},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2404.03653},
  url    = {https://arxiv.org/abs/2404.03653},
  journal = {NEURIPS 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/2404.03653.svg)](https://codeofpaper.com/paper/2404.03653)

Discussion