DFU: scale-robust diffusion model for zero-shot super-resolution image generation

Alexander Havrilla, Kevin Rojas, Wenjing Liao, Molei TaoarXiv 2023

Abstract

Diffusion generative models have achieved remarkable success in generating images with a fixed resolution. However, existing models have limited ability to generalize to different resolutions when training data at those resolutions are not available. Leveraging techniques from operator learning, we present a novel deep-learning architecture, Dual-FNO UNet (DFU), which approximates the score operator by combining both spatial and spectral information at multiple resolutions. Comparisons of DFU to baselines demonstrate its scalability: 1) simultaneously training on multiple resolutions improves FID over training at any single fixed resolution; 2) DFU generalizes beyond its training resolutions, allowing for coherent, high-fidelity generation at higher-resolutions with the same model, i.e. zero-shot super-resolution image-generation; 3) we propose a fine-tuning strategy to further enhance the zero-shot super-resolution image-generation capability of our model, leading to a FID of 11.3 at 1.66 times the maximum training resolution on FFHQ, which no other method can come close to achieving.

Introduction: The Resolution-Lock Problem

Standard diffusion models are typically "resolution-locked." If trained on a specific resolution, such as 64x64, they struggle to generate coherent images at higher resolutions like 128x128. Without high-resolution training data, these models often suffer from structural collapse—either producing blurry results or "tiling" artifacts where local features like eyes or textures are repeated because the model lacks a global understanding of the larger scale.

High-fidelity face generation at 160x160 resolution using DFU trained on lower resolutions.

The authors address this by seeking a scale-robust model: a single architecture that can be trained on low-resolution data and directly sampled at high resolutions while maintaining both global coherence and local fidelity.

Methodology: Dual-FNO UNet (DFU)

The core innovation is the Dual-Convolution (DC) layer, integrated into a UNet-style backbone to create the Dual-FNO UNet (DFU). This architecture processes information through two parallel paths:

  1. Spatial Path: Uses standard convolutions with fixed kernel sizes to learn fine-grained textures and sharp edges.
  2. Spectral Path: Employs a Fourier Neural Operator (FNO). By transforming the image into the frequency domain via Fast Fourier Transform (FFT) and applying learnable weights to lower-frequency modes, this path captures the global, long-range dependencies necessary for structural coherence at any scale.

Training and Fine-Tuning Strategies

To enhance scale robustness, the authors employ Mixed-Resolution Training, where the model is exposed to a variety of pixel grids (e.g., 32x32 to 96x96) during the initial phase. To push performance further, they introduce a Zero-Shot Fine-Tuning strategy. The model's spectral components are fine-tuned on "pseudo-high-res" data—low-resolution training images upsampled using simple bilinear interpolation. This encourages the model to maintain global structure at higher scales without ever seeing a real high-resolution ground truth image.

Results and Evaluation

DFU was evaluated on the FFHQ (faces) and LSUN-Church datasets. Models were trained on resolutions up to 96x96 and tested on "zero-shot" resolutions of 128x128, 160x160, and 256x256.

Comparison of zero-shot super-resolution results. Left/Middle: Baselines showing structural collapse (tiling/distortion). Right: DFU maintaining global coherence.

Key Findings

  • Superior Zero-Shot Performance: On FFHQ, DFU achieved an FID of 11.3 at 160x160 resolution (1.66x the max training resolution). In contrast, a standard Multi-resolution UNet baseline achieved a significantly worse FID of 45.5.
  • Qualitative Coherence: As shown in the comparison above, while standard UNets begin to repeat features or distort geometry when pushed to higher resolutions, DFU maintains a single, coherent global structure with sharp, realistic textures.
  • Efficiency: Even at the original training resolution (96x96), DFU outperformed standard UNets (FID 4.96 vs 6.4), suggesting the architecture is inherently more efficient at capturing image distributions.

Conclusion

By combining the strengths of spatial convolutions and spectral operators, DFU overcomes the resolution-locking inherent in traditional diffusion models. This approach allows for high-fidelity, coherent image generation at scales beyond the training data, providing a robust solution for zero-shot super-resolution. Future work may focus on reducing the computational overhead of FFT operations and further extending the limits of zero-shot scaling.

Summary updated

BibTeX
@misc{havrilla2023dfu,
  author = {Alexander Havrilla and Kevin Rojas and Wenjing Liao and Molei Tao},
  title = {{DFU: scale-robust diffusion model for zero-shot super-resolution image generation}},
  year = {2023},
  eprint = {2401.06144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.06144},
}
Figure