Abstract
Conditional Generative Adversarial Networks (cGANs) face a persistent trade-off between generating high-fidelity images and ensuring those images accurately reflect their intended class labels. This paper presents Dual Projection GAN (P2GAN), a framework designed to harmonize "data matching" and "label matching." By "untying" class embeddings for real and fake data and utilizing an adaptive weighting mechanism, P2GAN mitigates the "classification burden" that often degrades image quality in auxiliary classifier-based models. Experimental results on VGGFace2 and ImageNet demonstrate that P2GAN significantly improves both diversity and fidelity, establishing a new state-of-the-art for conditional image synthesis.
Introduction
The primary goal of conditional GANs is to produce realistic images that strictly adhere to a given condition, such as a class label. Discriminator design is central to this task, with two dominant approaches: Projection Discriminators, which use inner products for flexibility and high fidelity, and Auxiliary Classifiers (AC-GAN), which enforce class-distinctive features through a separate classification task. However, Projection-based methods often lack explicit label matching, while AC-GANs can suffer from a "classification burden" where the difficulty of the auxiliary task interferes with the primary GAN objective. P2GAN addresses this gap by integrating the strengths of both approaches while avoiding their respective pitfalls.
Methodology: Dual Projection and Untied Embeddings
P2GAN introduces several architectural innovations to refine the discriminator's guidance:
- Untying Embeddings: Unlike standard projection GANs that use a single vector per class, P2GAN employs separate embeddings for real data ($v_y^p$) and fake data ($v_y^q$). This allows the model to more accurately capture the nuances between the real and generated class distributions.
- Dual Label Matching: The framework incorporates auxiliary classification losses for both real and fake samples, ensuring the discriminator learns robust class boundaries across both domains.
- Adaptive Weighting (P2GAN-w): To manage the classification burden, the authors introduce an adaptive gate ($\lambda$) that balances the standard GAN loss and the classification loss. This weighting can be static, decaying, or dynamically learned, allowing the model to prioritize image realism early in training before focusing on fine-grained class consistency.
Theoretical Insights
The authors provide a mathematical decomposition of the optimal discriminator's output into two components: Marginal Matching (determining if an image is real) and Label Matching (determining if an image matches its label). They demonstrate that while standard projection discriminators are naturally biased toward data matching—which aids sharpness—they are prone to "mode collapse" where different classes are mapped to overlapping regions in the embedding space. P2GAN’s dual matching strategy explicitly counters this by enforcing separation in the feature space, thereby enhancing diversity.
Experimental Results
P2GAN was evaluated against several baselines on both synthetic and large-scale real-world datasets:
- VGGFace2: On the VGGFace200 subset, P2GAN-w achieved an FID of 15.70, a massive improvement over Proj-GAN (61.43) and TAC-GAN (96.06). Qualitative analysis confirmed that P2GAN maintains high identity diversity, whereas other models often collapsed to a few generic faces.
- ImageNet: At $128 \times 128$ resolution, P2GAN reached an Inception Score (IS) of 59.24, nearly doubling the 30.73 IS of the Proj-GAN baseline.
- Synthetic Benchmarks: In 1D Mixture of Gaussians experiments, P2GAN consistently outperformed other methods across various levels of mode overlap, proving its robustness in modeling complex distributions.
Conclusion and Future Work
P2GAN successfully bridges the gap between projection-based and classification-based conditional GANs. By untying embeddings and adaptively balancing the training objectives, it achieves superior image quality and diversity. While the approach introduces some hyperparameter sensitivity regarding the adaptive weighting strategy, its performance gains are substantial. Future research may extend this dual projection framework to other domains such as image-to-image translation and federated learning, where conditional distribution alignment is critical.
Summary updated