Manuscript Offprint
arXiv:2610.23411Can We Use Saliency Maps for the Evaluation of Generative Image Models?
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 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 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 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 , 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.
Training Phase. In the first stage, we train a GSC to solve a binary discrimination problem between real and generated samples. Our classifier receives as input a dataset of real images and a dataset of samples produced by the generative model that we want to evaluate, and it is trained to distinguish these two datasets by minimizing the binary cross-entropy loss. Our setup differs fundamentally and deliberately from that of traditional fake-detection systems. In traditional fake-detection, the objective is to train a universal detector capable of identifying generated content originating from an unknown and potentially heterogeneous set of generative models, as the fake distribution is often modeled as where may be partially unknown and evolve over time. In contrast, our aim is to evaluate the quality of a single generative model and therefore, the GCS is by design trained to distinguish between real images and fake images from . By avoiding exposure to multiple generative sources, the GSC does not learn generic “fakeness” cues that promote broad generalization. Rather, as we will show in the next sections, it captures the distinctive statistical regularities and artifacts that uniquely characterize the outputs of model , which can be further quantified through both performance metrics and interpretability analysis.
Generator Evaluation Protocol. Once the GSC is trained, we analyze its behavior to extract complementary information for evaluating generator g. We consider two main components: (i) the GSC accuracy and (ii) the statistical properties of the saliency maps. Intuitively, if a generator produces highly realistic images, the discrimination task becomes more difficult and accuracy decreases, as happens for human observers. However, neural networks are typically much stronger discriminators than humans and often achieve high accuracy even when perceptual differences are subtle. Therefore, accuracy alone is insufficient to reliably assess generative realism. To address this limitation, we analyze the statistical properties of saliency maps, which highlight the features the GSC uses to distinguish real images from generated ones. To generate saliency maps, we employ IG [23], an explainable AI method that attributes the model's prediction to its input pixels by integrating gradients along a path from a baseline input to the actual image. Formally, given a GSC F, an input image x, and a baseline , the integrated gradient along pixel i, j and channel c is defined as:
This yields a saliency map that highlights the regions of the input most responsible for the model's decision, which we can use to identify characteristic artifacts of each generative model and effectively evaluate the quality of its generations. We also evaluate additional saliency techniques in Section 3.4, demonstrating that the proposed framework remains stable and consistent across different saliency map methods, thereby confirming its robustness and general applicability. The saliency component for g, given a set of real and fake images (generated by g), is finally obtained by aggregating IG values:
where is a weight to rescale in a predefined range, which only depends on the backbone used. We experiment with a saliency-accuracy score (SAS) that combines classification accuracy calculated on the same set with the saliency component , defined as:
where is a parameter set to trade off saliency with respect to accuracy. SAS is designed to anticorrelate with the human error rate. Intuitively, when accuracy is low the discrimination task is difficult, suggesting that the generated samples are realistic.
Table 1: Generative models considered for each dataset. For every model listed, a dedicated classifier is trained to distinguish between real images from the corresponding dataset and images generated by that specific model.
| CIFAR10 | FFHQ | ImageNet | LSUN Bedroom |
|---|---|---|---|
| ACGAN [31] | Efficient-vdVAE [3] | ADM [1] | ADM-dropout [1] |
| BigGAN [5] | InsGen [32] | ADMG [1] | DDPM [8] |
| iDDPM-DDIM [33] | LDM [9] | ADMG-ADMU [1] | Diff-Proj-GAN [34] |
| LOGAN [35] | Projected-GAN [36] | BigGAN [5] | iDDPM [33] |
| LSGM-ODE [37] | StyleGAN-XL [7] | DiT-XL-2 [36] | Projected-GAN [36] |
| MHGAN [38] | StyleGAN2-ada [39] | DiT-XL-2-guided [36] | StyleGAN [6] |
| NVAE [2] | StyleNAT [40] | GigaGAN [41] | Unleash-Trans [42] |
| PFGM++ [43] | StyleSwin [44] | LDM [9] | |
| ReACGAN [31] | Unleash-Trans [42] | Mask-GIT [45] | |
| RESFLOW [46] | RQ-Transformer [47] | ||
| StyleGAN-XL [7] | StyleGAN-XL [7] | ||
| StyleGAN2-ada [39] | |||
| WGAN-GP [48] |
At the same time, the contribution of saliency maps is down-weighted through the term, since a lower performance is likely to be associated with less informative features.
3. Experimental Findings
3.1. Experimental Setup
Following the benchmark introduced in [12], we conduct experiments on four natural image datasets: CIFAR10 [29], FFHQ [6], ImageNet [16], and LSUN Bedroom [30]. For each dataset, we consider multiple generative models (see Table 1) trained on the corresponding data distribution, covering a broad spectrum of paradigms, including diffusion models, GANs, VAEs, normalizing flows, and Transformer-based architectures.
Implementation details. For each generative model, we train its corresponding GCS for 30 epochs on a balanced dataset consisting of 45,000 real images sampled from the real dataset and 45,000 generated images from the model under evaluation . An additional 5,000 real and 5,000 fake images per model were held out as a validation set and used to select the best-performing model across the 30 training epochs, allowing us to monitor validation performance and mitigate overfitting. We remark that these data requirements are comparable to those of FID in terms of the number of images needed for reliable estimation.
For the three high-resolution datasets, the GSC backbone is a ResNet18, whereas for CIFAR10 we adopt a smaller ResNet9, which is designed for inputs. To account for these architectural differences, the saliency component is rescaled to compensate for differences in magnitude induced by the two architectures. For ResNet18, is multiplied by a factor of , whereas for the ResNet9 used for CIFAR10, the scaling factor is set to 0.1. This normalization ensures a balanced contribution of the saliency term with respect to the accuracy one in SAS. In both cases, is set to 100, although SAS is not particularly sensitive to the value (see Appendix A.1). We ran all our experiments using a single RTX 5000 Ada with 32 GB of VRAM, where evaluating a single model takes around minutes, which is not much more expensive than the minutes necessary for calculating FD on DINOv2 features.
3.2. SAS Is Aligned with Human Judgment
Figure 2 reports the relationship between HER and SAS in comparison with (i) the traditional FID score and (ii) the Fréchet Distance introduced in [12], which leverages DINOv2 as backbone. Across all datasets, SAS consistently exhibits a strong anti-correlation with human evaluations and is the only one to achieve statistical significance with HER for every dataset. In contrast, competing metrics exhibit weaker and, in several cases, non-significant correlations.
Comparison with additional metrics. Table 2 reports the Pearson correlation between the human error rate and several state-of-the-art metrics. Our SAS score achieves a consistently strong and statistically significant correlation, whereas many competing approaches exhibit clear dependence on the choice of pretrained feature extractor, leading to less stable and less reliable performance across datasets.
These results suggest that combining classification performance with interpretability-based information derived from saliency maps provides a meaningful and complemen-

Figure 2: Metrics vs HER. Both FID and SAS are negatively correlated with HER. denotes the Pearson correlation, shaded background indicates correlations that are not statistically significant ( ) with respect to HER. The standard deviation is calculated across different sets of images.
Table 2: Pearson correlation between different metrics and the human error rate.
| Metric | CIFAR10 | ImageNet256 | LSUN Bedroom | FFHQ256 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DINOv2 | SimCLRv2 | Inception-V3 | DINOv2 | SimCLRv2 | Inception-V3 | DINOv2 | SimCLRv2 | Inception-V3 | DINOv2 | SimCLRv2 | Inception-V3 | |
| FD [10] | -0.98 | -0.37 | -0.96 | -0.76 | 0.52 | 0.37 | -0.93 | -0.54 | -0.15 | -0.50 | 0.19 | -0.61 |
| [49] | -0.98 | -0.37 | -0.96 | -0.77 | 0.52 | 0.37 | -0.93 | -0.54 | -0.15 | -0.50 | 0.20 | -0.61 |
| KD [50] | -0.96 | -0.38 | -0.95 | -0.78 | 0.47 | 0.47 | -0.92 | -0.28 | -0.02 | -0.47 | 0.30 | -0.60 |
| FLS [51] | 0.98 | -0.76 | 0.97 | 0.84 | -0.45 | 0.01 | - | - | - | - | - | - |
| Precision [13] | -0.71 | -0.85 | 0.86 | 0.74 | -0.22 | 0.17 | 0.49 | -0.44 | 0.16 | -0.08 | 0.38 | -0.27 |
| Recall [13] | 0.94 | 0.66 | 0.81 | 0.34 | -0.12 | -0.15 | 0.98 | 0.58 | 0.21 | 0.34 | -0.16 | 0.59 |
| Density [14] | -0.86 | -0.82 | 0.94 | 0.58 | -0.19 | -0.12 | 0.48 | -0.48 | 0.05 | -0.15 | 0.45 | -0.33 |
| Coverage [14] | 0.97 | 0.36 | 0.98 | 0.81 | -0.51 | -0.13 | 0.92 | 0.60 | 0.22 | 0.41 | 0.29 | 0.63 |
| AuthPct [52] | 0.82 | 0.66 | -0.85 | -0.63 | 0.27 | -0.42 | -0.78 | 0.39 | -0.03 | 0.05 | -0.54 | -0.18 |
| [53] | -0.44 | 0.55 | -0.98 | -0.79 | 0.38 | -0.24 | - | - | - | - | - | - |
| mod. [12] | -0.83 | 0.12 | -0.52 | -0.65 | -0.49 | -0.35 | - | - | - | - | - | - |
| FLS-POG [51] | -0.75 | 0.10 | 0.09 | 0.40 | 0.39 | 0.35 | - | - | - | - | - | - |
| CMMD [11] | -0.96 | -0.67 | -0.98 | -0.20 | ||||||||
| SAS (Ours) | -0.77 | -0.69 | -0.96 | -0.90 | ||||||||
tary perspective for assessing generative model realism. In the following sections, we validate the individual components of SAS by analyzing the behavior of our GSCs and by motivating the choice of classification performance and saliency as key elements to evaluate generative models.
3.3. The Relevance of the OOD Performance
In this section, we analyze the performance of our GSC, the first component of SAS. To this end, we report the cross/self-generator recalls (CSGR) in Figure 3, using a pool of generators. Specifically, the value in the -th row and -th column represents the cross-generator (self-generator when ) recall of the GSC trained on images from generator and tested on images from generator (with ), considering fake images as the positive class. The -th column shows the recall of each GSC when evaluated on real images. In all experiments, recalls are computed over the 5,000 test images. A clear pattern emerges: self-generator recalls strongly dominate over cross-generator ones. This is particularly evident for FFHQ, where the CSGR is perfectly diagonal, but the same trend is consistently observed across all datasets. Such a behavior suggests a specific underlying mechanism: each GSC appears to learn a default “real” class and to rely on generator-specific cues to label an image as fake. If this were not the case, performance on samples generated by unseen generators would be close to random (i.e., around 50% recall), or even higher if the GSC had learned a

LSUN Bedroom
CIFAR10

Figure 3: Cross/self generator recalls (CSGR). Entry shows the recall of the GSC trained on generator i and tested on images from generator j (fake being the positive class). The last column reports the recall of each GSC when tested on real images.
more general notion of “realism” based on real data, which is the behaviour shown by GSCs trained to distinguish real from fake features in the DINov2 embedding space as shown in Appendix B. Instead, here cross-generator recalls are often close to zero.
As an additional observation, despite the general tendency of the CSGRs to assume a diagonal structure, some rows exhibit higher cross-generator recall. This fact suggests that, in certain cases, a classifier trained to distinguish real images from the fake outputs of a single generative model is more robust to out-of-distribution samples than others. Since the task is always the same—distinguishing real from fake for a specific generator—and the training procedure for each GSC is identical, these differences in performance can be attributed solely to the nature of the generated samples.
Cross-dataset evaluation. A similar pattern of limited generalization holds in cross-dataset evaluations. Table 3 reports the cross-dataset recall, computed by evaluating our GSCs on generated images from datasets different from those used during training. The results indicate that the GSCs exhibit very limited generalization, as recall on out-of-training generated samples remains consistently low for every dataset, while the one on real samples is consistently high. This behavior supports our hypothesis that the GSCs primarily capture generator-specific artifacts present in the training distributions, while assigning a default “real” label to samples that do not match these learned signatures. Previous works have observed a similar phenomenon in substantially different settings: [54] in the domain of natural images and [55] in the context of audio generation. In both cases, classifiers achieve nearly 100% recall on real samples and close-to-zero recall on fake samples outside the training distribution. In practice, this means that any input not belonging to the specific fake distribution seen during training is labeled as real. Taken together, these results indicate that the classifier does not learn a general notion of “fakeness” or “realism”. Rather, it detects generator-specific artifacts. When such artifacts are absent, as in the case of unseen generators or different datasets, the GSC defaults to predicting the real class.
Cross-generator recall and HER. Simply examining the cross-generator recall it is possible to correctly identify almost all the models that humans perceive as better, i.e., those on which human subjects make higher errors in real/fake attribution, as
Table 3: Cross-dataset recall. GSCs are evaluated on generated images from other datasets. Fake in denotes the recall on fake samples generated by the same model used during training, whereas Fake out refers to the recall on fake samples produced by generative models not seen during training.
| Training | Recall | Test dataset | |||
|---|---|---|---|---|---|
| LSUN | ImageNet | FFHQ | CIFAR10 | ||
| LSUN | Real | 98.36 | 92.37 | 87.81 | 95.63 |
| Fake out | 22.85 | 13.05 | 16.82 | 5.42 | |
| Fake in | 92.96 | - | - | - | |
| ImageNet | Real | 94.60 | 95.33 | 93.75 | 91.41 |
| Fake out | 16.90 | 14.42 | 12.29 | 8.88 | |
| Fake in | - | 91.07 | - | - | |
| FFHQ | Real | 83.02 | 90.30 | 99.32 | 72.09 |
| Fake out | 20.67 | 12.38 | 0.03 | 30.31 | |
| Fake in | - | - | 99.49 | - | |
| CIFAR10 | Real | 85.98 | 83.89 | 83.59 | 94.45 |
| Fake out | 17.58 | 18.61 | 17.70 | 31.03 | |
| Fake in | - | - | - | 96.53 | |
shown in Figure 8. For each dataset, the cross-generator recall is plotted against HER, revealing that GSCs tend to cluster models into two main groups: (i) models that generate high-quality images, where HER is above —these are also the models on which classifiers have learned to generalize; and (ii) models that generate images that are easy to distinguish from real ones, where humans perform almost perfectly, and classifier generalization is minimal. The two clusters were identified automatically by fitting a Gaussian mixture model (GMM) on the HER and cross-generator recall values.
3.4. Analysis of XAI Saliency Maps
Human perceptual studies have shown that observers often identify generated images by detecting low-level visual artifacts, such as unnatural textures, local inconsistencies.
cies, or structural irregularities [22]. As discussed in the previous section, our GSCs exhibit a similar sensitivity to generator-specific cues, as demonstrated by their limited generalization to images produced by unseen generators.
The second component of SAS therefore exploits saliency maps to characterize the evidence used by each GSC when distinguishing real from generated images. In particular, Integrated Gradients allows us to quantify the contribution of individual image regions to the classifier decision. Rather than using these maps only for qualitative interpretation, we aggregate their attribution magnitude through the saliency component defined in Equation 2 and investigate whether this quantity carries information about the perceptual quality of the corresponding generator.
Figure 4 reports against the human error rate (HER) for all considered generators. To account for the different behaviors observed in the cross-generator experiments, points are color-coded according to the cross-generator recall of the corresponding GSC. Red points denote classifiers exhibiting limited cross-generator generalization, suggesting that their decisions predominantly rely on artifacts specific to the generator used during training. Blue points, instead, correspond to classifiers showing greater generalization across different generators.
For GSCs with limited cross-generator generalization, a clear relationship emerges between saliency magnitude and HER. Generators that are more difficult for humans to distinguish from real images tend to induce larger aggregate attribution values in the corresponding classifier. This suggests that, when the classifier is effectively specialized to a particular generator, the strength of the discriminative evidence captured by its saliency maps contains information complementary to classification accuracy.
Conversely, this relationship is weaker for GSCs exhibiting stronger cross-generator generalization. In these cases, the classifier appears to rely on features that are less tightly associated with the artifacts of the specific generator under evaluation and that transfer more readily to samples from other generative models. Consequently, the corresponding saliency statistics are less informative about the quality of that individual generator.
These observations motivate the joint use of classification performance and saliency information in SAS. Accuracy quantifies how easily a generator can be distinguished

ImageNet
CIFAR10
Figure 4: vs HER. Red points denote models for which the GSC achieves limited cross-generator generalization, indicating strong learning of model-specific artifacts. Blue points correspond to GSCs with greater generalization across generators, suggesting that they learn a more generator-agnostic notion of “fakeness”.
from real data, while the saliency component provides additional information about the discriminative evidence exploited by the GSC. Their combination therefore provides a more informative evaluation signal than either component considered independently.
3.5. Robustness to Design Choices
Aggregation of saliency values. Table 4 reports the Pearson correlation with the human error rate obtained by SAS when using different aggregation strategies for the saliency maps in the computation of the component . We evaluate a range of aggregation methods, including mean, median, L1 and L2 norms, robust maximum and minimum, sum, and entropy, to assess the robustness of the proposed score. Empirically, the median emerges as the most effective aggregation strategy. However, all considered methods yield consistently high and statistically significant correlations, further supporting the robustness of SAS across different aggregation choices.
Table 4: Pearson correlation between SAS and HER by varying the aggregation method for the saliency maps in the computation of presented in Equation 2. Values marked with * are statistically significant.
| Aggregation Method | CIFAR10 | ImageNet | FFHQ | LSUN |
|---|---|---|---|---|
| Median | * | * | * | * |
| Mean | * | * | * | |
| L1 norm | * | * | * | * |
| L2 norm | * | * | * | * |
| Max | * | * | * | |
| Min | * | * | * | * |
| Sum | * | * | * | * |
| Entropy | * | * |
Alternative XAI techniques. To demonstrate that our framework is not tied to a specific attribution method, we replicate the analysis of Section 3.2 using five alternative saliency techniques: GradCAM [25], LayerCAM [26], XGradCAM [27], GradientSHAP [28], and SmoothGrad [24].
Figure 5 reports the resulting correlations between SAS and HER. GradientSHAP and SmoothGrad show strong and significant correlations with human judgments, while CAM-based methods do not.
Figure 6 shows a qualitative comparison of saliency maps across methods. CAM-based techniques produce notably coarser maps, as they are computed at a low spatial resolution (typically ) and tend to highlight similar central regions regardless of the generator on which the GSC is trained, resulting in poorly discriminative patterns across generators and limiting their ability to capture generator-specific artifacts. In contrast, SmoothGrad and GradientSHAP produce finer-grained and more diverse attribution patterns that better capture generator-specific artifacts, particularly in the high-resolution dataset. For CIFAR-10, however, where the images are only pixels, the lower-resolution attribution maps produced by CAM-based methods appear to be quite effective.

Figure 5: SAS vs HER, where is calculated using different techniques. The coefficient denotes the Pearson correlation, and panels with a shaded background indicate correlations that are not statistically significant ( ) with respect to HER. GradientSHAP and SmoothGrad maintain strong correlations with HER, while CAM-based methods show weaker results, likely due to their coarse spatial resolution.

Figure 6: Qualitative comparison of saliency maps produced by different attribution methods. CAM-based approaches generate coarse maps often focusing on similar central regions across generators. Integrated Gradients (IG), SmoothGrad and GradientSHAP instead produce finer and more diverse attribution patterns, which better capture generator-specific artifacts.
3.6. Alternative Aggregation via Cross-Generator Recall
Since cross-generator recall emerged as a significant factor in determining the perceived realism of generated images (see Section 3.3 and Figure 8), we introduce a formulation of the evaluation score that explicitly uses this signal. Rather than a fully alternative aggregation strategy, this approach should be viewed as an attempt to leverage the additional information highlighted by our previous experiments. Formally, given a set of generators trained on the same dataset, the cross-generator recall for a GSC trained on samples from generator is:
where and denote the true positives and false negatives (considering fake as the positive class) obtained by the GSC trained on samples from generator g and tested on samples from generator .
A simple aggregation of the saliency component and cross-generator recall can be:
(5) where denotes the average median saliency value defined in Equation 2, is the indicator function, and , the average of across generators trained on the same dataset.

Figure 7: CrossScore vs HER. Pearson r is always higher than 0.75 and significant ( ).

Figure 8: Cross-generator recall vs HER. GSCs separate models into two groups: high-quality generators, where human error exceeds 25% and GSCs show stronger generalization; and low-quality generators, where human accuracy is nearly perfect, and GSC generalization is minimal.
Figure 7 compares the proposed score with HER, demonstrating a strong alignment with human judgments across all datasets.
When such additional information is available, the resulting score exhibits an even more pronounced correlation with human evaluations compared to the previous formulation (note that CrossScore correlates with HER, while SAS and FID anticorrelate). However, CrossScore is less practical as it requires access to samples from multiple alternative generators trained on the same dataset, thus it is dependent on the set of generators G. Hence, we focus on SAS as our default metric: it only requires real images and samples from the evaluated generator, like FID.
3.7. Validating the Expressiveness of GSC Features
Previous works have shown that feature extractors derived from generic tasks are not naturally tailored for evaluating generative models. For the case of classification, for example, their feature spaces are optimized to separate semantic categories associated with the highest logits, rather than to capture subtle artifacts relevant to generative realism, as noted in [20]. For example, in the FFHQ setting, the traditional FID computed with Inception-V3 trained on ImageNet often emphasizes regions outside the face, since ImageNet does not include a dedicated “person” or “face” category. However, the objective in FFHQ is precisely to generate realistic human faces, making such features suboptimal for assessing perceptual realism. Our goal is to evaluate the conjecture that features explicitly learned to distinguish real images from generator-specific fake ones are inherently more suitable for assessing generative realism than features learned from models trained on unrelated tasks. To test this hypothesis, we used our GSCs as a feature extractor to compute both the Fréchet Distance and MMD.
For the Fréchet Distance, we model the feature distributions of real samples and fake samples as multivariate Gaussians with empirical means and covariances , computed in the feature space induced by the GSC trained for generator . The resulting Fréchet Distance is defined as:
Because the Gaussian assumption underlying the Fréchet Distance may be inappropriate for neural feature representations, we also evaluated the non-parametric MMD, following the motivation of CMMD [11]. Given the feature representation of image obtained from the GSC trained for generator , the squared MMD between the corresponding feature distributions is defined as
(7)
Table 5: Pearson correlation coefficient between HER and different evaluation metrics: the traditional FID [10], Fréchet Distance and MMD computed with DINOv2 features, the CMMD score computed with CLIP features [11], and the corresponding Fréchet Distance and MMD scores obtained using GSCs as feature extractors. * indicates significant correlations ().
| LSUN Bedroom | FFHQ | ImageNet | CIFAR10 | |
|---|---|---|---|---|
| FID | -0.11 | -0.59 | 0.37 | -0.96* |
| -0.94* | -0.50 | -0.76* | -0.98* | |
| -0.77* | -0.49 | -0.32 | -0.83* | |
| CMMD | -0.98* | -0.20 | -0.67* | -0.96* |
| -0.95* | -0.79* | -0.46 | -0.93* | |
| -0.97* | -0.58 | -0.54 | -0.71* |
where is a positive-definite kernel. Following [11], we use the Gaussian RBF kernel , with bandwidth . In practice, the expectations are replaced by their empirical estimates over the available real and generated samples.
The results for the Fréchet Distance show that the feature spaces learned by our GSCs are generally more informative than those extracted from Inception-V3, despite the considerably smaller training regime of our networks (90,000 samples). In particular, achieves a stronger correlation with HER than FID on LSUN Bedroom and ImageNet, and it anti-correlates with HER consistently for all the datasets, although it does not outperform FID across all datasets. This finding supports our hypothesis that even a relatively small model with a considerably smaller training regime (90,000 samples), when trained specifically for real-versus-fake discrimination, can learn representations that are better aligned with perceptual aspects of generative quality than those obtained from generic classification tasks. Nevertheless, the correlation obtained with remains below that of the DINOv2-based Fréchet Distance on most datasets, consistent with the benefits of the large-scale pretraining used by DINOv2.
The comparison between FD and MMD further indicates that neither distributional distance is uniformly superior. Overall, both FD and MMD strongly depend on the feature extractor, making it difficult to determine whether either distance is intrinsically superior. Their relative performance also varies across datasets: MMD provides stronger correlations in some settings, whereas the Fréchet Distance performs better in others. Thus, both the feature representation and the choice of distributional distance are critical for alignment with human judgments.
4. Conclusion and Future Directions
In this work, we introduced a novel perspective for the evaluation of generative image models that does not rely on large pretrained feature extractors. Our results show that the two components of SAS, namely classification accuracy and the contents of the saliency maps, contain meaningful and complementary information about generative realism and exhibit strong alignment with human perceptual judgments. Our approach is domain-agnostic in the sense that the procedure does not depend on specific image categories or a pretrained feature space tuned to a particular setting, and can be potentially applied to other domains, such as for example medical images or audio spectrograms.
Importantly, we observe that GSCs do not learn a universal notion of realism, but rather capture generator-specific artifacts. This limited generalization, often seen as a drawback in detection settings, becomes informative in our context: it reflects how distinctive and structured the artifacts of a given model are. More generally, we hope this conceptual perspective can provide a foundation for a new paradigm for evaluating generative models: generator-aware, interpretable, and grounded in perceptual evidence rather than in pretrained feature spaces.
The main limitation of our work is the need to train a dedicated generator-vs-real classifier for each setting, which is acceptable to evaluate and compare trained generators, but it is likely excessive for frequent inner-loop use during generative-model development, such as hyperparameter tuning or repeated checkpoint selection, despite being only marginally more expensive than computing FD-DINOv2.. However, this design choice is intentional and stems from our objective of avoiding reliance on pretrained models, which inevitably embed biases from their pretraining data and may not be available or reliable in specialized or underrepresented domains. In this sense, our approach trades off computational cost for increased control, transparency, and applicability to settings where pretrained feature extractors are either suboptimal or unavailable.
Future research should further investigate training strategies that explicitly control the degree of generalization of GSCs, encouraging them to focus only on generator-specific signals. In addition, we observed the importance of cross-generator generalization. In our preliminary results, a predefined pool of generators is needed, but further research might leverage this aspect to derive new and more practical evaluation metrics with strong perceptual alignment.
Author Contribution
E. Ristori contributed to Conceptualization, Data curation, Methodology, Software, Validation, Writing – original draft. L.Bindini contributed to Data curation, Methodology, Supervision, Writing – original draft. M. Lippi contributed to Conceptualization, Methodology, Supervision, Writing – review and editing. P. Frasconi contributed to Conceptualization, Methodology, Supervision, Writing – review and editing
AI Use Disclaimer
Artificial intelligence tools were used to assist with grammar, spelling, formatting, and improving the clarity of the writing. The authors reviewed the generated suggestions and remain fully responsible for the accuracy, content, and conclusions of the manuscript.
References
[1] P. Dhariwal, A. Q. Nichol, Diffusion models beat gans on image synthesis, in: M. Ranzato, A. Beygelzimer, Y. N. Dauphin, P. Liang, J. W. Vaughan (Eds.), Advances in Neural Information Processing Systems 34: NeurIPS 2021, December 6-14, 2021, virtual, 2021, pp. 8780–8794.
[2] A. Vahdat, J. Kautz, NVAE: A deep hierarchical variational autoencoder, in: H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, H. Lin (Eds.), Advances in
Neural Information Processing Systems 33: NeurIPS 2020, December 6-12, 2020, virtual, 2020.
[3] L. Hazami, R. Mama, R. Thurairatnam, Efficient-vdvae: Less is more, CoRR (2022). arXiv:2203.13751, doi:10.48550/ARXIV.2203.13751.
[4] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. C. Courville, Y. Bengio, Generative adversarial nets, in: Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, K. Q. Weinberger (Eds.), Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, 2014, pp. 2672–2680.
[5] A. Brock, J. Donahue, K. Simonyan, Large scale GAN training for high fidelity natural image synthesis, in: ICLR 2019, New Orleans, LA, USA, May 6-9, 2019, OpenReview.net, 2019.
[6] T. Karras, S. Laine, T. Aila, A style-based generator architecture for generative adversarial networks, in: IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, Computer Vision Foundation / IEEE, 2019, pp. 4401–4410. doi:10.1109/CVPR.2019.00453.
[7] A. Sauer, K. Schwarz, A. Geiger, Stylegan-xl: Scaling stylegan to large diverse datasets, in: M. Nandigjav, N. J. Mitra, A. Hertzmann (Eds.), SIGGRAPH '22: Special Interest Group on Computer Graphics and Interactive Techniques Conference, Vancouver, BC, Canada, August 7 - 11, 2022, ACM, 2022, pp. 49:1–49:10. doi:10.1145/3528233.3530738.
[8] J. Ho, A. Jain, P. Abbeel, Denoising diffusion probabilistic models, in: H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, H. Lin (Eds.), Advances in Neural Information Processing Systems 33: NeurIPS 2020, December 6-12, 2020, virtual, 2020.
[9] R. Rombach, A. Blattmann, D. Lorenz, P. Esser, B. Ommer, High-resolution image synthesis with latent diffusion models, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, IEEE, 2022, pp. 10674–10685. doi:10.1109/CVPR52688.2022.01042.
[10] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, S. Hochreiter, Gans trained by a two time-scale update rule converge to a local nash equilibrium, in: I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, R. Garnett (Eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, 2017, pp. 6626–6637.
[11] S. Jayasumana, S. Ramalingam, A. Veit, D. Glasner, A. Chakrabarti, S. Kumar, Rethinking FID: towards a better evaluation metric for image generation, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024, Seattle, WA, USA, June 16-22, 2024, IEEE, 2024, pp. 9307–9315. doi:10.1109/CVPR52733.2024.00889.
[12] G. Stein, J. C. Cresswell, R. Hosseinzadeh, Y. Sui, B. L. Ross, V. Villecroze, Z. Liu, A. L. Caterini, J. E. T. Taylor, G. Loaiza-Ganem, Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion models, in: A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, S. Levine (Eds.), Advances in Neural Information Processing Systems 36: NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023, 2023.
[13] T. Kynkäänniemi, T. Karras, S. Laine, J. Lehtinen, T. Aila, Improved precision and recall metric for assessing generative models, in: H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. B. Fox, R. Garnett (Eds.), Advances in Neural Information Processing Systems 32: NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, 2019, pp. 3929–3938.
[14] M. F. Naeem, S. J. Oh, Y. Uh, Y. Choi, J. Yoo, Reliable fidelity and diversity metrics for generative models, in: ICML 2020, 13-18 July 2020, Virtual Event, Proceedings of Machine Learning Research, PMLR, 2020, pp. 7176–7185.
[15] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, Z. Wojna, Rethinking the inception architecture for computer vision, in: 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, IEEE Computer Society, 2016, pp. 2818–2826. doi:10.1109/CVPR.2016.308.
[16] J. Deng, W. Dong, R. Socher, L. Li, K. Li, L. Fei-Fei, Imagenet: A large-scale hierarchical image database, in: 2009 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2009), 20-25 June 2009, Miami, Florida, USA, IEEE Computer Society, 2009, pp. 248–255. doi:10.1109/CVPR.2009.5206848.
[17] M. Oquab, T. Darcet, T. Moutakanni, H. V. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, M. Assran, N. Ballas, W. Galuba, R. Howes, P. Huang, S. Li, I. Misra, M. Rabbat, V. Sharma, G. Synnaeve, H. Xu, H. Jégou, J. Mairal, P. Labatut, A. Joulin, P. Bojanowski, Dinov2: Learning robust visual features without supervision, Trans. Mach. Learn. Res. (2024).
[18] T. Chen, S. Kornblith, K. Swersky, M. Norouzi, G. E. Hinton, Big self-supervised models are strong semi-supervised learners, in: H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, H. Lin (Eds.), Advances in Neural Information Processing Systems 33: NeurIPS 2020, December 6-12, 2020, virtual, 2020.
[19] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, I. Sutskever, Learning transferable visual models from natural language supervision, in: M. Meila, T. Zhang (Eds.), ICML 2021, 18-24 July 2021, Virtual Event, Proceedings of Machine Learning Research, PMLR, 2021, pp. 8748–8763.
[20] T. Kynkäänniemi, T. Karras, M. Aittala, T. Aila, J. Lehtinen, The role of imagenet classes in fréchet inception distance, in: ICLR 2023, Kigali, Rwanda, May 1-5, 2023, OpenReview.net, 2023.
[21] S. Zhou, M. L. Gordon, R. Krishna, A. Narcomey, L. Fei-Fei, M. S. Bernstein, HYPE: A benchmark for human eye perceptual evaluation of generative models, in:
H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. B. Fox, R. Garnett (Eds.), Advances in Neural Information Processing Systems 32: NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, 2019, pp. 3444–3456.
[22] D. H. Goh, "he looks very real": Media, knowledge, and search-based strategies for deepfake identification, J. Assoc. Inf. Sci. Technol. (6) (2024) 643–654. doi:10.1002/ASI.24867.
[23] M. Sundararajan, A. Taly, Q. Yan, Axiomatic attribution for deep networks, in: D. Precup, Y. W. Teh (Eds.), ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, Proceedings of Machine Learning Research, PMLR, 2017, pp. 3319–3328.
[24] D. Smilkov, N. Thorat, B. Kim, F. B. Viégas, M. Wattenberg, Smoothgrad: removing noise by adding noise, CoRR (2017). arXiv:1706.03825.
[25] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, D. Batra, Gradcam: Visual explanations from deep networks via gradient-based localization, in: ICCV 2017, Venice, Italy, October 22-29, 2017, IEEE Computer Society, 2017, pp. 618–626. doi:10.1109/ICCV.2017.74.
[26] P. Jiang, C. Zhang, Q. Hou, M. Cheng, Y. Wei, Layercam: Exploring hierarchical class activation maps for localization, IEEE Trans. Image Process. (2021) 5875–5888 doi:10.1109/TIP.2021.3089943.
[27] R. Fu, Q. Hu, X. Dong, Y. Guo, Y. Gao, B. Li, Axiom-based grad-cam: Towards accurate visualization and explanation of cnns, in: 31st British Machine Vision Conference 2020, BMVC 2020, Virtual Event, UK, September 7-10, 2020, BMVA Press, 2020.
[28] S. M. Lundberg, S. Lee, A unified approach to interpreting model predictions, in: I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, R. Garnett (Eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA, 2017, pp. 4765–4774.
[29] A. Krizhevsky, G. Hinton, et al., Learning multiple layers of features from tiny images (2009).
[30] F. Yu, Y. Zhang, S. Song, A. Seff, J. Xiao, LSUN: construction of a large-scale image dataset using deep learning with humans in the loop, CoRR (2015). arXiv:1506.03365.
[31] M. Kang, W. Shim, M. Cho, J. Park, Rebooting ACGAN: auxiliary classifier gans with stable training, in: M. Ranzato, A. Beygelzimer, Y. N. Dauphin, P. Liang, J. W. Vaughan (Eds.), Advances in Neural Information Processing Systems 34: NeurIPS 2021, December 6-14, 2021, virtual, 2021, pp. 23505–23518.
[32] C. Yang, Y. Shen, Y. Xu, B. Zhou, Data-efficient instance generation from instance discrimination, in: M. Ranzato, A. Beygelzimer, Y. N. Dauphin, P. Liang, J. W. Vaughan (Eds.), Advances in Neural Information Processing Systems 34: NeurIPS 2021, December 6-14, 2021, virtual, 2021, pp. 9378–9390.
[33] A. Q. Nichol, P. Dhariwal, Improved denoising diffusion probabilistic models, in: M. Meila, T. Zhang (Eds.), ICML 2021, 18-24 July 2021, Virtual Event, Proceedings of Machine Learning Research, PMLR, 2021, pp. 8162–8171.
[34] Z. Wang, H. Zheng, P. He, W. Chen, M. Zhou, Diffusion-gan: Training gans with diffusion, in: ICLR 2023, Kigali, Rwanda, May 1-5, 2023, OpenReview.net, 2023.
[35] Y. Wu, J. Donahue, D. Balduzzi, K. Simonyan, T. P. Lillicrap, LOGAN: latent optimisation for generative adversarial networks, CoRR (2019). arXiv:1912.00953.
[36] W. Peebles, S. Xie, Scalable diffusion models with transformers, in: ICCV 2023, Paris, France, October 1-6, 2023, IEEE, 2023, pp. 4172–4182. doi:10.1109/ICCV51070.2023.00387.
[37] A. Vahdat, K. Kreis, J. Kautz, Score-based generative modeling in latent space, in: M. Ranzato, A. Beygelzimer, Y. N. Dauphin, P. Liang, J. W. Vaughan (Eds.), Advances in Neural Information Processing Systems 34: NeurIPS 2021, December 6-14, 2021, virtual, 2021, pp. 11287–11302.
[38] R. D. Turner, J. Hung, E. Frank, Y. Saatchi, J. Yosinski, Metropolis-hastings generative adversarial networks, in: K. Chaudhuri, R. Salakhutdinov (Eds.), Proceedings of the 36th ICML 2019, 9-15 June 2019, Long Beach, California, USA, Proceedings of Machine Learning Research, PMLR, 2019, pp. 6345–6353.
[39] T. Karras, M. Aittala, J. Hellsten, S. Laine, J. Lehtinen, T. Aila, Training generative adversarial networks with limited data, in: H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, H. Lin (Eds.), Advances in Neural Information Processing Systems 33: NeurIPS 2020, December 6-12, 2020, virtual, 2020.
[40] S. Walton, A. Hassani, X. Xu, Z. Wang, H. Shi, Stylenat: Giving each head a new perspective, CoRR (2022). arXiv:2211.05770, doi:10.48550/ARXIV.2211.05770.
[41] M. Kang, J. Zhu, R. Zhang, J. Park, E. Shechtman, S. Paris, T. Park, Scaling up gans for text-to-image synthesis, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2023, Vancouver, BC, Canada, June 17-24, 2023, IEEE, 2023, pp. 10124–10134. doi:10.1109/CVPR52729.2023.00976.
[42] S. Bond-Taylor, P. Hessey, H. Sasaki, T. P. Breckon, C. G. Willcocks, Unleashing transformers: Parallel token prediction with discrete absorbing diffusion for fast high-resolution image generation from vector-quantized codes, in: S. Avidan, G. J. Brostow, M. Cissé, G. M. Farinella, T. Hassner (Eds.), Computer Vision - ECCV 2022 - 17th European Conference, Tel Aviv, Israel, October 23-27, 2022, Proceedings, Part XXIII, Lecture Notes in Computer Science, Springer, 2022, pp. 170–188. doi:10.1007/978-3-031-20050-2_11.
[43] Y. Xu, Z. Liu, Y. Tian, S. Tong, M. Tegmark, T. S. Jaakkola, PFGM++: unlocking the potential of physics-inspired generative models, in: A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, J. Scarlett (Eds.), ICML 2023, 23-29 July 2023, Honolulu, Hawaii, USA, Proceedings of Machine Learning Research, PMLR, 2023, pp. 38566–38591.
[44] B. Zhang, S. Gu, B. Zhang, J. Bao, D. Chen, F. Wen, Y. Wang, B. Guo, Styleswin: Transformer-based GAN for high-resolution image generation, in: IEEE/CVF
Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, IEEE, pp. 11294–11304.
[45] H. Chang, H. Zhang, L. Jiang, C. Liu, W. T. Freeman, Maskgit: Masked generative image transformer, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, IEEE, 2022, pp. 11305–11315. doi:10.1109/CVPR52688.2022.01103.
[46] T. Q. Chen, J. Behrmann, D. Duvenaud, J. Jacobsen, Residual flows for invertible generative modeling, in: H. M. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. B. Fox, R. Garnett (Eds.), Advances in Neural Information Processing Systems 32: NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, 2019, pp. 9913–9923.
[47] D. Lee, C. Kim, S. Kim, M. Cho, W. Han, Autoregressive image generation using residual quantization, in: IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2022, New Orleans, LA, USA, June 18-24, 2022, IEEE, 2022, pp. 11513–11522. doi:10.1109/CVPR52688.2022.01123.
[48] I. Gulrajani, F. Ahmed, M. Arjovsky, V. Dumoulin, A. C. Courville, Improved training of wasserstein gans, CoRR (2017). arXiv:1704.00028.
[49] M. J. Chong, D. A. Forsyth, Effectively unbiased FID and inception score and where to find them, in: 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, Computer Vision Foundation / IEEE, 2020, pp. 6069–6078. doi:10.1109/CVPR42600.2020.00611.
[50] M. Binkowski, D. J. Sutherland, M. Arbel, A. Gretton, Demystifying MMD gans, in: ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings, OpenReview.net, 2018.
[51] M. Jiralerspong, A. J. Bose, I. Gemp, C. Qin, Y. Bachrach, G. Gidel, Feature likelihood score: Evaluating the generalization of generative models using samples, in: A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, S. Levine (Eds.),
Advances in Neural Information Processing Systems 36: NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023, 2023.
[52] A. M. Alaa, B. van Breugel, E. S. Saveliev, M. van der Schaar, How faithful is your synthetic data? sample-level metrics for evaluating and auditing generative models, in: K. Chaudhuri, S. Jegelka, L. Song, C. Szepesvári, G. Niu, S. Sabato (Eds.), ICML 2022, 17-23 July 2022, Baltimore, Maryland, USA, Proceedings of Machine Learning Research, PMLR, 2022, pp. 290–306.
[53] C. Meehan, K. Chaudhuri, S. Dasgupta, A non-parametric test to detect data-copying in generative models, CoRR (2020). arXiv:2004.05675.
[54] C. Zheng, C. Lin, Z. Zhao, H. Wang, X. Guo, S. Liu, C. Shen, Breaking semantic artifacts for generalized ai-generated image detection, in: A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, C. Zhang (Eds.), Advances in Neural Information Processing Systems, Curran Associates, Inc., 2024, pp. 59570–59596. doi:10.52202/079017-1903.
[55] D. Afchar, G. Meseguer-Brocal, R. Hennequin, Ai-generated music detection and its challenges, in: ICASSP 2025, 2025, pp. 1–5. doi:10.1109/ICASSP49660.2025.10890655.
Appendix A. Additional robustness experiments
Appendix A.1. Sensitivity to
We analyze the sensitivity of SAS to the scaling parameter . Figure A.9 reports the correlation between SAS and HER for different values of .
Across datasets, the correlation remains stable and statistically significant, indicating that the score is robust to the choice of this parameter.
Appendix A.2. Backbone robustness
We have also explored the use of GSCs based on a Vision Transformer backbone (ViT-Small) rather than a CNN to ensure the robustness of our score by varying the GSC structure and training. In Figure A.10, we report the cross/self-generator recall (CSGR)

Figure A.9: Pearson correlation r between SAS and HER as the scaling parameter varies. Across all datasets, the correlation remains statistically significant ( ), showing that SAS is robust to the choice of .
matrices. These have the same meaning as those in Figure 3, but are computed using the ViT backbone.
The same qualitative patterns observed with CNNs remain visible: GSCs achieve high recall on real images and on the generator used during training, while recall decreases for samples produced by other generators. Importantly, the cross-generator generalization behavior is preserved. Generators whose associated GSC previously exhibited stronger cross-generator recall continue to show similar behavior when trained with a ViT backbone.
In Table A.6 we report the cross-dataset evaluation results, corresponding to those presented for the CNN backbone in Table 3. Overall, ViT-based classifiers show stronger generalization across generators and datasets compared to CNN-based GSCs, but at the same time, compared to CNN-based classifiers, the correlation with human evaluations is weaker (see Figure A.11). This is consistent with the stronger generalization ability of ViTs, which tend to capture more global and distributed image features, making them less sensitive to generator-specific artifacts.
Appendix B. The importance of training from scratch
In this section, we investigate whether training a classifier from scratch is necessary. To this end, we analyze a GSC that does not receive real and generated images as input, but rather their DINOv2 features. The classifier is therefore trained to distinguish real from generated images directly in the DINOv2 feature space.
As shown in Table B.7, the model trained on DINOv2 features exhibits substantially

LSUN Bedroom
CIFAR10
Tested On
Figure A.10: Cross/self generator recalls (CSGR) for ViT backbones, using a pool of M generators. Specifically, the value in the i-th row and j-th column represents the cross-generator (self-generator when ) recall of the GSC trained on images from generator i and tested on images from generator j (with ), considering fake images as the positive class. The -th column shows the recall of each GSC when evaluated on real images.

Figure A.11: SAS vs HER, using a ViT as our GSC. Panels with a shaded background do not have significant correlations with HER. Compared with CNN-based classifiers (see Figure 2), ViTs show weaker correlations with HER, likely because their stronger generalization and global feature representations reduce sensitivity to generator-specific artifacts.
Table A.6: Cross-dataset recall for ViT-based GSCs. Classifiers trained on one dataset are evaluated on real and generated images from other datasets. Fake in denotes the recall on fake samples generated by the same model used during training, whereas Fake out refers to the recall on fake samples produced by generative models not seen during training.
| Training | Recall | Test dataset | |||
|---|---|---|---|---|---|
| LSUN | ImageNet | FFHQ | CIFAR10 | ||
| LSUN | Real | 99.74 | 84.21 | 74.01 | 66.19 |
| Fake out | 51.68 | 38.71 | 38.35 | 68.25 | |
| Fake in | 99.84 | - | - | - | |
| ImageNet | Real | 96.12 | 99.45 | 98.47 | 44.25 |
| Fake out | 30.96 | 24.26 | 17.96 | 80.94 | |
| Fake in | - | 94.93 | - | - | |
| FFHQ | Real | 92.27 | 95.34 | 99.86 | 58.99 |
| Fake out | 13.6 | 15.39 | 15.17 | 61.65 | |
| Fake in | - | - | 99.49 | - | |
| CIFAR10 | Real | 100.00 | 99.71 | 99.50 | 98.78 |
| Fake out | 0.38 | 0.94 | 1.98 | 48.82 | |
| Fake in | - | - | - | 99.87 | |
stronger generalization capabilities than the ResNet-based GSCs. Although this behavior is desirable when the objective is fake detection, it is less desirable when the goal is to assess the fingerprint of a specific generative model.
The UMAP projections in Figure B.12 further illustrate the different representations learned by GSCs trained on images and on DINOv2 features. In the former case, features of samples generated by the model on which the GSC was trained are separated from all other samples, while real images and samples generated by other models appear overlapping each other. In contrast, for the classifier trained on DINOv2 features, the UMAP projection shows that real and generated samples are organized along a continuous manifold. Nevertheless, the real samples remain concentrated in a distinct region with little overlap with the samples produced by either the training generator or the other generators. This separation suggests that the DINOv2-based GSC learns features that are effective for distinguishing real images from fake ones, including fake images generated by models that were not used during training. At the same time, the generated samples from the different models substantially overlap, and the samples from the training generator are only slightly more separated from those produced by the other
Table B.7: Recall for GSCs trained on DINOv2 features rather than on raw images. Fake-in denotes the recall on fake samples generated by the same model used during training, whereas Fake-out refers to the recall on fake samples produced by generative models not seen during training.
| Dataset | Recall | ||
|---|---|---|---|
| Real | Fake-in | Fake-out | |
| LSUN Bedroom | 98.44 | 98.14 | 84.87 |
| ImageNet | 95.41 | 95.39 | 72.91 |
| FFHQ | 98.24 | 98.51 | 77.72 |
| CIFAR10 | 94.33 | 95.36 | 70.41 |
generators. Thus, the representation appears well suited to generic fake-image detection and exhibits good cross-generator generalization, but it captures generator-specific fingerprints less distinctly than the GSC trained directly on images.

Figure B.12: On the left: UMAP of the feature space of our GSC; the samples from the generator seen during training are well separated, while the other generated samples and the real ones are perfectly overlapped. On the right: UMAP projection of GSC representations learned from DINOv2 features; real samples occupy a largely distinct region, indicating effective real-versus-fake discrimination, while samples from different generators substantially overlap, suggesting limited sensitivity to generator-specific fingerprints.