TL;DR
This paper introduces a novel approach using Reinforcement Learning (RL) to manipulate the age of faces generated by pre-trained GANs. By formulating age manipulation as a Markov Decision Process (MDP) over the GAN's latent space, the method learns a non-linear traversal that preserves identity and avoids common pitfalls of linear methods, achieving superior age alteration while maintaining image quality.
What Problem Does This Paper Address?
Generating high-fidelity images with specific semantic attributes, like age, is a significant challenge in computer vision. While pre-trained Generative Adversarial Networks (GANs) like ProgressiveGAN and StyleGAN produce impressive results, controlling specific attributes often requires training conditional GANs from scratch, which is computationally expensive and data-intensive. Existing methods that manipulate the latent space of pre-trained GANs, such as InterfaceGAN, often rely on linear traversals. These linear methods can lead to undesirable side effects, like changes in gender or loss of identity, and may sample from low-density regions of the latent space, potentially causing mode collapse. The paper aims to address the limitations of linear latent space manipulation for semantic age alteration, specifically focusing on preserving identity and generating realistic, high-resolution images.
Methods
The core of this work is the formulation of a Reinforcement Learning (RL) problem to learn a policy for navigating the latent space of a pre-trained GAN. Specifically, they define a Markov Decision Process (MDP) where:
- States: The latent vectors (d-dimensional) of the pre-trained ProgressiveGAN.
- Actions: The policy outputs a direction (a basis vector) and weights to traverse the latent space. This action space is designed to incorporate both a pre-defined age hyperplane direction and a learned identity-preserving direction.
- Goal: To generate images with a specific age alteration (younger or older) while preserving the identity of the original person.
- Reward: The reward function is designed to incentivize the agent for:
- Successfully transitioning to a new age "bucket" (grouping ages).
- Preserving the identity of the generated face, measured by the similarity of features (using AlexNet's conv5 layer) between the generated and base images.
- Staying within the "typical set" of the latent space distribution to avoid mode collapse.
- A large negative reward is given for failing to preserve identity or leaving the typical set, acting as a "fear factor" to guide the policy.
A key innovation is the use of a locally linear approximation of the latent space manifold. This allows the RL policy to learn a non-linear trajectory, offering more flexibility than simple linear traversals. They also incorporate a mechanism to ensure sampling from the typical set of the latent space distribution, preventing out-of-distribution samples and mode collapse. For age prediction, they train an age regression model on the generated images.
Datasets
- Training/Evaluation: The paper utilizes a pre-trained ProgressiveGAN model. The experiments are conducted using images generated by this model, which was originally trained on the CelebA-HQ dataset.
- Age Regression Model Training: The age regression model (Areg) was trained on the IMDB Wiki Faces dataset.
No new benchmarks were introduced; the evaluation focuses on comparing the proposed method against existing techniques using standard image quality metrics and user studies.
Key Insights and Ideas
- RL for Latent Space Traversal: Framing latent space manipulation as an RL problem allows for learning complex, non-linear trajectories that are more adept at handling semantic attribute changes while preserving identity.
- "Fear Factor" for Identity Preservation: The use of large negative rewards for identity deviation acts as a powerful mechanism to guide the RL agent towards solutions that prioritize identity preservation, a critical aspect often overlooked by simpler methods.
- Typical Set for Distributional Robustness: Restricting sampling to the "typical set" of the latent space distribution is crucial for maintaining high generation quality and avoiding mode collapse, especially when performing non-linear traversals.
- Locally Linear Approximation for Non-Linearity: The approach cleverly combines the simplicity of local linear approximations with the power of RL to learn a globally non-linear path through the latent space.
Key Results
- Quantitative Evaluation: The proposed RL methods (PPO and A2C) achieved superior identity preservation scores (measured by VGG Face cosine similarity) compared to baseline ProgressiveGAN and InterfaceGAN. They also maintained high image quality, as indicated by superior SSIM and PSNR scores.
- Qualitative Evaluation: Figures 5, 6, 7, and 8 demonstrate that the RL-generated images exhibit more accurate age alterations with better identity and gender preservation compared to linear traversal methods.
- User Study: Human raters consistently preferred the RL-generated trajectories for identity preservation, age variation with identity preservation, and age variation with gender preservation, further validating the method's effectiveness.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while the method is designed to avoid mode collapse, it's still a potential concern with GANs.
- The "fear factor" (negative reward) magnitude might need tuning for different attributes or GAN architectures.
- The current work focuses on age manipulation; extending to other attributes is a natural next step.
- Future Work:
- Extending the formulation to other semantic attributes like pose variation and smile change.
- Experimenting with different GAN architectures and generative models.
- Theoretical investigations into the convergence properties of these RL-based methods.
Summary updated