English

SSD: Towards Better Text-Image Consistency Metric in Text-to-Image Generation

Computer Vision and Pattern Recognition 2022-12-06 v3

Abstract

Generating consistent and high-quality images from given texts is essential for visual-language understanding. Although impressive results have been achieved in generating high-quality images, text-image consistency is still a major concern in existing GAN-based methods. Particularly, the most popular metric RR-precision may not accurately reflect the text-image consistency, often resulting in very misleading semantics in the generated images. Albeit its significance, how to design a better text-image consistency metric surprisingly remains under-explored in the community. In this paper, we make a further step forward to develop a novel CLIP-based metric termed as Semantic Similarity Distance (SSDSSD), which is both theoretically founded from a distributional viewpoint and empirically verified on benchmark datasets. Benefiting from the proposed metric, we further design the Parallel Deep Fusion Generative Adversarial Networks (PDF-GAN) that aims at improving text-image consistency by fusing semantic information at different granularities and capturing accurate semantics. Equipped with two novel plug-and-play components: Hard-Negative Sentence Constructor and Semantic Projection, the proposed PDF-GAN can mitigate inconsistent semantics and bridge the text-image semantic gap. A series of experiments show that, as opposed to current state-of-the-art methods, our PDF-GAN can lead to significantly better text-image consistency while maintaining decent image quality on the CUB and COCO datasets.

Keywords

Cite

@article{arxiv.2210.15235,
  title  = {SSD: Towards Better Text-Image Consistency Metric in Text-to-Image Generation},
  author = {Zhaorui Tan and Xi Yang and Zihan Ye and Qiufeng Wang and Yuyao Yan and Anh Nguyen and Kaizhu Huang},
  journal= {arXiv preprint arXiv:2210.15235},
  year   = {2022}
}