DifFRelight: Diffusion-Based Facial Performance Relighting

Mingming He, Pascal Clausen, Ahmet Levent Taşel, Li Ma, Oliver Pilarski, Wenqi Xian, Laszlo Rikker, Xueming Yu, Ryan Burgert, Ning Yu, Paul Debevec · DOI

TL;DR

DifFRelight is a novel framework that achieves high-fidelity, free-viewpoint facial performance relighting by combining a subject-specific diffusion model with dynamic 3D Gaussian Splatting (3DGS). By transforming simple flat-lit performance captures into photorealistic images under arbitrary lighting conditions, it accurately reproduces complex light transport effects like eye reflections, self-shadowing, and subsurface scattering.

Flat-lit input and relit results of the proposed diffusion-based relighting method.

What Problem Does This Paper Address?

Volumetric performance capture (volcap) systems are excellent for recording 3D human performances without traditional character rigging. However, most volcap systems record subjects under a single, uniform "flat" lighting condition. This makes it incredibly difficult to seamlessly integrate the captured actor into new scenes that require cinematic or dynamic lighting.

While existing neural relighting methods (like NeRFs or standard 3DGS) attempt to solve this, they often struggle to preserve fine details like hair texture, fail to accurately model complex materials, or require dense, impractical capture setups. Physical rendering models also frequently fall short when simulating intricate lighting effects like the translucency of skin or sharp reflections in the eyes.

Methods

DifFRelight introduces a two-stage pipeline consisting of dynamic 3D performance reconstruction followed by diffusion-based image-to-image translation.

The overview of the proposed relighting pipeline including dynamic performance reconstruction and diffusion-based relighting.
  1. Scalable Dynamic 3DGS: To handle long video sequences while maintaining temporal consistency, the authors partition the performance into smaller segments. They use a two-stage training strategy: first training a global model on sparse keyframes, and then using those keyframes to initialize and regularize the deformation fields of individual segments.
  2. Diffusion-Based Relighting: The framework adapts a pre-trained Stable Diffusion model (v2.1) for image-to-image translation. The latent representation of the flat-lit image is concatenated with a random noise map and fed into a modified U-Net.
  3. Unified Lighting Control: Instead of text prompts, the model is conditioned on lighting information. Light directions are encoded using Spherical Harmonics (SH) of degree 3 and injected via cross-attention layers. Furthermore, the authors introduce a variable light-size factor to seamlessly unify directional and area lighting, allowing for complex High Dynamic Range Imaging (HDRI) environment compositions.
Two-stage training of the scalable dynamic 3DGS to ensure cross-segment consistency.

Datasets

Because no standard dataset fit their exact requirements, the authors built a custom volumetric capture stage to collect a subject-specific paired dataset.

  • The Setup: A cylindrical rig featuring 75 synchronized 4K cinema cameras and an array of ROE BP2v2 LED panels capable of displaying custom illumination patterns.
  • Data Collected: Data from four distinct individuals. Each subject performed 30 facial expressions and head poses. For each expression, they captured One-Light-At-A-Time (OLAT) sequences across 123 lighting conditions, interspersed with flat-lit tracking frames used to capture the dynamic performance.
Capture stage setup and visualization of the collected training data across expressions, lightings, and viewpoints.

Key Insights and Ideas

  • The Power of Generative Priors: Fine-tuning a pre-trained generative model (Stable Diffusion) provides a robust data-driven prior. This allows the network to naturally "learn" complex, non-linear light transport effects—such as subsurface scattering through ear tissue—that are notoriously difficult to model mathematically.
  • Pyramid Noise over Gaussian Noise: Standard zero-mean Gaussian noise caused severe color shifts in dark, relit regions. Implementing pyramid noise during training significantly improved color consistency between the predictions and the ground truth.
Visual comparison showing how pyramid noise prevents severe color shifts in darker pixels.
  • Domain Bridging via SH Padding: Zero-padding the Spherical Harmonics encoding to match the length of standard text embeddings proved highly effective. The fine-tuning process successfully bridged the domain gap, turning a text-conditioned model into a precise light-conditioned model.

Key Results

DifFRelight significantly outperformed both U-Net and ControlNet baselines across multiple validation configurations (Novel Light, Novel Expression, Novel View, and combinations thereof):

  • Quantitative Performance: In the "Novel Light" test, DifFRelight achieved a PSNR of 30.29 and an SSIM of 0.8212, drastically outperforming the ControlNet baseline (PSNR: 20.30, SSIM: 0.6708) and the U-Net baseline (PSNR: 23.66, SSIM: 0.7971).
  • Qualitative Quality: The model successfully preserved fine structures like individual hair strands and forehead wrinkles while accurately rendering specular highlights in the eyes, which baseline models completely missed or blurred.
Ablation study demonstrating that pre-trained weights are essential for generating photorealistic results with fewer artifacts.

Limitations and Future Work

Despite its strengths, the framework has a few notable limitations:

  • Temporal Jitter: Because the diffusion model operates frame-by-frame, it can introduce high-frequency temporal inconsistencies. The authors currently mitigate this with a post-processing optical flow blending step, which can occasionally cause artifacts during rapid movements.
  • Identity Bleeding: The subject-specific model does not generalize well to unseen identities out-of-the-box. When tested on an novel subject, it tends to overlay features (like skin texture or lip color) from its training subject.

The authors point to emerging video diffusion models and identity disentanglement techniques as promising avenues to resolve these challenges in future iterations.

Summary updated

BibTeX
@inproceedings{he2024diffrelight,
  author = {Mingming He and Pascal Clausen and Ahmet Levent Taşel and Li Ma and Oliver Pilarski and Wenqi Xian and Laszlo Rikker and Xueming Yu and Ryan Burgert and Ning Yu and Paul Debevec},
  title = {{DifFRelight: Diffusion-Based Facial Performance Relighting}},
  booktitle = {SIGGRAPH Asia},
  year = {2024},
}
Figure