Abstract
Recent advances in deep generative models have demonstrated impressive results in photo-realistic facial image synthesis and editing. Facial expressions are inherently the result of muscle movement. However, existing neural network-based approaches usually only rely on texture generation to edit expressions and largely neglect the motion information. In this work, we propose a novel end-to-end network that disentangles the task of facial editing into two steps: a "motion-editing" step and a "texture-editing" step. In the "motion-editing" step, we explicitly model facial movement through image deformation, warping the image into the desired expression. In the "texture-editing" step, we generate necessary textures, such as teeth and shading effects, for a photo-realistic result. Our physically-based task-disentanglement system design allows each step to learn a focused task, removing the need of generating texture to hallucinate motion. Our system is trained in a self-supervised manner, requiring no ground truth deformation annotation. Using Action Units as the representation for facial expression, our method improves the state-of-the-art facial expression editing performance in both qualitative and quantitative evaluations.
Introduction
Most state-of-the-art facial editing tools, such as GANimation or StarGAN, treat expression changes primarily as a "texture hallucination" problem. To simulate a smile, these models essentially attempt to paint new pixels over the original face. However, facial expressions are physically the result of muscle movements that deform the skin. When a model relies solely on texture generation, it often struggles to maintain "invariant" features—leading to artifacts like disappearing eyebrows, blurred beards, or shifted facial structures.
We introduce DefGAN, a framework that addresses this gap by explicitly modeling the underlying motion information. By separating movement from painting, the model preserves identity-specific details that texture-only models often accidentally erase.
Methodology: Disentangled Editing
DefGAN breaks the editing process into a physically-inspired pipeline consisting of two distinct phases: motion editing and texture editing.
- Motion-Editing Phase: A Convolutional Neural Network (CNN) predicts a deformation field (an offset-based grid). This grid is used to warp the input image to match a target expression defined by Action Units (AUs). For example, it physically curves the mouth area into a crescent shape to initiate a smile.
- Texture-Editing Phase: Since warping cannot create new objects (like teeth) or complex lighting (like new shadows), a second CNN generates a texture map and an attention mask. This "hallucinates" the necessary details to complete the photo-realistic look.
Because there is no ground truth for how a specific face should warp, the model is trained in a self-supervised manner using Cycle Consistency Loss and Face Identity Loss based on OpenFace embeddings. This ensures that the person's underlying identity signature remains unchanged during the edit.
Experimental Results
The authors evaluated DefGAN against leading models using datasets such as EmotionNet, CelebA-HQ, and RaFD.
Qualitative Performance
Visual results demonstrate that DefGAN successfully avoids common artifacts, such as the "disappearing beard" or "ghosting" effects seen in previous models. Because DefGAN warps existing pixels rather than generating them from scratch, it naturally preserves features like moles, wrinkles, and facial hair.
Quantitative Superiority
- Image Realism: DefGAN achieved a Frechet Inception Distance (FID) score of 3.82, significantly outperforming GANimation (4.75).
- Identity Preservation: Quantitative tests using face recognition embeddings proved that DefGAN retains the subject's identity much more accurately than GANimation across all tested expressions (Anger, Disgust, Fear, Happy, Sad, Surprise).
- User Preference: In a blind user study, participants preferred DefGAN’s results 63% of the time compared to 37% for GANimation.
Conclusion
By disentangling facial expression editing into motion and texture components, DefGAN achieves superior realism and identity preservation. This approach moves away from pure "painting" toward a more physically grounded simulation of facial movement. Future work may involve extending this framework to video sequences to incorporate temporal constraints for smoother facial animations.
Summary updated