RA-ClipScore: Making Generative Model Evaluation More Interpretable

Yifan Lu, Taras Kucherenko, Hedvig Kjellström, Judith BütepagearXiv 2026

TL;DR

RA-CLIPScore is a novel, training-free evaluation metric that brings fine-grained semantic and spatial interpretability to generative image models. By introducing dual prompts and extracting local patch tokens from CLIP, it successfully diagnoses why and where a generative model fails, achieving a perfect correlation ($r = 1.0$) with human perceptions of visual diversity.

What Problem Does This Paper Address?

When evaluating generative image models (like GANs or Diffusion Models), researchers typically rely on standard statistical metrics like Fréchet Inception Distance (FID). While FID is excellent at providing a single scalar score of overall image quality, it acts as a black box. If a model's FID score drops, a scalar metric cannot tell you why it failed—whether it generated implausible attribute combinations (e.g., a baby with a beard) or suffered from severe spatial biases (e.g., always placing an object in the exact center of the frame).

To get more semantic insights, researchers recently turned to CLIP-based metrics. However, CLIP has two major architectural limitations out of the box:

  1. Attribute Competition: Its contrastive learning objective uses a softmax function that forces textual categories to compete, making it poor at multi-attribute evaluation.
  2. Lack of Spatial Granularity: It compresses an entire image into a single global token ([CLS]), discarding localized spatial information.

This paper introduces RA-CLIPScore (Region-and-Attribute-Aware CLIPScore) to solve both issues simultaneously without requiring any additional training or heavy computational overhead.

Methods

The authors modify the standard CLIP evaluation pipeline through two key innovations:

  1. Dual Prompts: To eliminate the artificial competition between attributes caused by CLIP's softmax training, RA-CLIPScore reformulates attribute detection as independent binary classification tasks. For any attribute $t_i$, it feeds a positive prompt ("This is a photo of $t_i$.") and a negative prompt ("This is a photo without $t_i$.") into the text encoder, effectively decoupling overlapping attributes.
  2. Regional Feature Extraction: Instead of discarding CLIP's local patch tokens, the authors modify the final attention layer ($L$) using a custom attention mask. This mask forces the network to preserve the fine-grained local patch features from layer $L-1$ while still computing the global context token.
Fig. 1: Our proposed RA-CLIPScore. We introduce dual prompts and regional feature extraction to improve interpretability of CLIP-based evaluation metrics while extend- ing to spatial domain. Dual prompts decouple correlations among attributes, whereas regional feature extraction enhances fine-grained sensitivity through an adapted visual encoder, attention refinement, and region-aware feature aggregation. Grey blocks (left) denote components unchanged from the original visual encoder.

Using these features, the authors propose three downstream divergence metrics to compare real training data ($\chi_{\text{train}}$) against generated data ($\Upsilon_{\text{gen}}$):

  • Single-Attribute Divergence (SaD): Measures distribution shifts for individual traits.
  • Pair-Attribute Divergence (PaD): Detects implausible co-occurrences of attributes.
  • Regional Single-Attribute Divergence (R-SaD): Quantifies spatial layout and positioning biases.

Datasets

The framework was validated across several standard image datasets:

  • CelebA: Used for attribute classification and evaluating metric robustness against attribute perturbations.
  • Flickr-Faces-HQ (FFHQ): Used to benchmark state-of-the-art generative models (StyleGAN2, StyleGAN3, and Latent Diffusion Models).
  • ImageNet: Used to analyze class-conditional spatial biases across 1,000 distinct object categories.

Key Insights and Ideas

  • Spatial Diversity is a Blind Spot: Traditional metrics completely ignore where objects are generated. A model that generates a perfect bird but always places it in the top-left corner might get a great FID score, but it possesses a severe spatial bias that could ruin downstream training utility.
  • The Danger of Mean-Centering: Prior attribute-wise metrics like Heterogeneous CLIPScore (HCS) try to fix CLIP's biases by subtracting global dataset means. The authors mathematically prove that in a two-attribute setting, this causes the metric to collapse into a forced zero-sum relationship, making it highly unstable if you alter the evaluation vocabulary.
An ablation study showing how RA-CLIPScore remains stable when attributes are removed, whereas previous methods like HCS experience drastic score shifts.

Key Results

  • Perfect Human Alignment: In a user study assessing visual diversity, the spatial metric R-SaD achieved a Pearson correlation coefficient of $r = 1.0$ with human judgment. For comparison, FID scored $r = 0.50$, and standard Coverage scored a dismal $r = 0.29$.
  • Exposing Hidden Model Biases: RA-CLIPScore successfully unmasked distinct spatial signatures in popular generative models:
  • BigGAN consistently generates specific objects, like electric guitars, at a rigid 45° diagonal orientation, whereas real ImageNet photos show highly diverse poses.
  • StyleGAN-XL over-centers objects like rotary telephones compared to the more varied layouts found in real-world data.
Spatial evaluation heatmaps showing prominent regional divergence between real ImageNet data and various generative models. Red indicates higher occurrence in real data; blue indicates over-generation by the model.

Limitations and Future Work

While RA-CLIPScore elegantly bypasses the need for re-training, it is still fundamentally bound by the representation capacity of its underlying foundation model (CLIP). If CLIP itself struggles to conceptualize a highly niche attribute, RA-CLIPScore will inherit that limitation.

The authors note that future work should explore swapping CLIP for alternative vision-language backbones with stronger spatial or localization priors, such as SigLIP, SAM, or DINO. Additionally, they suggest extending this regional evaluation framework to other modalities, such as using CLAP for localized audio evaluation.

Summary updated

BibTeX
@misc{lu2026ra,
  author = {Yifan Lu and Taras Kucherenko and Hedvig Kjellström and Judith Bütepage},
  title = {{RA-ClipScore: Making Generative Model Evaluation More Interpretable}},
  year = {2026},
  eprint = {2608.12088},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.12088},
}
Figure