Introduction
Face reenactment involves transferring the facial expressions and head poses of a target individual to a source person's image. While significant progress has been made, existing methods often hit a "resolution ceiling," typically capped at 256x256 pixels, and suffer from "identity leakage"—where the source's identity is compromised by the target's features. MegaFR (Megapixel Face Reenactment) addresses these challenges by leveraging the high-resolution generative capabilities of StyleGAN to achieve 1024x1024 reenactment from a single source image.
Methodology
MegaFR integrates the structural control of 3D Morphable Models (3DMM) with the photorealistic synthesis of StyleGAN. The framework avoids the need for high-resolution video datasets by utilizing a pre-trained StyleGAN backbone and a 3D face reconstruction network (FLAME).
3DMM-Guided Latent Manipulation
Instead of direct parameter injection, MegaFR uses a 2D rendering of the 3DMM as an intermediate representation. This rendering provides a spatially-aware guide for the convolutional neural network. A specialized encoder, $E_{FR}$, processes the source image and the target 3D rendering to compute a residual latent code. This residual is added to the source's inverted latent code (obtained via e4e), effectively "nudging" the StyleGAN representation toward the target pose and expression.
Preserving Identity
To maintain identity, the authors employ Layer Partitioning. Latent modifications are restricted to the "coarse" and "medium" layers of StyleGAN, which govern geometry and expression. The "fine" layers, responsible for texture and color, remain unchanged. Training is further stabilized using ID loss (ArcFace), cycle consistency, and landmark pairwise losses to ensure precise movement of facial features like eyelids and lips.
Results and Applications
MegaFR demonstrates superior performance on the CelebA-HQ benchmark, achieving an FID of 23.4 and an ID Similarity score of 0.47, significantly outperforming previous high-resolution baselines.
The framework is versatile, supporting applications such as face frontalization, eye in-painting, and the generation of smooth talking-head sequences. It handles "out-of-domain" images, such as faces with heavy makeup, through an additional Pivot Tuning Inversion (PTI) step.
Conclusion
MegaFR successfully breaks the resolution barrier in face reenactment by repurposing StyleGAN as a controllable generative prior. By combining 3D geometric guidance with latent space manipulation, it achieves high-fidelity, identity-preserving reenactment at megapixel resolution without requiring video-based training data.
Summary updated