TIAM -- A Metric for Evaluating Alignment in Text-to-Image Generation

Paul Grimal, Hervé Le Borgne, Olivier Ferret, Julien Tourille
7/11/2023
cs.CVcs.AIcs.CL

Official code: grimalPaul/TIAM (19 stars, AGPL-3.0, last commit 2025-02-03).

Abstract

The progress in the generation of synthetic images has made it crucial to assess their quality. While several metrics have been proposed to assess the rendering of images, it is crucial for Text-to-Image (T2I) models, which generate images based on a prompt, to consider additional aspects such as to which extent the generated image matches the important content of the prompt. Moreover, although the generated images usually result from a random starting point, the influence of this one is generally not considered. In this article, we propose a new metric based on prompt templates to study the alignment between the content specified in the prompt and the corresponding generated images. It allows us to better characterize the alignment in terms of the type of the specified objects, their number, and their color. We conducted a study on several recent T2I models about various aspects. An additional interesting result we obtained with our approach is that image quality can vary drastically depending on the noise used as a seed for the images. We also quantify the influence of the number of concepts in the prompt, their order as well as their (color) attributes. Finally, our method allows us to identify some seeds that produce better images than others, opening novel directions of research on this understudied topic.

View on arXivView PDF

Code Implementations(1)

grimalPaul/TIAMOfficial76%
AGPL-3.0

[WACV 2024] Official Implementation of TIAM - A Metric for Evaluating Alignment in Text-to-Image Generation

191PythonJul 6, 20231 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{grimal2023tiam,
  title  = {TIAM -- A Metric for Evaluating Alignment in Text-to-Image Generation},
  author = {Paul Grimal and Hervé Le Borgne and Olivier Ferret and Julien Tourille},
  year   = {2023},
  eprint = {2307.05134},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.05134v2}
}

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

Discussion