Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet achieving fine-grained control over generated features remains a significant challenge. Traditional disentanglement methods, such as infoGAN or AC-GAN, typically require defining attributes a priori and training the entire model from scratch. This approach is often inflexible, computationally expensive, and wasteful if new attributes need to be disentangled later. To address these limitations, researchers have introduced Decomposition-GAN (dec-GAN), a framework designed to disentangle features of a pre-trained, fixed generative model post-hoc.
Methodology: Additive Latent Decomposition
The core innovation of dec-GAN lies in its treatment of the latent space. Instead of concatenating feature vectors, dec-GAN decomposes a single latent code $z$ into additive components: $z = z_c + z_a$, where $z_c$ represents "content" (e.g., identity or style) and $z_a$ represents a specific "attribute" (e.g., expression or pose).
The architecture utilizes a fixed, pre-trained generator $G$ and introduces two learnable encoders, $E_c$ and $E_a$. A pre-trained classifier $C$ serves as a "guide" to ensure $z_a$ captures the intended attribute. The training process is governed by three primary objectives:
- Reconstruction Loss: Ensures the sum of extracted vectors $z_c + z_a$ can reconstruct the original image through $G$.
- Guidance Loss: Leverages the classifier $C$ to enforce that $z_a$ contains sufficient information to manipulate the target attribute.
- Feature Consistency: Guarantees that swapping attribute vectors between different content vectors yields coherent images that preserve the target content while adopting the new attribute.
Experimental Setup
The model was rigorously evaluated on two primary benchmarks:
- MNIST: Focused on disentangling digit style (content) from digit class (attribute).
- CMU Multi-PIE: A complex face dataset used to separate identity (content) from pose and expression (attributes).
Key Results and Discussion
Dec-GAN demonstrates significant improvements in both efficiency and image quality. On the CMU Multi-PIE dataset, it achieved a Fréchet Inception Distance (FID) score of 47.88, outperforming VAE-GAN (56.91) and UFDN (122.81). Furthermore, the attribute vectors produced by dec-GAN showed higher classification accuracy (99.74% for pose identification) compared to the raw latent space of standard models.
A key advantage is the training speed; dec-GAN can be trained for a specific attribute on Multi-PIE in just 13 minutes, a nearly 7x speedup over training an AC-GAN from scratch (89 minutes). This efficiency stems from keeping the heavy generator fixed and only optimizing the lightweight encoders.
Conclusion
By shifting from joint training to post-hoc additive decomposition, dec-GAN provides a flexible and efficient pathway for feature manipulation in pre-trained GANs. While dependent on the quality of the initial generator and the guidance classifier, it offers a powerful tool for practical applications where retraining large-scale models is infeasible.
Summary updated