TL;DR
This paper introduces a new suite of interpretable metrics—Single-attribute Divergence (SaD) and Paired-attribute Divergence (PaD)—designed to diagnose why generative models fail to match training data distributions. By leveraging a novel Heterogeneous CLIPScore (HCS), the authors can pinpoint specific attributes (like "beard") or implausible combinations (like "baby with beard") that standard global metrics like FID completely overlook.
The Problem: The "Black Box" of Standard Metrics
In the world of generative AI, models are typically judged using the Fréchet Inception Distance (FID) or similar global distribution metrics. While FID is excellent at indicating whether a model produces high-quality, diverse images overall, it acts as a "black box."
If a model has a poor FID, researchers are left guessing: are the textures blurry? Are the colors off? Or is the model generating a 3:1 ratio of dogs to cats when the training data was strictly 1:1? Existing metrics lack interpretability. They cannot inform a researcher that their model is over-representing "long hair" or failing to understand that "babies" shouldn't have "beards."
This paper addresses this critical gap by shifting the evaluation paradigm from global distribution matching to fine-grained, attribute-based evaluation. As shown above, while two models might achieve similar standard metric scores, an interpretable radar chart can reveal that one model heavily over-generates specific traits like "makeup" while under-generating others.
Proposed Methods
The authors propose three key components to make generative evaluation explainable:
1. Heterogeneous CLIPScore (HCS)
Standard CLIPScore measures the similarity between an image and a text prompt. However, because image and text embeddings naturally live in different sub-regions of the latent space, their cosine similarities are often bunched together and strictly positive.
HCS fixes this by calculating similarity relative to the "centers" of the image and text distributions separately. By using these heterogeneous initial points, HCS provides a much more accurate, zero-centered "ruler" for measuring how strongly an attribute (e.g., "smiling" or "makeup") appears in an image. Positive scores indicate the presence of the attribute, while negative scores indicate its absence.
2. Single-attribute Divergence (SaD)
This metric calculates the Kullback-Leibler (KL) divergence between the probability density functions (PDFs) of a single attribute in the training set versus the generated set. It explicitly quantifies if a model is generating a specific trait too frequently or too rarely compared to the ground truth data.
3. Paired-attribute Divergence (PaD)
PaD measures the divergence of joint distributions. It captures whether the model respects the natural relationships between traits. For example, if the training data features "men with beards" but no "babies with beards," a high PaD score would successfully flag a model that hallucinates facial hair onto infants.
Key Insights and Discoveries
By applying SaD and PaD across standard benchmarks (like FFHQ, CelebA, and LSUN), the authors uncovered several fascinating behaviors in state-of-the-art generative models:
- The "Baby with Beard" Phenomenon: The authors found that ProjectedGAN achieves very competitive FID scores but suffers from a high PaD. This occurs because the model mimics the statistics of the embedding space without understanding the semantic relationships between attributes, leading to nonsensical combinations like bearded babies.
- Diffusion's Color Struggle: While Diffusion Models (DMs) are currently the state-of-the-art for image generation, SaD reveals they actually struggle to capture the full diversity of colors found in datasets like LSUN Cat when compared to older GAN architectures.
- Sampling Steps Matter: In Latent Diffusion Models (LDMs), increasing the number of sampling steps actually increases the divergence (SaD) for minor objects like "earrings" and "necklaces." More steps lead to the model "hallucinating" these small details more frequently than they naturally appear in the real data.
- The FID Paradox: Interestingly, Stable Diffusion v1.5 was found to capture attribute distributions better than v2.1, even though v2.1 is widely cited as having a better (lower) FID. This suggests that "better" models might sometimes be drifting further from the true training distribution in ways standard metrics fail to measure.
Validation and Results
- HCS Accuracy: HCS outperformed the standard CLIPScore in binary attribute classification on CelebA, achieving an accuracy of 0.817 compared to 0.798.
- Model Rankings: In head-to-head comparisons on the FFHQ dataset, StyleGAN2 showed the lowest (best) SaD and PaD scores, indicating it remains one of the most faithful models for capturing human attribute distributions accurately.
- Sensitivity: Through "biased injection" experiments (purposely adding too much of one trait to a generated set), the authors proved that SaD and PaD scale linearly with the amount of bias introduced. In contrast, FID and other traditional metrics remained relatively stagnant and provided no explanation for the distribution shift.
Limitations and Future Work
The primary limitation of this approach is its reliance on Kernel Density Estimation (KDE), which requires a large sample size (typically >50,000 images) to produce stable, reliable probability density functions. Additionally, the metrics are inherently bottlenecked by the Vision-Language Model (VLM) used to extract attributes; if the underlying CLIP model has an inherent bias, that bias will inevitably reflect in the SaD and PaD scores.
The authors suggest that future work could involve using Large Language Models (LLMs) to automatically discover and define more nuanced attributes for evaluation, further removing the need for human-defined attribute lists and broadening the scope of interpretable evaluation.
Summary updated