SynthLight: Portrait Relighting with Diffusion Model by Learning to Re-render Synthetic Faces

Sumit Chaturvedi, Mengwei Ren, Yannick Hold-Geoffroy, Jingyuan Liu, Julie Dorsey, Zhixin Shu

Introduction

Portrait relighting—the ability to change the illumination of a face after a photograph has been captured—remains a fundamental challenge in image editing and computer vision. Achieving realistic results requires modeling complex light-matter interactions, such as subsurface scattering in skin, specular highlights in the eyes, and sharp cast shadows. Traditionally, this problem has been approached through inverse graphics, which attempts to decompose an image into geometry, albedo, and lighting, or through training on specialized "light stage" datasets. However, physical decomposition often fails to capture the nuances of human skin, and light stage data is notoriously difficult to collect and lacks diversity.

SynthLight introduces a novel approach by framing portrait relighting as a "re-rendering" problem. By leveraging a Latent Diffusion Model (LDM) trained on a massive synthetic dataset and real-world images, SynthLight achieves state-of-the-art performance on real-world photos without the need for expensive, controlled lighting data.

Methodology

The Re-rendering Pipeline

Instead of estimating intermediate physical parameters like depth or surface normals, SynthLight treats relighting as a lighting-conditioned image-to-image translation task. The model is built upon a modified Stable Diffusion backbone. The first layer of the U-Net is expanded to accept the original input portrait and the target environment map as additional conditioning channels. This allows the model to learn a direct mapping from the source lighting to the target lighting in the latent space.

SynthLight relighting a real-world portrait using target environment maps to guide the diffusion process.

Bridging the Domain Gap

A significant challenge in using synthetic data for real-world applications is the domain gap. To ensure the model generalizes to "in-the-wild" smartphone photos, the authors employed two key strategies:

  1. Multi-task Training: The model is trained simultaneously on two tasks: the primary relighting task using synthetic data and a "Text-to-Portrait" task using real-world images from the LAION-5B dataset. This multi-task approach forces the model to maintain a strong generative prior of real human faces, preventing it from producing the "uncanny valley" artifacts common in purely synthetic training.
  2. Dual-Conditioning Inference: At test time, a dual-conditioning Classifier-Free Guidance (CFG) scheme is used. This allows users to balance the influence of the target lighting against the preservation of fine textural details—such as pores, hair, and clothing—from the original input image.

Datasets

The effectiveness of SynthLight stems from its diverse training data:

  • Synthetic Dataset: A new dataset comprising 1.26 million images was created using 350 high-quality 3D head assets with Physically Based Rendering (PBR) materials. These were rendered in Blender with varying expressions and clothing under diverse HDR environment maps.
  • LAION-5B: Real-world portraits were used to anchor the model's understanding of human facial distributions.
  • Evaluation Sets: The model was rigorously tested on held-out synthetic data, a real-world Light Stage dataset for quantitative benchmarking, and various unconstrained portraits.

Key Results and Discussion

SynthLight demonstrates significant improvements over existing baselines in both quantitative and qualitative measures. On the Light Stage test set, the model achieved a PSNR of 19.70, performing on par with commercial state-of-the-art methods like SwitchLight, despite not being trained on real light stage data.

Qualitatively, the model excels at rendering complex lighting effects that previous diffusion-based methods struggled with. It produces sharp, accurate cast shadows from accessories like glasses and captures the subtle way light interacts with facial geometry. Furthermore, the model shows remarkable generalization capabilities. Although trained primarily on headshots, it successfully relights half-body portraits and even non-human subjects, such as 3D characters and figurines.

Qualitative results showing SynthLight's ability to generalize across human portraits, elderly subjects, and non-human 3D characters.

In user studies, SynthLight was preferred over competitors like IC-Light and Neural Gaffer in 92% of cases regarding lighting accuracy and identity preservation.

Conclusion

SynthLight represents a shift in portrait relighting by bypassing traditional physical decomposition in favor of a generative re-rendering approach. By combining large-scale synthetic data with a multi-task training strategy, it bridges the gap between controlled environments and real-world photography. While challenges remain—such as handling extremely harsh input shadows or intense over-saturation in direct sunlight—SynthLight sets a new benchmark for high-fidelity, accessible portrait relighting.

Summary updated

BibTeX
@inproceedings{chaturvedi2025synthlight,
  author = {Sumit Chaturvedi and Mengwei Ren and Yannick Hold-Geoffroy and Jingyuan Liu and Julie Dorsey and Zhixin Shu},
  title = {{SynthLight: Portrait Relighting with Diffusion Model by Learning to Re-render Synthetic Faces}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00043},
}
Figure