Abstract
Semantic image synthesis (SIS) requires a delicate balance between image quality, spatial consistency, and inference efficiency. While recent diffusion models have set new benchmarks for realism, their iterative nature leads to significant computational overhead. This paper introduces DP-SIMS (Discriminator Pre-training for Semantic Image Synthesis), a GAN-based approach that leverages frozen, pre-trained vision backbones within the discriminator. By incorporating feature conditioning and an attention-based generator, DP-SIMS achieves state-of-the-art performance on COCO-Stuff, ADE-20K, and Cityscapes, while operating up to 6,500x faster than leading diffusion models.
Introduction
The task of semantic image synthesis involves generating photorealistic images from 2D label maps. Historically, Generative Adversarial Networks (GANs) were the standard due to their single-pass inference speed. However, as datasets grew in complexity, GANs struggled with diversity and global coherence. Recently, diffusion models have emerged as a powerful alternative, offering superior image quality at the cost of extreme latency. DP-SIMS bridges this gap by revitalizing the GAN framework through the use of pre-trained image backbones, which have long been a staple in discriminative tasks like segmentation but remain underutilized in generative modeling.
Methodology
The core innovation of DP-SIMS lies in its discriminator architecture. Unlike traditional GANs that train discriminators from scratch, DP-SIMS employs a frozen ConvNext-L backbone as an encoder within a UNet-like discriminator.
To effectively utilize the pre-trained features, the authors introduce a conditioning module. Raw features from different layers of the backbone often exhibit varying dynamic ranges, which can lead the discriminator to ignore subtle but critical details. By applying a Sigmoid activation to squash the range and BatchNorm to normalize contributions, the discriminator provides more balanced and informative gradients to the generator.
The generator itself is enhanced with cross-attention noise injection and self-attention modules. Cross-attention ensures that the injected noise is meaningfully integrated into the synthesis process, promoting output diversity. Self-attention allows the model to capture long-range spatial dependencies, ensuring global consistency across the generated image. Furthermore, the training process is stabilized by a Pixel-wise Focal Loss, which forces the model to focus on "hard" pixels and underrepresented semantic classes, and a Patch-wise Contrastive Loss for global coherence.
Experimental Results
DP-SIMS was evaluated on COCO-Stuff, ADE-20K, and Cityscapes. Notably, the authors utilized anonymized (blurred) versions of these datasets to respect privacy. On the COCO-Stuff benchmark, the model achieved a Frechet Inception Distance (FID) of 13.6, outperforming the diffusion-based PITI (15.5). Furthermore, it demonstrated superior label consistency, with an mIoUMF score of 65.2 compared to 52.1 for the previous GAN leader, OASIS.
The most striking result is the inference efficiency. DP-SIMS generates a 256x256 image in approximately 0.04 seconds. In contrast, the Stable Diffusion-based SDM requires 260 seconds, representing a 6,500x speedup. This performance makes DP-SIMS highly suitable for real-time applications where diffusion models remain impractical.
Conclusion
DP-SIMS demonstrates that GANs remain highly competitive for semantic image synthesis when properly "unlocked" with pre-trained features. By using a smarter discriminator as a teacher, the model achieves a rare combination of high quality, strict label adherence, and exceptional speed. Future work will explore the stability of Transformer-based backbones in this framework and the potential benefits of partial fine-tuning of the backbone during the final stages of training.
Summary updated