Dynamic Neural Portraits

Michail Christos Doukas, Stylianos Ploumpis, Stefanos Zafeiriou

TL;DR

Dynamic Neural Portraits is a novel framework for full-head reenactment that achieves photo-realistic results at 1024x1024 resolution in real-time (24 fps). By replacing slow 3D volumetric rendering with a hybrid 2D coordinate-based MLP and a CNN decoder, the authors achieve a 270x speedup over state-of-the-art NeRF-based methods while improving visual quality.

What Problem Does This Paper Address?

Full-head reenactment involves taking a video of a target person and controlling their head pose, facial expressions, and eye gaze using either another person's movements or audio signals.

Existing solutions generally fall into two camps:

  1. GAN-based Image-to-Image Translation: These methods often translate intermediate 3D renderings (like 3D Morphable Model meshes) into realistic frames. However, they can struggle with temporal stability and fine details.
  2. Neural Radiance Fields (NeRFs): While NeRFs produce stunningly realistic results, they are computationally expensive. The process of ray casting and volume sampling makes them too slow for real-time applications, often taking several seconds to render a single frame.

Furthermore, the authors argue that 3D-aware models like NeRF are often "over-parameterized" for video portraits. Since most portraits are filmed with a stationary camera from a single viewpoint, a full 3D representation isn't strictly necessary to achieve consistent results.

Methods

The authors propose a "hybrid" architecture that combines the strengths of implicit neural representations (INRs) and convolutional neural networks (CNNs).

Comparison of different video portrait rendering paradigms. (a) Traditional GAN-based translation. (b) NeRF-based volumetric rendering. (c) The proposed hybrid MLP-CNN paradigm.

The Hybrid Architecture

Instead of predicting a 3D volume, the system uses a 2D coordinate-based Multi-Layer Perceptron (MLP).

  • Input: For every pixel $(x, y)$, the MLP receives the coordinates, head pose $\mathbf{p}$, eye gaze $\mathbf{g}$, facial expression $\mathbf{e}$ (or audio features $\mathbf{\alpha}$), and a learnable latent code $\mathbf{v}$ to capture frame-specific variations like torso movement.
  • Feature Prediction: Unlike standard INRs that predict RGB values directly, this MLP predicts a high-dimensional feature vector for each spatial location.
  • CNN Decoding: These feature vectors are organized into a feature map and passed through a CNN-based decoder. The decoder performs the heavy lifting of up-sampling and synthesizing the final high-resolution image.

Training and Conditioning

The model can be driven by two modalities:

  • Visual: Using expression blendshapes from 3D Morphable Models (3DMMs).
  • Audio: Using features extracted via DeepSpeech, processed through a temporal self-attention mechanism to ensure smooth lip-syncing.

The optimization uses a dual L2 loss: one on the final high-res output and an auxiliary loss on a low-res color output generated directly by the MLP to guide the feature learning process.

Datasets

The models are trained on monocular RGB videos of specific individuals (e.g., public figures like Barack Obama, Joe Biden, and Theresa May).

  • Size: Videos range from 5,000 to 20,000 frames.
  • Resolution: Experiments were conducted at $256^2$, $512^2$, and $1024^2$.
  • Pre-processing: Frames are cropped around the face, and tracking systems are used to extract ground-truth pose, expression, and gaze parameters for training.

Key Insights and Ideas

  • 2D is Enough: For stationary monocular cameras, a 2D coordinate-based representation is sufficient for reenactment. This avoids the massive computational overhead of 3D ray-marching.
  • The MLP-CNN Synergy: The MLP excels at handling the "controllable dynamics" (pose/expression conditioning) at a coordinate level, while the CNN decoder is highly efficient at generating high-frequency textures and maintaining spatial coherence.
  • Latent Variables for Stability: Introducing per-image learnable latent codes helps the model account for elements not captured by the 3DMM parameters, such as subtle torso movements or background lighting changes, significantly reducing "jitter."

Key Results

The most striking result is the efficiency gain. Dynamic Neural Portraits runs at 24.2 fps at $1024 \times 1024$ resolution on an NVIDIA Tesla V100. In contrast, NeRF-based methods like NerFACE take nearly 8.5 seconds per frame (0.12 fps) at only $512 \times 512$ resolution.

Qualitative comparison of reconstruction quality against baselines. The proposed method generates finer details and more realistic eye gaze.

Quantitatively, the method outperforms baselines (DVP, NerFACE, FOMM) across standard metrics:

  • Lower LPIPS and FID: Indicating better perceptual quality and photo-realism.
  • Lower FVD: Indicating better temporal consistency in video.
  • Audio-Driven Success: When driven by audio, it produces more accurate lip motions than AD-NeRF while remaining significantly faster.

Limitations and Future Work

  • Pose Extrapolation: Like most reenactment models, this system struggles when asked to generate head poses that were not present in the training data (e.g., extreme profile views if the training video was mostly frontal).
  • 3D Consistency: While the 2D approach works for stationary cameras, it does not inherently guarantee 3D multi-view consistency if the camera were to move around the subject.
  • Ethical Concerns: The authors explicitly acknowledge the potential for misuse in creating "fake news" and emphasize that their work is intended for benevolent applications like movie dubbing and virtual assistance.

Summary updated

BibTeX
@inproceedings{doukas2023dynamic,
  author = {Michail Christos Doukas and Stylianos Ploumpis and Stefanos Zafeiriou},
  title = {{Dynamic Neural Portraits}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00406},
}
Figure