TL;DR
The authors present Pixel Cube, a novel diffusion-based framework for photorealistic and temporally consistent portrait video relighting. By combining a custom-built LED lighting cube for real-world data acquisition with high-quality synthetic data, they fine-tune a video diffusion model that can seamlessly change the illumination of a portrait video while perfectly preserving the subject's identity and facial expressions.
What Problem Does This Paper Address?
Portrait relighting—changing the lighting environment of a captured subject after the fact—is a crucial tool for photography, filmmaking, and virtual production. While static image relighting has made massive strides, extending this to dynamic video introduces severe challenges.
The primary hurdle is temporal consistency. If you relight frames individually, the lighting will flicker, and fine details like wrinkles or facial hair will warp unnaturally over time. Furthermore, training deep learning models for this task requires high-quality training data: videos of the exact same motion captured under completely different, known lighting conditions. Traditional "Light Stages" use sparse point lights and take one-light-at-a-time (OLAT) photos, making them too slow to capture natural, high-speed human expressions. Consequently, existing video relighting models often suffer from a lack of realistic ground-truth data.
Methods
The authors tackle this problem with a hardware-software co-design:
1. The Pixel Cube Hardware
To capture perfect training data, the authors constructed the Pixel Cube, a 2m × 2m × 2m cubic apparatus lined with 90 high-resolution LED panels. Unlike traditional point-light stages, the Pixel Cube provides continuous angular sampling, allowing it to display full 360° High Dynamic Range (HDR) environment maps to accurately emulate real-world environments.
To capture identical motion under different lighting conditions, they implemented a time-multiplexed acquisition scheme. The system cycles through a pure white background (to capture flat-lit albedo) and two different environment maps at 60 FPS. Because human motion is negligible within a 16ms window, this allows them to split the interleaved frames into three perfectly synchronized video sequences under different lighting environments.
2. The Software Pipeline
Instead of directly mapping an input video to a target environment, the authors break the task into a two-step pipeline using a fine-tuned Stable Video Diffusion (SVD) model:
- Delight Model: Takes the arbitrarily lit input video and removes all shadows and highlights to estimate a flat-lit "albedo" video.
- Relight Model: Takes the albedo video and applies a target HDR environment map via multi-level cross-attention layers. It also utilizes a projected background image to control the camera's exposure level and overall color harmony.
To handle long videos, they use a sliding window approach that carries over noise and latent variables from previous frames to guarantee smooth transitions across video segments.
Datasets
The model is trained on a high-quality hybrid dataset consisting of both real and synthetic data:
- Real-Captured Data: 24 human subjects performing talking motions or facial expressions inside the Pixel Cube under ~3,000 rotated HDR environment maps, totaling over 2 million frames.
- Synthetic Data: To improve generalization across diverse ethnicities, ages, and facial features, they used Unreal Engine's MetaHuman plugin to render 30 distinct digital characters under identical lighting conditions, adding another 1.3 million frames.
Key Insights and Ideas
- The Power of Delighting First: Attempting to map directly from "Light A" to "Light B" makes the network highly sensitive to the input video's original brightness. Normalizing the face to a flat-lit albedo first drastically simplifies the generative task.
- Continuous vs. Discrete Lighting: Traditional light stages produce scattered, harsh specular highlights due to their discrete point lights. The Pixel Cube's continuous LED walls produce smooth, physically accurate reflections (e.g., on skin and eyes) that match real-world environments.
Key Results
The Pixel Cube framework was evaluated against state-of-the-art methods like PN-Relight, SwitchLight, and RelightVid.
- Quantitative Superiority: In pixel-aligned ground-truth testing, Pixel Cube significantly outperformed competitors across PSNR, SSIM, and LPIPS metrics. For instance, on the relighting task for Subject 1, Pixel Cube achieved a PSNR of 21.50, compared to SwitchLight's 15.93 and PN-Relight's 14.33.
- Temporal Stability: The average temporal warping error across sequences was exceptionally low (0.005), indicating virtually flicker-free video generation.
- Applications: The authors demonstrated successful real-world applications, including fixing under-exposed videos, applying professional studio lighting patterns (like Rembrandt lighting) post-capture, and unifying the lighting of two actors filmed separately.
Limitations and Future Work
While impressive, the system has a few constraints:
- Hardware Brightness Limits: The LED panels cannot fully replicate extreme high-contrast directional light sources, such as direct, blinding sunlight during a sunrise or sunset.
- Motion Artifacts: The 8ms latency between interleaved frames can still cause minor artifacts during extremely rapid subject movements.
- Long-Video Drift: Although the sliding window maintains consistency, error accumulation can still occur over extended video durations, a common challenge in autoregressive diffusion setups.
Summary updated