Introduction
Relighting an image—changing the illumination of a scene while keeping the objects and their materials intact—is a classic "inverse graphics" challenge. Traditionally, researchers solve this by decomposing an image into explicit physical components: 3D geometry, surface normals, and material properties (intrinsics), then re-rendering the scene under a new light source.
However, this approach is brittle. Physical models are often too simplistic to capture the nuances of real-world textures like wood grain or complex inter-reflections in indoor scenes. Furthermore, errors in estimating geometry propagate through the entire pipeline, leading to unrealistic relighting.
This paper introduces a purely data-driven approach to image relighting that bypasses the need for explicit physical models of geometry or materials. By training an autoencoder to swap lighting between image pairs, the model naturally "discovers" intrinsic scene properties like albedo, achieving state-of-the-art relighting quality and competitive albedo estimation without ever seeing a single albedo label.
Methods: A Latent Variable Model
The authors propose a latent variable model structured as an autoencoder. The core idea is to separate an image into two latent representations: intrinsics (what the scene is) and extrinsics (how it is lit).
- The Encoder: Takes an image and produces a set of spatial feature maps (intrinsics) and a low-dimensional vector (extrinsics/lighting).
- The Swap: To relight a scene, the model takes the intrinsics from a "source" image and the extrinsics from a "reference" image.
- The Decoder: Combines these two to synthesize the relighted image.
The "secret sauce" is a technique called Constrained Scaling. To prevent the lighting code from "leaking" scene details (like object shapes), the authors apply a structural bottleneck. They use a very small scaling factor when injecting the lighting information into the decoder. This forces the lighting code to represent only global, spatially smooth illumination effects, leaving the heavy lifting of scene structure to the intrinsic features.
Key Insights and Results
The model is trained primarily on the MIT Multi-Illumination Dataset, containing over 1,000 indoor scenes captured under various lighting conditions.
- State-of-the-Art Relighting: The model outperforms previous unsupervised methods and even surpasses supervised methods that use ground-truth light indices. It captures complex effects with high fidelity. Because lighting is represented as a latent vector, the model can smoothly interpolate between two different lighting environments, effectively "moving" a light source through a room in a way that looks physically plausible.
- Emergence of Albedo: The most striking finding is that by simply learning to relight, the model's latent intrinsic representation naturally converges to look like albedo (the base color of a surface without shadows or highlights). This happens without any explicit supervision or "albedo" training data.
- Competitive Performance: Despite never being trained on albedo, the model achieves a Weighted Human Disagreement Ratio (WHDR) of 15.81 on the Intrinsic Images in the Wild (IIW) benchmark. This beats several state-of-the-art supervised methods that were explicitly trained on computer-generated albedo data. Furthermore, the emergent albedo is remarkably stable across different lighting conditions, whereas supervised models often suffer from "color drift" when the input lighting changes drastically.
Limitations and Future Work
While powerful, the method has a few hurdles. Training currently requires pairs of images of the exact same scene under different lights, which is difficult to collect at scale for "in-the-wild" environments. The model also struggles with saturated pixels (pure white highlights), a common limitation of Standard Dynamic Range (SDR) images.
Finally, while albedo emerges, other properties like depth and normals are not explicitly produced. The authors suggest future work could involve "probing" the latent space to see if these properties are also implicitly learned. The ultimate goal is to move toward a purely unsupervised framework that can learn these intrinsics from random collections of internet photos, rather than controlled image pairs.
Summary updated