PIE: Portrait Image Embedding for Semantic Control
Ayush Tewari, Mohamed Elgharib, Mallikarjun B R., Florian Bernard, Hans-Peter Seidel, Patrick Pérez, Michael Zollhöfer, Christian Theobalt
TL;DR
PIE addresses the challenge of semantically editing real portrait photos by embedding them into the StyleGAN latent space. It combines a hierarchical non-linear optimization with a StyleRig-based mapping from a 3D Morphable Model to latent space, augmented by an identity-preservation term and multiple losses to ensure high-fidelity, editable representations. The key contributions are the first real-image embedding enabling photo-realistic, disentangled edits of head pose, expression, and illumination, an explicit identity-consistency term, and a hierarchical optimization strategy that yields interactive editing speeds with robust ablations and comparisons to state-of-the-art. This approach advances controllable, semantically meaningful portrait editing with potential impact on photography, entertainment, and AR workflows, while acknowledging limitations such as artifacts under large edits and dataset biases.
Abstract
Editing of portrait images is a very popular and important research topic with a large variety of applications. For ease of use, control should be provided via a semantically meaningful parameterization that is akin to computer animation controls. The vast majority of existing techniques do not provide such intuitive and fine-grained control, or only enable coarse editing of a single isolated control parameter. Very recently, high-quality semantically controlled editing has been demonstrated, however only on synthetically created StyleGAN images. We present the first approach for embedding real portrait images in the latent space of StyleGAN, which allows for intuitive editing of the head pose, facial expression, and scene illumination in the image. Semantic editing in parameter space is achieved based on StyleRig, a pretrained neural network that maps the control space of a 3D morphable face model to the latent space of the GAN. We design a novel hierarchical non-linear optimization problem to obtain the embedding. An identity preservation energy term allows spatially coherent edits while maintaining facial integrity. Our approach runs at interactive frame rates and thus allows the user to explore the space of possible edits. We evaluate our approach on a wide set of portrait photos, compare it to the current state of the art, and validate the effectiveness of its components in an ablation study.
