Abstract
Generative Adversarial Networks (GANs) excel at image synthesis but often struggle with precise, disentangled editing. We present Delta-GAN-Encoder, a novel framework that learns to encode semantic changes—or "deltas"—from a minimal set of synthetic samples. By navigating the nonlinear latent space of GANs through a linear delta space, our method enables high-fidelity, identity-preserving edits on real-world photos, such as adjusting head pose or facial expressions, without requiring large-scale paired datasets.
Introduction
While models like StyleGAN produce photorealistic faces, "steering" these models to perform specific edits remains difficult due to latent space entanglement. Changing one attribute, like age, often inadvertently alters others, such as ethnicity or accessories. Furthermore, the paths between semantic states (e.g., neutral to smiling) are typically nonlinear, making simple linear interpolations insufficient for complex or extreme edits.
The Delta-GAN-Encoder Approach
The core innovation of Delta-GAN-Encoder is its focus on the semantic delta—the specific change between two states—rather than the absolute representation of an image.
Sim2Real Learning
To overcome the lack of paired real-world data, the model employs a "Simulation to Real" (Sim2Real) strategy. It uses a small set of synthetic 3D face models where attributes like pose and expression are perfectly controlled via the Facial Action Coding System (FACS).
Architecture and Constraints
The architecture consists of an Encoder ($E$) that maps the difference between two synthetic latent vectors into a low-dimensional, linear, and orthonormal $\Delta$-space. A Decoder ($D$) then takes a real image's latent vector and the learned $\Delta$ to calculate the necessary residual for the edit. By enforcing linearity in the $\Delta$-space, the model can smoothly scale effects (e.g., increasing a head turn angle) while the decoder handles the underlying nonlinearity of the GAN's $W+$ space.
Key Insights
- Transferability of Latent Manipulations: A critical observation of this work is that GANs manipulate synthetic and real latent vectors in semantically similar ways. This allows synthetic models to act as effective "teachers" for real-world editing tasks.
- Disentanglement through Deltas: By focusing solely on the change, the model naturally avoids many entanglement issues, better preserving the original identity of the subject.
Experimental Results
Delta-GAN-Encoder was benchmarked against state-of-the-art methods like ReStyle (RS-PSP) and Image2StyleGAN (I2S).
- Realism: The model achieved a Fréchet Inception Distance (FID) of 19.25 for expression editing, a significant improvement over RS-PSP (48.13).
- Identity Preservation: Using facial feature cosine similarity, the method maintained a high identity score of 0.977, ensuring the subject remains recognizable after significant manipulation.
- Precision: The model demonstrated unsupervised pose control with a mean error of just 0.15°, allowing for highly accurate adjustments without explicit pose-supervision during training.
Conclusion and Future Work
Delta-GAN-Encoder demonstrates that a handful of synthetic samples can provide enough supervision for complex real-world image editing. While the method is currently limited by the quality of initial latent projections and the diversity of the underlying GAN's training data, it opens new avenues for precise image manipulation. Future research will explore applying this "delta" framework to other domains, such as object modification and interior design.
Summary updated