DIFFNAT: Improving Diffusion Image Quality Using Natural Image Statistics

Aniket Roy, Maitreya Suin, Anshul Shah, Ketul Shah, Jiang Liu, Rama Chellappa · DOI

Introduction

While modern diffusion models like Stable Diffusion produce breathtaking imagery, they are not without flaws. Generated images often contain subtle "unnatural" traces—artifacts that state-of-the-art forensic tools can easily detect. This lack of "naturalness" is particularly visible during tasks like "personalization" (e.g., using DreamBooth to train a model on a few specific photos), where the model often overfits and produces distorted textures or lighting.

Existing solutions to improve quality usually rely on external supervision or add significant complexity to the training process. DiffNat addresses this by leveraging the inherent statistical properties of natural images to guide models toward higher quality without requiring extra labels.

The Kurtosis Concentration (KC) Property

The core contribution of this work is the Kurtosis Concentration (KC) property. In statistics, kurtosis measures the "peakedness" of a distribution. A key discovery in image science is that for natural images, kurtosis values remain nearly constant across different frequency bands.

Overview of the Kurtosis Concentration (KC) property and its impact on image generation quality.

To enforce this property, the authors introduce the KC Loss Function, which operates in three steps:

  1. Decomposition: A generated image is processed via a Discrete Wavelet Transform (DWT) to break it down into various sub-bands (low-frequency and high-frequency details).
  2. Calculation: The kurtosis is calculated for each of these sub-bands.
  3. Minimization: The KC loss minimizes the variance (the gap between maximum and minimum values) across these bands.

By forcing generated images to obey this rule, the model is mathematically incentivized to produce textures and details that mirror the statistical signature of real-world photography. This loss is "plug-and-play," meaning it can be integrated into the standard training objective of almost any diffusion-based system.

Experimental Evaluation

The authors evaluated DiffNat across three distinct tasks using standard benchmarks:

  • Personalized Few-shot Finetuning: Evaluated on the DreamBooth dataset (30 subjects).
  • Unconditional Image Generation: Tested on Oxford-flowers, CelebA-faces, and CelebAHQ.
  • Image Super-resolution: Trained on FFHQ and tested on CelebAHQ.

Key Results

The integration of KC loss showed consistent improvements across all metrics:

  • Generative Quality: In the DreamBooth task, the Fréchet Inception Distance (FID) improved from 111.76 to 100.08. For guided diffusion in super-resolution, the FID dropped from 121.23 to 103.19, showing visible improvements in fine details like eye structure.
  • Human Preference: In a study with 50 users, DiffNat-generated images outperformed baselines, with 50.4% of users preferring DiffNat results over standard DreamBooth or Custom Diffusion.
  • Forensic Robustness: A classifier trained to distinguish real vs. synthetic images saw its accuracy drop from 93.3% to 66.6% when testing on DiffNat images, proving they look statistically more "real."

Discussion and Insights

DiffNat demonstrates that statistical priors can serve as powerful regularizers. Instead of relying solely on the model to "learn" naturalness from millions of examples, 1D projections of natural image statistics provide a strong inductive bias. Furthermore, the authors provide theoretical proof that minimizing projection kurtosis is inversely related to the Signal-to-Noise Ratio (SNR), effectively "boosting" the denoising process.

Limitations

Despite these gains, some challenges remain. The model can occasionally struggle with complex spatial prompts (semantic misunderstanding) or exhibit color bias based on text prompts. Additionally, while the DWT and kurtosis calculations are computationally efficient, they add approximately 10% extra training time in personalization tasks. Future work may explore additional natural image statistics beyond kurtosis to further refine image synthesis.

Summary updated

BibTeX
@misc{roy2023diffnat,
  author = {Aniket Roy and Maitreya Suin and Anshul Shah and Ketul Shah and Jiang Liu and Rama Chellappa},
  title = {{DIFFNAT: Improving Diffusion Image Quality Using Natural Image Statistics}},
  year = {2023},
  eprint = {2311.09753},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.09753},
}
Figure