Manuscript Offprint

arXiv:2608.12088

RA-ClipScore: Making Generative Model Evaluation More Interpretable

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Generative models can produce images nearly indistinguishable from real data, yet rigorous and interpretable evaluation remains challenging. Conventional metrics such as FID provide only scalar scores with limited diagnostic insight. Widely adopted CLIP-based metrics enable semantic evaluation beyond simple training class labels, but inherit limitations from CLIP’s training paradigm that restrict attribute-wise analysis. We propose RA-CLIPScore, a novel metric that mitigates these issues and extends CLIP-based evaluation to spatial distribution alignment, measuring whether generated objects adhere to the positional priors found in the training data. RA-CLIPScore introduces dual prompts to decouple competing attributes and leverages local patch tokens to capture fine-grained regional semantics. We evaluate image generative models on their ability to match both attribute and spatial distributions of the training data. Extensive experiments show that RA-CLIPScore provides more robust and interpretable evaluations than prior methods, particularly under distribution misalignment or partially irrelevant textual attributes. We further demonstrate how it reveals previously undocumented regional tendencies in generative models. Code is available at https://github.com/wwwfan628/ra_clipscore.

1 Introduction

Generative models have advanced at an unprecedented pace in recent years. Architectures such as Variational Autoencoders (VAE) [25], Generative Adversarial Networks (GAN) [22, 23, 21, 49], Diffusion Models (DM) [17, 51, 38, 46] and Normalizing Flows [45, 8] can now produce images nearly indistinguishable from real samples. However, even state-of-the-art generative models can produce unreliable or biased outputs, making rigorous and interpretable evaluation a critical challenge for ensuring the practical utility of synthetic data.

Figure

Figure 1: Our proposed RA-CLIPScore. We introduce dual prompts and regional feature extraction to improve interpretability of CLIP-based evaluation metrics while extending 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.

The evaluation of generative models in the image domain has attracted significant research interest. Classical metrics such as the Fréchet Inception Distance (FID) [16], Kernel Inception Distance (KID) [53] and precision/recall [29, 47] quantify distributional dissimilarity or sample diversity. Despite their popularity, these metrics produce only scalar scores, offering limited interpretability and diagnostic insight. They cannot reveal whether performance differences arise from failures on implausible attributes (e.g. baby with beard) [24], nor can they identify spatial biases such as generating objects in fixed poses or restricted regions. Understanding attribute and spatial failures can guide improved training strategies, such as targeted data resampling, and inform model selection for downstream applications. This motivates the need for semantically grounded metrics beyond statistics to explain why and where models differ.

With the rise of large-scale vision-language pretraining, CLIP [43] has emerged as a powerful foundation model and is increasingly used to replace Inception-V3 [54] as a feature extractor for traditional generative evaluation metrics, since Inception-V3 is agnostic to features unrelated to ImageNet [28, 2, 35, 41]. Building on this trend, CLIPScore [15] and Heterogeneous CLIPScore (HCS) [24] leverage CLIP’s joint vision–language embedding space to measure semantic alignment between generated images and captions. However, both of them rely on CLIP’s original feature embedding. Revisiting CLIP’s training paradigm, we identify two core limitations that hinder fine-grained attribute-wise evaluation: (1) its softmax-based contrastive training introduces competition among textual categories, imposing a mutual exclusivity that limits the representation of overlapping attributes; (2) each image is encoded as a single global token without explicit regional tokens, thereby reducing sensitivity to fine-grained details.

To overcome these issues, we propose Region-and-Attribute-Aware CLIPScore (RA-CLIPScore). As shown in Figure 1, RA-CLIPScore adopts modified dual prompts [52] to disentangle attributes by modeling both their presence and absence, effectively treating attribute detection as a multi-label recognition task to mitigate competition introduced by softmax training. It further leverages CLIP’s local patch tokens to capture fine-grained regional features through attention refinement and feature aggregation modules. By incorporating localized information, RA-CLIPScore extends CLIP-based evaluation to spatial distribution alignment, enabling analysis of whether generative models exhibit biases toward specific regions or poses. Detecting systematic spatial biases is critical to avoid spurious correlations in downstream systems. For example, if synthetic images are used to train a medical classifier, consistently generating pathological features (e.g. cancer cells) at the center of images may cause the model to learn this spatial bias instead of relevant biological patterns, failing to detect cells in other regions. Notably, RA-CLIPScore achieves these capabilities without additional training and with minimal computational overhead. Extensive experiments demonstrate that RA-CLIPScore provides more robust and interpretable attribute-wise evaluation than previous methods [15, 24], particularly in practical settings. It also captures spatial biases not addressed by prior metrics [16, 29, 47, 53], offering additional insights into generative models.

Our contributions are summarized as follows: We introduce RA-CLIPScore, a robust metric that overcomes two key limitations of CLIP’s contrastive pretraining paradigm to enable precise attribute-wise and spatial evaluation. Central to this metric is a novel aggregation scheme that jointly exploits local and global tokens in a single forward pass, providing high-resolution spatial insights without the computational overhead or additional training required by prior work [52, 32]. With this efficient framework, we conduct the first systematic study of patch-level spatial-distributional evaluation of 2D image generators, uncovering distinct regional generation tendencie, such as localized object placement that represent a form of diversity currently ignored by standard benchmarks.

References (25)