Abstract
Achieving precise spatial control in high-quality image synthesis remains a significant challenge for Generative Adversarial Networks (GANs). Standard models often suffer from "entanglement," where modifying a single latent variable inadvertently affects unrelated image features. This paper introduces a Structured Noise Injection strategy that replaces global noise vectors with a grid-based system of local, regional, and global codes. By enforcing spatial constraints in the generator's initial layer, the model learns to associate specific latent variables with distinct image regions in an entirely unsupervised manner. Evaluation on FFHQ, LSUN Cars, and CUB datasets shows significant improvements in disentanglement metrics and qualitative control.
Introduction
In state-of-the-art GANs like StyleGAN, disentanglement is the "holy grail"—the ability to modify a specific feature (e.g., a smile) without altering identity or background. However, traditional architectures typically use an entangled input latent space where a single entry in the noise vector can influence every pixel. While scale-based control exists, achieving precise spatial control usually requires massive labeled datasets or rigid, specialized architectures.
Methods: Structured Noise Injection
The core innovation is the transition from a single global noise vector to a structured grid. The generator's first layer is treated as a grid (e.g., $8 \times 8$), where each cell receives a combination of three noise types:
- Spatially-Invariable Code (Style): Controls global attributes like color and lighting via AdaIN (Adaptive Instance Normalization).
- Spatially-Variable Code (Content): This includes local codes (unique to a cell), regional codes (shared across $2 \times 2$ sub-regions), and global codes (shared across the entire grid).
By utilizing a sparse mapping matrix, the network is forced to associate specific noise codes with specific spatial regions. This "disentanglement by design" ensures that a code designated for the "mouth" area only affects that region in the final output.
Key Insights
- First Layer Dominance: Enforcing disentanglement in the initial layer is sufficient to maintain spatial consistency throughout the upsampling process.
- Unsupervised Learning: The model learns spatial associations without masks or labels, relying solely on architectural constraints.
- Content-Style Separation: Injecting content noise early and style noise later naturally separates physical structure from texture and color.
Experimental Results
The method was evaluated on FFHQ (faces), LSUN Cars, and CUB (birds).
Quantitative Performance
On the FFHQ dataset, the proposed model achieved a W-path length of 4.29, a substantial improvement over StyleGAN’s 6.25. A shorter path length indicates a smoother, more disentangled latent space.
Qualitative Control
The model demonstrates the ability to perform localized edits, such as changing a bird's beak length or a car's dimensions, without affecting the background or orientation.
As shown in the results, applying a specific attribute code (such as glasses or expression) across different face identities yields consistent changes while preserving the underlying person's features.
Limitations and Future Work
Despite its success, the model faces challenges with background/foreground coupling, where changing background styles can cause minor color shifts in the foreground. Additionally, some "mid-level" entanglement remains between features like age and gender, suggesting that further refinement of the scale-space shared codes is necessary.
Conclusion
Structured Noise Injection provides a robust blueprint for building steerable AI models. By intelligently introducing randomness through spatial constraints, the method achieves fine-grained control over image synthesis without the overhead of manual labeling.
Summary updated