Abstract
Inverse rendering aims to decompose a single RGB image into its underlying physical components: 3D shape, spatially-varying lighting, and material reflectance (SVBRDF). This paper presents a deep learning framework designed for complex indoor scenes, which typically feature intricate geometry and non-Lambertian materials. By employing a cascaded neural network architecture, a differentiable rendering layer, and a novel Spatially-Varying Spherical Gaussian (SVSG) lighting representation, the model achieves state-of-the-art results. The framework is trained on a massive, photorealistic synthetic dataset and demonstrates strong generalization to real-world photography, enabling applications like physically consistent virtual object insertion.
Introduction
Inverse rendering is a classic ill-posed problem in computer vision. A single pixel's color is the product of surface shape, material properties, and lighting. Traditional methods often simplify this by assuming distant lighting or matte (Lambertian) surfaces. However, real indoor environments contain local light sources and shiny materials that produce complex highlights and shadows. This work tackles the holistic recovery of all these components from a single photo.
Methodology
The proposed architecture incorporates several key innovations to handle the complexity of indoor scenes:
- Cascaded Network: The model iteratively refines its predictions across multiple stages, focusing on the residual difference between the input and the current rendered estimate.
- Spatially-Varying Spherical Gaussians (SVSG): Unlike Spherical Harmonics, SVSGs capture high-frequency lighting details, allowing for sharp specular highlights and realistic shadows.
- Differentiable Rendering Layer: This layer allows the network to "render" its predictions during training. By penalizing discrepancies between the rendered output and the original image, the model ensures physical consistency.
- Bilateral Solver: A post-processing step that smooths predictions while preserving sharp edges from the original image.
Datasets and Training
To overcome the lack of real-world ground truth for lighting and materials, the authors created a large-scale synthetic dataset. They augmented the SUNCG dataset with 1,332 high-quality SVBRDF materials and utilized a custom GPU renderer (NVIDIA OptiX) to produce ~78,000 photorealistic training images. This dataset captures complex global illumination effects essential for training, helping to bridge the "domain gap" between CGI and real photos.
Results and Applications
The model demonstrates state-of-the-art performance on benchmarks like Intrinsic Images in the Wild (IIW) and NYU. Notably, it excels at capturing spatially-varying lighting, whereas previous methods often assumed a single global light source.
The most compelling application is virtual object insertion. By recovering the scene's physical properties, the model allows for "physically correct" placement of glossy objects that reflect the surrounding environment and cast shadows consistent with the original lighting.
Conclusion
While the model faces challenges with scale ambiguity (e.g., distinguishing between a dark material and low light) and extreme outdoor conditions, it represents a major step forward. By bridging the gap between synthetic training and real-world application through physically-motivated architectures, this work enables advanced AR and photo editing capabilities.
Summary updated