Introduction
Recent advancements in Generative Adversarial Networks (GANs), particularly architectures like StyleGAN, have enabled high-fidelity image synthesis and manipulation. However, a persistent challenge in face attribute editing is the "entanglement" of features. For instance, attempting to increase a subject's age often inadvertently adds eyeglasses or changes their expression due to biases in the training data. This paper introduces Instance-Aware Latent-Space Search (IALS), a framework designed to achieve precise, disentangled edits by moving away from "one-size-fits-all" global attribute directions in favor of directions tailored to individual images.
The Challenge of Latent Space Entanglement
Previous methods for attribute editing typically identify a global "semantic direction" in the GAN's latent space. While effective for simple transformations, these global vectors fail to account for the complex, non-linear correlations inherent in datasets like FFHQ. Because the training data often contains elderly individuals wearing glasses, the model learns a correlated "age+glasses" vector. Consequently, applying this global vector to a young person's latent code often forces unwanted attributes onto the result, as global vectors cannot easily "unlearn" these distribution biases.
Methodology: Instance-Aware Search
The IALS framework addresses entanglement through three core innovations:
1. Instance-Specific Directions
Instead of a static global vector, IALS calculates a gradient based on a pre-trained attribute classifier for each specific input image. This gradient identifies the exact path in the latent space that maximizes the target attribute for that specific code while minimizing changes to unrelated features.
2. Hybrid Direction Search and Incremental Updates
The final editing direction is a weighted combination of the stable global direction and the precise instance-specific direction. To ensure the edit remains accurate as the image evolves, IALS performs an iterative search. It updates the direction at each small step, allowing for a dynamic navigation of the latent space that adapts to the changing facial features.
3. Disentanglement-Transformation (DT) Metric
To balance the trade-off between successful attribute modification (Transformation) and feature preservation (Disentanglement), the authors introduced the DT metric. This metric allows for the automatic optimization of the control factor ($\lambda$), ensuring the best possible balance between global stability and local precision.
Experimental Results
The model was rigorously evaluated on the FFHQ and CelebA-HQ datasets, as well as on real-world images inverted into the StyleGAN latent space.
Qualitative Performance
IALS demonstrates superior performance in preserving "condition attributes"—features that should remain unchanged during an edit. For example, in gender-swapping tasks, IALS successfully maintains the original subject's expression and identity more effectively than baseline methods like InterfaceGAN or GANSpace.
Quantitative and User Evaluation
In a user study involving 100 participants, IALS achieved a 69.66% satisfaction rate, significantly outperforming InterfaceGAN (62.06%) and GANSpace (35.44%). Quantitative analysis using the DT metric further confirmed that IALS is more robust and less sensitive to hyperparameter variations than its predecessors.
Conclusion and Future Work
IALS represents a significant step forward in controllable image synthesis by recognizing that attribute editing is an instance-specific problem rather than a global one. While the method's performance is tied to the quality of the underlying attribute classifiers and involves higher computational costs due to its iterative nature, it provides a powerful tool for high-fidelity, disentangled face manipulation. Future work may focus on reducing the computational overhead and improving the robustness of the classifiers used to guide the search.
Summary updated