Skip to main content
QUICK REVIEW

[Paper Review] Fast Face-swap Using Convolutional Neural Networks

Iryna Korshunova, Wenzhe Shi|arXiv (Cornell University)|Nov 29, 2016
Generative Adversarial Networks and Image SynthesisComputer Science29 references9 citations
TL;DR

This paper proposes a real-time, feed-forward convolutional neural network for photorealistic face swapping that transfers identity while preserving pose, expression, and lighting. By introducing a multi-image style loss and lighting-aware loss function, the method achieves high realism and near real-time inference using a single reference image of the target identity and no user input beyond alignment.

ABSTRACT

We consider the problem of face swapping in images, where an input identity is transformed into a target identity while preserving pose, facial expression, and lighting. To perform this mapping, we use convolutional neural networks trained to capture the appearance of the target identity from an unstructured collection of his/her photographs.This approach is enabled by framing the face swapping problem in terms of style transfer, where the goal is to render an image in the style of another one. Building on recent advances in this area, we devise a new loss function that enables the network to produce highly photorealistic results. By combining neural networks with simple pre- and post-processing steps, we aim at making face swap work in real-time with no input from the user.

Motivation & Objective

  • To enable fully automatic, real-time face swapping that preserves pose, expression, and lighting while transferring identity.
  • To overcome limitations of prior methods that require manual alignment, extensive user input, or large image collections for the target identity.
  • To achieve photorealistic results using a feed-forward neural network trained via a novel loss function.
  • To frame face swapping as a style transfer problem, extending neural style transfer to photorealistic face images.
  • To make identity transfer practical and scalable for single-image inputs with minimal computational cost at inference.

Proposed method

  • The method uses a multi-scale feed-forward convolutional neural network trained to transform the content of an input face into the identity of a target person.
  • A novel multi-image style loss is introduced, which models the target identity's appearance as a manifold rather than relying on a single reference image.
  • An additional lighting-aware loss component ensures consistent illumination between source and generated images.
  • Face alignment and realignment are performed using facial keypoint detection and affine transformations to maintain geometric consistency.
  • Post-processing uses a learned segmentation mask to seamlessly blend the swapped face into the original image.
  • The network is trained using VGG-19 features for content and style, with a combination of L2 and perceptual losses to preserve realism.

Experimental results

Research questions

  • RQ1Can a feed-forward neural network achieve photorealistic face swapping in real time with minimal user input?
  • RQ2How can style transfer techniques be adapted to preserve identity while maintaining pose, expression, and lighting?
  • RQ3What loss function design enables high-fidelity face swapping using only a collection of reference images of the target identity?
  • RQ4Can multi-image style loss improve realism and robustness compared to single-reference style transfer?
  • RQ5How does the inclusion of lighting-aware loss enhance consistency in generated face-swapped images?

Key findings

  • The proposed method achieves near real-time inference, enabling interactive or video-based face swapping with minimal latency.
  • The multi-image style loss significantly improves realism by modeling the target identity's appearance as a distribution rather than a single image.
  • The inclusion of a lighting-aware loss component reduces unnatural illumination shifts in the generated images.
  • Results show high photorealism, with identity transfer that preserves facial expression, gaze, and pose even under challenging lighting conditions.
  • The method outperforms previous style transfer approaches in photorealistic face manipulation, particularly in handling complex facial structures and textures.
  • Limitations include artifacts on occluded faces (e.g., glasses), poor performance on extreme poses, and oversmoothing in some cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.