Introduction
Training Generative Adversarial Networks (GANs) typically necessitates massive datasets to prevent the discriminator from overfitting. When training data is scarce—often fewer than 1,000 samples—the discriminator tends to memorize individual images rather than learning the underlying data distribution. This leads to common failure modes such as "mode collapse" or the generation of low-fidelity, distorted images.
While standard pixel-level data augmentations (e.g., flipping, rotating, cropping) can mitigate this, they often "leak" into the generator, causing it to produce biased outputs (like consistently tilted faces). Furthermore, these methods fail to capture complex semantic variations such as changes in facial expression, lighting, or background. To address these challenges, this paper introduces Adversarial Semantic Augmentation (ASA), a method that enables high-quality synthesis even with fewer than 100 images by operating in the semantic feature space.
Methodology: Adversarial Semantic Augmentation
ASA shifts the focus of data augmentation from pixel-level transformations to feature-level perturbations within the discriminator's deep layers.
Semantic Feature Transformation
Instead of applying geometric transforms to the input image, ASA identifies "meaningful transformation directions" by estimating the covariance matrices of features in the deep layers of the discriminator. These mathematical vectors correspond to semantic changes, such as modifying a background or altering a facial expression, without altering the fundamental identity of the subject.
The "Infinite Augmentation" Trick
Explicitly sampling new feature versions is computationally expensive. ASA bypasses this by deriving a mathematical upper bound of the expected adversarial loss using Jensen’s Inequality. By optimizing this upper bound directly, the model implicitly performs semantic augmentation for an "infinite" number of samples with negligible computational overhead. This approach is theoretically shown to preserve the original JS-Divergence, providing cleaner guidance to the generator compared to pixel-level flips that can alter the data distribution.
Enhanced Feature Extraction
To ensure the discriminator captures robust features, the authors incorporate channel and spatial attention mechanisms. Additionally, the discriminator is treated as an encoder paired with a small decoder to reconstruct images, forcing the model to learn more comprehensive representations.
Experimental Results
The researchers evaluated ASA across various resolutions (256x256 to 1024x1024) and domains, including few-shot datasets like "100-shot Obama," Panda, and medical images (BrecaHAD).
- Quantitative Performance: ASA consistently outperformed state-of-the-art models like StyleGAN2 and FastGAN. For instance, on the 100-shot Obama dataset, ASA achieved an FID of 39.41, compared to the baseline's 46.90. In high-resolution (1024x1024) Pokemon generation, it reached an FID of 54.83, significantly better than StyleGAN2's 190.23.
- Qualitative Quality: Visual comparisons demonstrate that ASA produces images with fewer artifacts. While competing models often produced "melted" faces or distorted textures in low-data regimes, ASA maintained sharp edges and realistic semantic details, such as facial symmetry and complex textures.
- Stability and Convergence: Training curves indicate that ASA stabilizes the "Nash equilibrium" between the discriminator and generator, preventing the discriminator from overpowering the generator early in the process.
Discussion and Future Work
ASA demonstrates that deep networks naturally linearize features, and perturbing these representations along covariance directions creates semantically plausible "new" samples. Because it optimizes an implicit upper bound, ASA can be integrated into existing architectures like StyleGAN2 with almost zero additional compute cost.
However, some limitations remain. The method inherits standard GAN issues like latent entanglement, making precise attribute editing difficult. It also faces challenges with extremely imbalanced (long-tailed) datasets or sets containing too much content variety for a small sample size. Future research will focus on cost-sensitive losses for imbalanced data and inversion techniques to better disentangle semantic features.
Summary updated