SOTAVerified

What You See is What You Read? Improving Text-Image Alignment Evaluation

2023-05-17NeurIPS 2023Code Available1· sign in to hype

Michal Yarom, Yonatan Bitton, Soravit Changpinyo, Roee Aharoni, Jonathan Herzig, Oran Lang, Eran Ofek, Idan Szpektor

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Automatically determining whether a text and a corresponding image are semantically aligned is a significant challenge for vision-language models, with applications in generative text-to-image and image-to-text tasks. In this work, we study methods for automatic text-image alignment evaluation. We first introduce SeeTRUE: a comprehensive evaluation set, spanning multiple datasets from both text-to-image and image-to-text generation tasks, with human judgements for whether a given text-image pair is semantically aligned. We then describe two automatic methods to determine alignment: the first involving a pipeline based on question generation and visual question answering models, and the second employing an end-to-end classification approach by finetuning multimodal pretrained models. Both methods surpass prior approaches in various text-image alignment tasks, with significant improvements in challenging cases that involve complex composition or unnatural images. Finally, we demonstrate how our approaches can localize specific misalignments between an image and a given text, and how they can be used to automatically re-rank candidates in text-to-image generation.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
WinogroundVQ2Text Score47Unverified
WinogroundPaLI (ft SNLI-VE + Synthetic Data)Text Score46.5Unverified
WinogroundPaLI (ft SNLI-VE)Text Score45Unverified
WinogroundBLIP2 (ft COCO)Text Score44Unverified
WinogroundCOCA ViT-L14 (f.t on COCO)Text Score28.25Unverified
WinogroundOFA large (ft SNLI-VE)Text Score27.7Unverified
WinogroundCLIP RN50x64Text Score26.5Unverified
WinogroundTIFAText Score19Unverified

Reproductions