Wavelet Packet Power Spectrum Kullback-Leibler Divergence: A New Metric for Image Synthesis

Lokesh Veeramacheneni, Moritz Wolter, Juergen Gall · DOI

Abstract

Traditional metrics for evaluating generative models, such as the Fréchet Inception Distance (FID), rely heavily on pre-trained neural networks, introducing significant domain bias. This paper introduces the Fréchet Wavelet Distance (FWD), a domain-agnostic metric leveraging Wavelet Packet Transforms. FWD provides a mathematically rigorous, interpretable, and computationally efficient alternative that performs consistently across diverse datasets, including satellite and agricultural imagery, where standard metrics often fail.

Introduction: The Limitations of FID

For years, the Fréchet Inception Distance (FID) has served as the primary benchmark for measuring the performance of GANs and Diffusion models. However, FID's reliance on an InceptionV3 backbone pre-trained on ImageNet creates a critical "domain bias." When evaluating models on datasets far removed from ImageNet's 1,000 classes—such as microscopic cells, satellite photos, or specialized agricultural data—FID can produce misleading scores. Models may generate visually distorted images that happen to trigger ImageNet-like features, resulting in artificially "good" scores. Furthermore, FID is computationally intensive and provides little diagnostic information regarding specific model failures.

Methodology: Fréchet Wavelet Distance (FWD)

The proposed Fréchet Wavelet Distance (FWD) replaces neural feature extraction with the Wavelet Packet Transform ($W_p$). This approach offers a purely mathematical decomposition of images, making it inherently domain-agnostic.

Hierarchical decomposition of an image into frequency subbands (packets) using the Wavelet Packet Transform across four levels.

The FWD calculation involves four key steps:

  1. Decomposition: Images are decomposed into various frequency subbands (packets) using Haar wavelets, capturing both spatial and textural information.
  2. Statistical Characterization: For each frequency packet, the mean and covariance of the coefficients are calculated across the dataset.
  3. Distance Calculation: The Fréchet distance is computed between the distributions of real and generated coefficients for every packet.
  4. Aggregation: The final FWD score is the average of these distances across all packets.

Key Insights and Domain Robustness

A primary advantage of FWD is its ability to "break the ImageNet spell." While FID often favors models that produce artifacts (like "floating heads") if they contain ImageNet-aligned textures, FWD correctly identifies these structural flaws.

Comparison of InceptionV3 predictions and Wavelet Packets, highlighting how neural features can be misled by domain shifts while wavelet packets remain consistent.

Beyond robustness, FWD offers interpretability. Because the metric is calculated per packet, researchers can analyze the "frequency spectrum" of errors. High distance in high-frequency packets, for instance, indicates struggles with fine textures or sharp edges.

Experimental Results

The researchers evaluated FWD across standard benchmarks (CelebA-HQ, FFHQ, LSUN) and specialized domains (Sentinel satellite imagery, DNDD agricultural data).

  • Human Alignment: User studies demonstrated that FWD aligns more closely with human perception of image quality than FID, particularly in non-standard domains like agriculture.
  • Computational Efficiency: FWD is approximately 36 times faster than FD-DINOv2 and significantly lighter than FID. It achieves a throughput of 1,923 images/sec with a negligible compute cost of 0.006 GFLOPs.
  • Stability: FWD proved resistant to "metric hacking," remaining stable in scenarios where FID scores could be artificially optimized by selecting specific image subsets.

Conclusion and Future Directions

FWD addresses the domain bias and computational overhead of traditional generative metrics. While the current implementation utilizes Haar wavelets and fixed decomposition levels, future work may explore other wavelet families (e.g., Daubechies) or adaptive multi-resolution levels. The mathematical framework also holds potential for extension into 1D (audio) and 3D (video) data evaluation.

Summary updated

BibTeX
@inproceedings{veeramacheneni2025wavelet,
  author = {Lokesh Veeramacheneni and Moritz Wolter and Juergen Gall},
  title = {{Wavelet Packet Power Spectrum Kullback-Leibler Divergence: A New Metric for Image Synthesis}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=QinkNNKZ3b},
}
Figure