Towards Consistent and Controllable Image Synthesis for Face Editing
Mengting Wei, Tuomas Varanka, Yante Li, Xingxun Jiang, Huai-Qian Khor, Guoying Zhao
TL;DR
This work tackles controllable, identity-preserving face editing with diffusion models by fusing 3D Morphable Models (3DMMs) with Stable Diffusion. It introduces a Spatial Attribute Provider to decouple background, pose, lighting, and expression, and a FaceFusion module to inject high-fidelity identity features into the SD UNet, all within a full-model fine-tuning framework. The approach achieves superior identity preservation and realism across a range of edits and identities, including out-of-domain styles, and demonstrates robust generalization with a dedicated training strategy and ablations. The results underscore the potential of combining interpretable 3D-based controls with powerful diffusion priors for photorealistic, consistent face editing in practical applications.
Abstract
Face editing methods, essential for tasks like virtual avatars, digital human synthesis and identity preservation, have traditionally been built upon GAN-based techniques, while recent focus has shifted to diffusion-based models due to their success in image reconstruction. However, diffusion models still face challenges in controlling specific attributes and preserving the consistency of other unchanged attributes especially the identity characteristics. To address these issues and facilitate more convenient editing of face images, we propose a novel approach that leverages the power of Stable-Diffusion (SD) models and crude 3D face models to control the lighting, facial expression and head pose of a portrait photo. We observe that this task essentially involves the combinations of target background, identity and face attributes aimed to edit. We strive to sufficiently disentangle the control of these factors to enable consistency of face editing. Specifically, our method, coined as RigFace, contains: 1) A Spatial Attribute Encoder that provides presise and decoupled conditions of background, pose, expression and lighting; 2) A high-consistency FaceFusion method that transfers identity features from the Identity Encoder to the denoising UNet of a pre-trained SD model; 3) An Attribute Rigger that injects those conditions into the denoising UNet. Our model achieves comparable or even superior performance in both identity preservation and photorealism compared to existing face editing models.
