cs.CVApr 3, 2026

Gram-MMD: A Texture-Aware Metric for Image Realism Assessment

Authors: Joé Napolitano, Pascal Nguyen

Organizations: AMIAD

Abstract

Evaluating the realism of generated images remains a fundamental challenge in generative modeling. Existing distributional metrics such as the Frechet Inception Distance (FID) and CLIP-MMD (CMMD) compare feature distributions at a semantic level but may overlook fine-grained textural information that can be relevant for distinguishing real from generated images. We introduce Gram-MMD (GMMD), a realism metric that leverages Gram matrices computed from intermediate activations of pretrained backbone networks to capture correlations between feature maps. By extracting the upper-triangular part of these symmetric Gram matrices and measuring the Maximum Mean Discrepancy (MMD) between an anchor distribution of real images and an evaluation distribution, GMMD produces a representation that encodes textural and structural characteristics at a finer granularity than global embeddings. To select the hyperparameters of the metric, we employ a meta-metric protocol based on controlled degradations applied to MS-COCO images, measuring monotonicity via Spearman's rank correlation and Kendall's tau. We conduct experiments on both the KADID-10k database and the RAISE realness assessment dataset using various backbone architectures, including DINOv2, DC-AE, Stable Diffusion's VAE encoder, VGG19, and the AlexNet backbone from LPIPS, among others. We also demonstrate on a cross-domain driving scenario (KITTI / Virtual KITTI / Stanford Cars) that CMMD can incorrectly rank real images as less realistic than synthetic ones due to its semantic bias, while GMMD preserves the correct ordering. Our results suggest that GMMD captures complementary information to existing semantic-level metrics.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TRIG: Toward Measuring Texture Realism in Image Generation

    Oct 10, 2026Zhiwei Xu, Jiali Cui, Zhiqiang Lao +2Image Generation EvaluationImage Quality Assessment

  2. Too Vivid to Be Real? Benchmarking and Calibrating Generative Color Fidelity

    Mar 11, 2026Zhengyao Fang, Zexi Jia, Yijia Zhong +5Image GenerationImage Generation Evaluation

  3. TerraVis: Towards Evaluation of World-Grounded Visual Consistency in Text-to-Image Generation via MLLM Workflows

    Oct 2, 2026Shuai Fu, Jing Gu, Jian Zhou +3Image Generation EvaluationT2I Generation Evaluation