Abstract
Semantic Image Synthesis (SIS) has reached high levels of realism, yet providing users with intuitive, localized control over generated scenes remains a challenge. Current methods often rely on external reference images or global latent edits that inadvertently alter the entire composition. This paper introduces Ctrl-SIS, an unsupervised framework designed to discover class-specific "knobs" within pretrained GANs. By utilizing spatial label maps and a specialized triple-loss objective, Ctrl-SIS enables precise editing of individual object categories—such as changing building facades or street textures—while maintaining the integrity of the rest of the image.
Introduction
The goal of Semantic Image Synthesis is to map a categorical label map to a photorealistic image. While state-of-the-art models like SPADE and OASIS produce impressive results, they often lack interpretable control. If a user wishes to modify only the architectural style of a building in a complex urban scene, they typically face a trade-off between requiring a specific reference image or applying global latent shifts that might change the weather, the road, or the sky simultaneously. Ctrl-SIS addresses this gap by identifying latent directions that correspond to meaningful, spatially-isolated variations.
The Ctrl-SIS Approach
Ctrl-SIS operates by exploring the latent space of a pretrained SIS model without requiring manual supervision or additional training data. The method is built upon three technical pillars:
- 3D Latent Code Injection: Unlike standard GANs that use a flat vector, Ctrl-SIS employs a 3D latent tensor ($H \times W \times D$). This spatial representation allows the model to map latent variations directly to the image's layout.
- Triple-Loss Objective: To ensure the discovered controls are useful, the authors optimize for:
- Diversity: Encouraging the discovery of distinct visual styles (e.g., different types of foliage).
- Disentanglement: Using the input label map as a mask to penalize any changes occurring outside the target class boundaries.
- Consistency: Ensuring a specific latent direction produces the same semantic effect across different images.
- Unsupervised Discovery: The framework automatically identifies the most diverse and spatially isolated variations the GAN can produce, effectively "mining" the model's learned knowledge.
Experimental Results
The researchers evaluated Ctrl-SIS across major benchmarks, including CelebAMask-HQ, ADE20K, and COCO-Stuff. Using a novel metric, mean Control Diversity (mCD), the study found that Ctrl-SIS identifies directions nearly twice as diverse as previous state-of-the-art methods like GANSpace or SeFa. Crucially, the mean Outside class Diversity (mOD)—a measure of "leakage" into non-target areas—remained near zero, confirming high precision in localized editing.
Human evaluations further supported these findings. In user studies on the ADE20K dataset, Ctrl-SIS achieved a top-tier Human Diversity Rank (HDR) of 1.07, significantly outperforming random exploration and global baseline methods.
Conclusion and Future Work
Ctrl-SIS demonstrates that pretrained SIS models contain a wealth of interpretable, localized controls that can be unlocked through masked optimization. While the current approach is constrained by the fixed geometry of the input label map—preventing edits that change object shapes—it provides a robust foundation for high-fidelity, class-specific texture and style manipulation. Future research may explore joint optimization of label maps and latent codes to enable semantic shape editing.
Summary updated