TL;DR
Your face is secretly a mirror of the world around you—every glint in your eye, sheen on your hair, and shadow across your nose encodes the 3D lighting of the room you're standing in. FaceProbe reads those subtle clues from a standard, narrow-angle portrait photo and reconstructs a sharp, physically accurate $360^\circ$ High-Dynamic-Range (HDR) lighting panorama of the entire unseen room. By marrying generative diffusion with reinforcement learning grounded in real-world light physics, it slashes downstream relighting errors in half compared to current state-of-the-art methods.
What Problem Does This Paper Address?
Imagine trying to drop a virtual object or person into a photograph so seamlessly that no one can tell it’s fake. To pull that off, you need an HDR environment map: a $360^\circ$ panoramic image that captures not just what the surrounding room looks like, but the exact radiant energy coming from every direction (the difference between a white wall and a blinding lightbulb).
Recovering a $360^\circ$ HDR map from a single, narrow-field-of-view portrait is wildly ill-posed—after all, over 90% of the room is behind the camera! Historically, researchers have been stuck between two flawed approaches:
- Physics-based reflection methods zoom in on tiny specularities (like corneal reflections in the eyes), which contain real physical clues, but yield blurry, low-resolution blobs useless for sharp reflections.
- Generative models dream up gorgeous, sharp $360^\circ$ panoramas from scratch, but they prioritize aesthetics over physics. Without physical grounding, they "hallucinate" light sources in the wrong places with wildly inaccurate brightness, causing severe color shifts and broken shadows when used to relight a scene.
Methods
FaceProbe bridges generative sharpness and physical rigor through two clever shifts in perspective:
- Masked Outpainting with a "Face Probe" (Architecture): Instead of hallucinating a room from scratch, the authors project the visible background of the portrait into a $360^\circ$ equirectangular grid—treating it as a boundary scaffold—and frame the rest as a masked completion task. They build on a pre-trained Diffusion Transformer (
Wan2.1-Fun-14B-Control), using log-normalization to squeeze unbounded HDR radiance into standard VAE latent space. Crucially, the portrait itself isn't hand-parsed for highlights; it is fed through a dedicated Reference Patch Embedding stream and concatenated directly into the sequence (fine-tuned via LoRA on Self-Attention layers), letting the transformer naturally map facial reflections to 3D room coordinates. - Physics-Aware Alignment via
OLAT-GRPO(Post-Training): Standard diffusion models just match statistical noise; they don't know how light bounces. Yet, slapping a rigid pixel-level relighting loss onto a diffusion model breaks its generative prior and creates ugly checkerboard artifacts. Instead, the authors adapt Group Relative Policy Optimization (GRPO)—a reinforcement learning technique—using a "Virtual Light Stage." For a given input, the model generates a group of candidate HDR maps. Each map is used to relight a real human face by linearly combining 331 One-Light-At-a-Time (OLAT) photographs—real studio captures of subjects lit from single directions, which inherently encode complex skin subsurface scattering and hair reflections without simplified math models. A multi-objective reward scores the relit faces on highlight placement, global energy conservation, color accuracy, and an adversarial realism score, nudging the policy toward physically valid panoramas.
Datasets
- Custom OLAT Relighting Dataset: Built from LightStage OLAT bases of 120 human subjects and 3,527 HDR maps (sourced from PolyHaven and private captures). It uses a strictly disjoint split: 100 subjects and 3,000 maps (300,000 pairs) for training, and 20 unseen subjects with 527 unseen maps (10,540 pairs) for testing.
- Independent Third-Party Benchmark: 105 commercially sourced, strictly unseen HDR scenes introduced to test true out-of-distribution generalization and absolute radiometric energy calibration without dataset memorization.
- In-the-Wild Portraits: Arbitrary real-world portraits (which lack $360^\circ$ ground truth) used for qualitative generalization checks.
Key Insights and Ideas
- Sequence concatenation beats Cross-Attention for geometry: Injecting the portrait tokens via sequence concatenation (Self-Attention) substantially outperforms standard Cross-Attention. Why? Because both the portrait and masked background sit in the same equirectangular coordinate space, Self-Attention’s relative positional encodings effortlessly learn the geometric bounce angles between a glint on a cheek and a window behind the camera—an inductive bias Cross-Attention lacks here.
- RL needs a discriminator to prevent "reward hacking": When optimizing only for physical relighting rewards via GRPO, the diffusion model cheats—generating bizarre, heavy checkerboard patterns in the panorama that mathematically average out to the right light energy on a face. Adding an adversarial discriminator forces the panorama to stay on the manifold of natural images.
- Tone-mapping hides energy sins: Standard evaluation pipelines apply per-image percentile tone-mapping or scale-invariant metrics (
si-RMSE), which mathematically erase global brightness errors. Evaluating in fixed-exposure linear HDR reveals just how badly unconstrained generative baselines miss true light intensity—and whereOLAT-GRPOshines.
Key Results
FaceProbe outperforms open-source state-of-the-art baselines (DiffusionLight, StyleLight, and LuxDiT) across virtual sphere rendering, $360^\circ$ panorama recovery, and portrait relighting:
- Portrait Relighting: FaceProbe slashes
si-RMSEby 48.5% (0.0415 vs.LuxDiT’s 0.0806) and Angular Error by 54.4% ($2.08^\circ$ vs. $4.56^\circ$), while boosting PSNR from 25.03 dB to 32.19 dB. - Isolating the Face Probe: Even on a pitch-black background (zero scene context), conditioning on the portrait alone drops dominant light-direction error from $104.58^\circ$ (blind guessing) down to $55.14^\circ$, and down to $37.82^\circ$ when combined with peripheral background context.
- True Energy Calibration: On the 105-scene third-party benchmark,
OLAT-GRPOfine-tuning cuts Linear-HDR RMSE by 14.5% and Integrated Energy Error by 17.1% over the base FaceProbe model (133.9% vs.LuxDiT’s massive 811.5% energy error).
Limitations and Future Work
Because human skin acts like a biological low-pass filter—diffusing and scattering incoming light—optimizing for facial photometric consistency prioritizes global energy conservation and light direction over crisp, unobserved geometric edges. Consequently, FaceProbe occasionally struggles to reconstruct the exact, razor-sharp outlines of synthetic light sources behind the camera. The authors point to scaling up training data and incorporating explicit directional reflectance priors as promising next steps.
Summary updated