HoliLight: Holistic Lighting Understanding, Estimation, and Editing

Zitian Zhang, Sam Sartor, Valentin Deschaintre, Michael Fischer, Zhixin Shu, Yannick Hold-Geoffroy, Jean-François Lalonde, Iliyan GeorgievarXiv 2026

TL;DR

HoliLight unifies three traditionally separate computer vision tasks—identifying light sources, estimating 360° HDR environment maps, and relighting images—into a single framework. By treating regular photos as center-crops of 360° panoramas and representing lights as editable anisotropic spherical Gaussians (ASGs), it outperforms specialized state-of-the-art models and unlocks new tricks, like editing off-screen light sources behind the camera.

What Problem Does This Paper Address?

If you want to understand and manipulate lighting in a photo, you usually have to pick one of three separate tools:

  1. Light understanding models, which locate individual light sources (like the sun or a ceiling lamp) and describe their properties.
  2. Environment-map estimation models, which hallucinate a full 360° high-dynamic-range (HDR) panorama of the scene surrounding the camera.
  3. Image relighting models, which simulate what a photo would look like if you turned off a lamp or changed the time of day.

Historically, these three tasks have lived in silos, each with its own representations, datasets, and architectures. HoliLight bridges this divide by arguing that they actually need each other: understanding where lights are helps you generate a better 360° environment map, and having a compact, human-editable representation of those lights makes relighting far more precise—even for lights that aren't visible in the photo.

Methods

HoliLight pairs two transformer models that communicate through a shared, interpretable language: anisotropic spherical Gaussians (ASGs). Unlike simple isotropic (circular) Gaussians, ASGs can stretch and rotate to match real-world light shapes like windows, strip lights, or a golden-hour sky.

  • Shared Spherical Space: To let the models seamlessly handle both standard perspective photos and 360° equirectangular panoramas, the authors use SpheRoPE (spherical rotary positional embeddings). Instead of encoding 2D pixel coordinates, SpheRoPE encodes the 3D direction of each image patch from the camera. They also add circular padding to the VAE decoder so 360° panoramas wrap around without ugly seams.
  • Light Understanding Model: Built on DINOv2-Large, this model takes an image of any field of view and concatenates it with 16 learnable "light queries." Using Hungarian matching (borrowed from DETR) and a learned "existence probability" to ignore empty slots, it outputs up to 16 ASGs describing each light's direction, shape, orientation, and HDR color.
  • Light Generation Model: Built on FLUX.2 Klein 4B, this flow-matching diffusion model takes the input image and a rasterized ASG map as conditioning. Because diffusion models prefer bounded values, HDR images are encoded using a smoothed PU21 transform. Crucially, alongside the standard diffusion loss, the authors add an end-to-end rendering loss: every 8 training steps, the model runs 4-step inference and renders the predicted lighting onto 9 diffuse spheres, comparing the result against ground truth to ensure accurate color and intensity.
Generated 360° environment map with the input photo's field of view outlined

Datasets

  • Training: A mix of synthetic and real data. For synthetic data, the authors use LuxRemix, which provides up to 7 one-light-at-a-time (OLAT) 360° renders per interior scene that can be randomly mixed in linear space. For real data, they collect 5,938 HDR 360° panoramas (from Poly Haven, Laval Indoor/Outdoor, and a stock-photo library) and generate pseudo-ground-truth ASGs by segmenting lights with SAM3 and optimizing the Gaussian parameters via stochastic gradient descent.
  • Evaluation: Standard lighting benchmarks (Laval Indoor HDR test split with 289 scenes, and Poly Haven with 130 indoor and 493 outdoor scenes). Because no existing dataset tests relighting with both in-frame and out-of-frame light sources, the authors also built a new synthetic relighting benchmark of 40 Blender scenes (generated with GPT-6 Astra) with full OLAT crops and HDR environment maps.

Key Insights and Ideas

  • Photos are just crops of a sphere: By aligning perspective images and 360° panoramas in a shared spherical coordinate system, the same model can ingest a narrow photo, infer a light source behind the camera, and either relight the original photo or generate the full 360° environment map.
  • Diffusion loss alone isn't enough for HDR: Standard flow-matching loss focuses on fine visual details at the expense of overall color and intensity. Adding the 9-sphere rendering loss directly supervises the physical lighting accuracy.
  • Hungarian matching beats fixed ordering: Forcing light queries to predict lights in a fixed order (e.g., brightest to dimmest) creates an ambiguous ranking problem that drops recall and increases direction error by 10°.

Key Results

  • Light Understanding: HoliLight retrieves more than twice as many lights as parametric baselines, achieving a Recall@30 of 0.462 (vs. 0.187 for UniLight and 0.172 for EverLight), a much lower direction error (25.5° vs. ~48–50°), and a Shape IoU of 0.613.
  • HDR Environment-Map Estimation: Across Laval Indoor and Poly Haven, HoliLight outperforms specialized methods (StyleLight, EverLight, LuxDiT, DiffusionLight-Turbo, UniLight, and LiMo) on most metrics, notably cutting perceptual DreamSim error from 0.326 to 0.208 on Laval Indoor and from 0.286 to 0.201 on Poly Haven Outdoor.
  • Image Relighting: On the new relighting benchmark, HoliLight beats ScribbleLight, FLUX.2 Klein 9B, Qwen-Image-Edit-2511, and SyncLight on both in-frame targets (PSNR 21.93 vs. 16.20) and challenging out-of-frame targets (PSNR 17.99 vs. 14.53).
Relit living room scene

Limitations and Future Work

  • Not spatially varying: The ASG representation describes light arriving at the camera's viewpoint, not the 3D positions of light sources in the room.
  • Pseudo-ground-truth gaps: Relying on SAM3 segmentations for real-world training data means small or unusual light fixtures can occasionally be missed.
  • No fixture editing: HoliLight can change the effect of lighting, but it cannot physically move or create new lamps. Lifting the representation into 3D is a natural next step.

Summary updated

BibTeX
@misc{zhang2026holilight,
  author = {Zitian Zhang and Sam Sartor and Valentin Deschaintre and Michael Fischer and Zhixin Shu and Yannick Hold-Geoffroy and Jean-François Lalonde and Iliyan Georgiev},
  title = {{HoliLight: Holistic Lighting Understanding, Estimation, and Editing}},
  year = {2026},
  eprint = {2612.02776},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.02776},
}
Figure