CLIP Score

Category: Foundations of ML/AI

A metric that evaluates image-text alignment by measuring the cosine similarity between CLIP embeddings of an image and its caption.

Full Explanation

CLIP Score leverages the CLIP (Contrastive Language-Image Pre-training) model to evaluate how well a generated image matches a text description. It computes the cosine similarity between the image embedding and text embedding produced by CLIP. Higher scores indicate better alignment between the image and the text prompt. CLIP Score has become widely used for evaluating text-to-image generation models like DALL-E, Stable Diffusion, and Midjourney. Unlike FID, which only measures image quality and diversity, CLIP Score explicitly evaluates semantic alignment with the intended prompt. It can be used both as an evaluation metric and as a guidance signal during image generation. The metric correlates well with human judgments of image-text relevance.

Related Terms

More in Foundations of ML/AI

Explore More