Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis

Wan-Cyuan Fan, Yen-Chun Chen, Dongdong Chen, Yu Cheng, Lu Yuan, Yu-Chiang Frank Wang · OpenReview

Abstract

Diffusion models (DMs) have shown great potential for high-quality image synthesis. However, when it comes to producing images with complex scenes, how to properly describe both image global structures and object details remains a challenging task. In this paper, we present Frido, a Feature Pyramid Diffusion model performing a multi-scale coarse-to-fine denoising process for image synthesis. Our model decomposes an input image into scale-dependent vector quantized features, followed by a coarse-to-fine gating for producing image output. During the above multi-scale representation learning stage, additional input conditions like text, scene graph, or image layout can be further exploited. Thus, Frido can be also applied for conditional or cross-modality image synthesis. We conduct extensive experiments over various unconditioned and conditional image generation tasks, ranging from text-to-image synthesis, layout-to-image, scene-graph-to-image, to label-to-image. More specifically, we achieved state-of-the-art FID scores on five benchmarks, namely layout-to-image on COCO and OpenImages, scene-graph-to-image on COCO and Visual Genome, and label-to-image on COCO.

Introduction

While Diffusion Models (DMs) have revolutionized image generation, they face significant hurdles when synthesizing complex scenes. Most existing models, including popular Latent Diffusion Models (LDMs), operate on feature maps at a single resolution. This leads to two primary issues: Scale Blindness and Computational Inefficiency.

Scale blindness refers to the difficulty of managing high-level semantics (such as overall scene layout) and low-level details (such as object textures) simultaneously. In complex scenes where multiple objects interact, standard models often suffer from "semantic drift," where global structure is sacrificed for local texture, or vice versa. Furthermore, denoising high-resolution images remains a resource-intensive process. Frido (Feature Pyramid Diffusion) addresses these challenges by introducing a multi-scale, coarse-to-fine approach that captures both global structures and intricate details effectively.

Methodology

The Frido framework is built upon three core architectural innovations designed to streamline the generation of complex scenes.

Multi-Scale Vector Quantization (MS-VQGAN)

Unlike standard VQGANs that compress an image into a single latent grid, MS-VQGAN encodes an image into a pyramid of discrete latent codes ($z^1, z^2, \dots, z^N$). The top of the pyramid captures high-level shapes and structural "blueprints," while the base layers capture fine-grained details. This hierarchical representation allows the model to process different levels of abstraction independently.

Feature Pyramid Diffusion

Frido performs diffusion sequentially across scales. During the denoising process, the model starts at the coarsest scale to establish the global layout. It then progressively moves to finer scales, using the coarse features as a guide. This sequential process ensures that the fine details generated at later stages are semantically consistent with the established global structure.

The Frido architecture overview, illustrating the high-level and low-level diffusion processes and the shared PyU-Net backbone.

PyU-Net and Coarse-to-Fine Modulation (CFM)

To maintain computational efficiency, Frido utilizes a Shared U-Net backbone across all scales. Lightweight, level-specific layers project different resolutions into a shared latent space. The Coarse-to-Fine Modulation (CFM) block is then used to condition the generation of fine details on the already-generated coarse structures. To ensure robustness, the authors implemented Noise Augmentation during training, preventing the model from becoming over-reliant on "perfect" coarse inputs that it won't have during inference.

Experiments and Results

The researchers evaluated Frido across a wide variety of tasks, including text-to-image, scene-graph-to-image, layout-to-image, and unconditional generation. The model was tested on major datasets such as COCO 2014, Visual Genome (VG), OpenImages, and CelebA-HQ.

State-of-the-Art Performance

Frido achieved state-of-the-art (SOTA) results on five major benchmarks, primarily measured by the Fréchet Inception Distance (FID). Notable achievements include:

  • Layout-to-Image: New records on COCO and OpenImages.
  • Scene-Graph-to-Image: SOTA on COCO and Visual Genome.
  • Text-to-Image: On COCO, Frido-f16f8 reached an FID of 11.24, significantly outperforming the LDM baseline of 12.27.

Qualitative Advantages

Qualitative results demonstrate that Frido is superior at following complex prompts. For instance, in a prompt like "a person riding a motorcycle with a mountain in the background," standard LDMs often fail to connect the person to the bike or omit the background mountain entirely. Frido’s coarse-to-fine approach ensures all elements are present and correctly positioned.

Comparison of coarse-to-fine denoising results between standard LDM and Frido.

Conclusion

Frido represents a significant step forward in complex scene synthesis by leveraging a feature pyramid approach. By establishing a global structural "blueprint" before filling in fine-grained details, it avoids the semantic drift common in single-scale diffusion models. The use of a shared PyU-Net backbone further ensures that this improved quality does not come at the cost of excessive computational overhead. Future work may explore more formal regularization of the MS-VQGAN latent space and deeper integration with CLIP-based guidance during training.

Summary updated

BibTeX
@inproceedings{fan2023frido,
  author = {Wan-Cyuan Fan and Yen-Chun Chen and Dongdong Chen and Yu Cheng and Lu Yuan and Yu-Chiang Frank Wang},
  title = {{Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25133},
}
Figure