[Paper Review] Semantically Decomposing the Latent Spaces of Generative Adversarial Networks
This paper proposes Semantically Decomposed GANs (SD-GANs), which disentangle the latent space of generative adversarial networks into identity (z_I) and observation (z_O) factors by training on paired images of the same subject. By using Siamese discriminators to enforce identity consistency across diverse observations, SD-GANs generate photorealistic, identity-matched image pairs while enabling independent manipulation of identity and contingent factors like pose, lighting, and expression.
We propose a new algorithm for training generative adversarial networks that jointly learns latent codes for both identities (e.g. individual humans) and observations (e.g. specific photographs). By fixing the identity portion of the latent codes, we can generate diverse images of the same subject, and by fixing the observation portion, we can traverse the manifold of subjects while maintaining contingent aspects such as lighting and pose. Our algorithm features a pairwise training scheme in which each sample from the generator consists of two images with a common identity code. Corresponding samples from the real dataset consist of two distinct photographs of the same subject. In order to fool the discriminator, the generator must produce pairs that are photorealistic, distinct, and appear to depict the same individual. We augment both the DCGAN and BEGAN approaches with Siamese discriminators to facilitate pairwise training. Experiments with human judges and an off-the-shelf face verification system demonstrate our algorithm's ability to generate convincing, identity-matched photographs.
Motivation & Objective
- To address the limitation of standard GANs in explicitly disentangling known commonalities in data, such as identity in face or product images.
- To enable the generation of diverse, photorealistic images of the same subject by fixing the identity component of the latent code.
- To allow independent control over identity and observation factors (e.g., pose, lighting) without requiring explicit conditioning.
- To develop a pairwise training scheme that encourages disentanglement through Siamese discriminators that assess pair-wise identity consistency.
- To enable zero-shot generation of new identities not seen during training, unlike conditional GANs.
Proposed method
- Decompose the latent space into two parts: z_I (identity) and z_O (observation), with z_I shared across paired images.
- Train the generator to produce two images per forward pass, sharing the same z_I but different z_O, forming a pair.
- Use a Siamese discriminator architecture that takes two images as input and outputs a probability indicating whether they match in identity.
- Train the discriminator to distinguish between real matched pairs (same identity) and fake or unmatched pairs (different identities).
- Adapt DCGAN and BEGAN frameworks by integrating the Siamese discriminator into the adversarial training objective.
- Optimize the generator to produce diverse, photorealistic image pairs that fool the Siamese discriminator into classifying them as matched.
Experimental results
Research questions
- RQ1Can a GAN be trained to disentangle identity from contingent observation factors (e.g., pose, lighting) without explicit supervision?
- RQ2Can the generator produce diverse, photorealistic images of the same identity while maintaining identity consistency?
- RQ3Does the pairwise training scheme with Siamese discriminators improve identity coherence compared to standard GANs?
- RQ4Can SD-GANs generate novel identities not present in the training data, unlike conditional GANs?
- RQ5How well do human annotators and automated face verification systems recognize identity matches in generated image pairs?
Key findings
- SD-GANs successfully generate diverse, photorealistic image pairs of the same identity, with human judges correctly identifying 85% of generated pairs as matching.
- An off-the-shelf face verification system correctly classified 92% of generated image pairs as depicting the same subject.
- SD-GANs enable independent interpolation along identity and observation manifolds, demonstrating disentangled control over identity and appearance factors.
- The SD-BEGAN variant produces more photorealistic samples than SD-DCGAN, though both achieve high identity coherence.
- On the shoe dataset, SD-DCGAN generates consistent shoe types across z_I variations while varying pose and viewpoint, indicating effective disentanglement.
- SD-GANs can generate entirely new identities not in the training data, a capability absent in conditional GANs that are limited to existing identities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.