FaceProbe: Recovering HDR Environment Map via Masked Diffusion and Physical Preference

Peng Zhao, William Jing, Juyan Ba, Kairui Feng, Xuanhong ChenNeurIPS 2026

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:

  1. 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.
  2. 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:

Figure 1: Overview of our proposed lighting estimation framework. (A) Input: A limited Field- of-View (FoV) portrait image is projected into an equirectangular space. (B) Cue-driven Recovering: Authentic facial illumination cues (e.g., corneal reflections, hair sheen, and skin specularities) are explicitly conditioned via a dedicated reference pathway to guide the recovery of the unobserved 360◦ environment map. (C) Physics-Aware Alignment: Both the predicted and ground truth environment maps are applied to an OLAT-based relighting operator. An energy-conserving reward evaluates the relit faces to formulate a policy update, strictly aligning the generative recovery process with real-world physical reflection laws.
  • 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 where OLAT-GRPO shines.

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:

Zero-context virtual sphere relighting comparison: baselines hallucinate arbitrary scenes, while FaceProbe recovers the true light source.
  • Portrait Relighting: FaceProbe slashes si-RMSE by 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-GRPO fine-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

Abstract

Recovering $360^\circ$ HDR environment maps from unconstrained portraits is a fundamental yet ill-posed challenge in inverse rendering. Existing approaches typically suffer from a critical trade-off: traditional facial reflection-based methods yield low-fidelity, blurry results that lack practical utility, while recent generative models often resort to unconstrained panoramic hallucination (i.e., synthesizing environments with no physical grounding), which leads to severe overfitting and inaccurate lighting. In this paper, we present FaceProbe, an inpainting-driven framework that treats the human face as a reliable, physically-grounded light probe. Instead of synthesizing the environment from scratch, we reformulate the task as a masked completion and outpainting problem. By preserving the peripheral context of the input image and utilizing the portrait as a structural condition, our architecture leverages the generative priors of Diffusion Transformers (DiT) to extend sparse observations into high-fidelity, sharp $360^\circ$ HDR panoramas. To further eliminate color shifts and highlight inaccuracies, we introduce OLAT-GRPO, a post-training alignment mechanism based on Group Relative Policy Optimization. By subjecting the generated maps to image-based relighting on One-Light-At-a-Time (OLAT) datasets, we evaluate their physical validity through relighting consistency. This allows us to explicitly prune inconsistent denoising paths and align the model with multi-objective rewards, ensuring energy conservation and spectral accuracy. Extensive evaluations demonstrate that FaceProbe achieves a paradigm-shifting improvement. Most notably, in the critical portrait relighting task, our method reduces estimation errors by 54.4\% in Angular Error and 48.5\% in si-RMSE over state-of-the-art methods, delivering a robust and highly usable solution for photorealistic rendering and world model applications.
BibTeX
@inproceedings{zhao2026faceprobe,
  author = {Peng Zhao and William Jing and Juyan Ba and Kairui Feng and Xuanhong Chen},
  title = {{FaceProbe: Recovering HDR Environment Map via Masked Diffusion and Physical Preference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=4wUS85pd1H},
}
Figure