arXiv:2610.23411cs.CVOct 2026

Manuscript Offprint

arXiv:2610.23411

Can We Use Saliency Maps for the Evaluation of Generative Image Models?

Eleonora Ristori, Luca Bindini, Marco Lippi, Paolo Frasconi

Abstract

Evaluating generative image models remains challenging, as commonly used metrics depend on fixed pretrained feature extractors optimized for different tasks that do not always align with human realism perception across datasets and model families. To address this limitation, we investigate a human-inspired evaluation framework that avoids representations learned for unrelated tasks. Specifically, we train a generator-specific classifier to distinguish real images from samples produced by a given model and analyze its decisions using saliency maps. Across diverse benchmarks, we observe that these classifiers learn generator-specific artifacts rather than a universal notion of “fakeness”, exhibiting strong accuracy and limited cross-generator transfer. This makes saliency analysis particularly informative: the resulting attribution maps highlight visual cues and structural irregularities characteristic of each model’s outputs. By combining classification accuracy and saliency information, we obtain a composite score aligned with human judgments, without relying on large pretrained backbones and using only real and generated samples from the evaluated model.

Keywords: Evaluation of generative image models, Explainable AI, Human-aligned metrics

∗^{*}Corresponding author.

Email addresses: eleonora.ristori@unifi.it (Eleonora Ristori), luca.bindini@unifi.it (Luca Bindini), marco.lippi@unifi.it (Marco Lippi), paolo.frasconi@unifi.it (Paolo Frasconi)

Figure

Figure 1: Framework overview. We train a generator-specific real-vs-fake classifier (GSC) to distinguish real images from those generated by a specific model; then, we combine performance on such task with XAI saliency maps to evaluate generator quality.

1. Introduction

In recent years, generative image models have achieved remarkable progress, producing synthetic images that are often hard to distinguish from real ones [1]. This progress has been driven by several families of generative models, including explicit-likelihood models such as variational autoencoders (VAEs)[2, 3], adversarial models such as GANs [4] and their large-scale variants (e.g., BigGAN [5] and StyleGAN/StyleGAN-XL [6, 7]), as well as diffusion and score-based models (DDPM [8], LDM [9]), which currently provide strong fidelity-coverage trade-offs. Despite these advances, evaluation methodologies have not progressed at the same pace. Ideally, evaluation should rely on human studies, which are, however, expensive, difficult to scale, and sensitive to experimental design, thus motivating research towards the definition of algorithmic evaluation metrics that are aligned with human judgment.

Among the most widely used metrics are Fréchet inception distance (FID) [10] and related variants [11, 12], as well as complementary measures such as precision/recall [13] and density/coverage [14]. These metrics typically follow a two-stage design: images are first embedded into a feature space using a pretrained neural network, and distances between the distributions of real and generated samples are then computed in that space. While effective and widely adopted, this design makes evaluation strongly dependent on the chosen feature extractor.

With the advent of self-supervised learning (SSL), recent protocols often replace Inception-V3 [15], trained on ImageNet-1k [16], with more general-purpose feature extractors such as DINOv2 [17], SimCLRv2 [18], and CLIP [19]. This shift mitigates known limitations of Inception-based features, as quantified in the benchmark reported in [12], which spans multiple real-image datasets and relies on extensive human evaluations. In that paper, DINOv2 is reported to be the feature extractor that best correlates with human ability to distinguish real from generated images for almost all the aforementioned metrics. At the same time, these results highlight a key limitation: evaluation performance strongly depends on the chosen feature extractor. For instance, using SimCLRv2 features shows almost no correlation with human judgments for all metrics.

Alongside replacing Inception-V3 with large unsupervised or self-supervised models, recent work has questioned FID itself, arguing that its underlying multivariate Gaussian assumption is generally invalid for neural feature representations. Jayasumana et al. [11] address this issue with CMMD, replacing the Fréchet distance with non-parametric maximum mean discrepancy (MMD) and using CLIP rather than DINOv2 for feature extraction. Thus, the choice of feature extractor remains critical, and metric-human correlation strongly depends on it, as we show in the remainder of this paper.

A further potential limitation of these evaluation protocols is that representations learned for classification, SSL, or multimodal alignment are assumed to be suitable for measuring generative realism. Yet, these objectives differ fundamentally from real-versus-fake discrimination [20]. Classification and SSL models are typically trained to be invariant to low-level perturbations (subtle texture inconsistencies, high-frequency artifacts, or minor geometric distortions) so long as semantic identity is preserved. Yet, generative artifacts often appear exactly as such low-level irregularities, meaning that semantically oriented feature spaces may suppress the most informative cues for detecting fakes.

As the goal of generative modeling is often perceptual, i.e., producing images that appear realistic to humans, a key question is how well automatic metrics align with human judgments. To quantify realism directly at the perceptual level, the HYPE benchmark was introduced in [21]. In particular, the HYPE ∞_{\infty} protocol models realism assessment as a two-alternative forced-choice real-vs-fake task: at each trial, a participant is shown either a real image sampled from the training distribution or a generated sample from a specific model, and must decide whether the image is real or fake. Models are then scored by human error rate (HER), defined as the fraction of incorrect judgments. Large-scale benchmarks such as [12] adopt HYPE ∞_{\infty} to evaluate the human-alignment of automatic metrics across datasets and model families, making HER a practical reference signal to assess perceptual realism.

Motivated by the above-mentioned limitations, in this paper we investigate the viability of novel evaluation strategies that do not rely on external feature extractors but remain aligned to human judgment. Borrowing ideas from HYPE ∞_{\infty}, where participants are shown an image and must decide whether it is real or fake, we train a generator-specific classifier (GSC) to discriminate real images from those produced by a given model. We then leverage explainable AI (XAI) techniques to analyze the classifier's behavior and use this analysis for model evaluation. The key intuition is that humans often rely on the presence of visual artifacts that rarely occur in the real world, such as poorly defined contours, unnatural textures, or repetitive patterns [22]. By explicitly identifying and characterizing these cues via explainability methods, our framework provides a general evaluation strategy that more closely mirrors human perceptual judgments. To this end, we rely on saliency-based attribution methods, which provide tools to localize and quantify the evidence used by a model. In particular, Integrated Gradients (IG) [23] is well suited to our setting, as it attributes a model's prediction to input pixels by integrating gradients along a path from a baseline image to the actual input. More broadly, saliency and explanation methods such as SmoothGrad [24], Grad-CAM [25], LayerCAM [26], XGrad-CAM [27], and SHAP [28] have been widely used to inspect the evidence behind neural-network decisions. In our case, however, saliency maps are not used merely for qualitative visualization: they become part of the evaluation process, as they are used to quantify how strongly and where a GSC detects artifacts in generated images.

Our main contributions are summarized as follows: (i) we show that GSCs learn model-specific artifacts and that GSC performance and saliency maps are highly significant for spotting and evaluating these artifacts; (ii) we propose an evaluation framework that exploits these observed properties to avoid external pretrained feature ex-tractors; (iii) we demonstrate that combining saliency and accuracy leads to a score that is strongly aligned with human perceptual judgments across multiple datasets and generator families. We release the source code of our evaluation framework at github.com/EleonoraRistori/sas-eval.

References (50)