InverseRenderNet: Learning Single Image Inverse Rendering

Ye Yu, William A. P. Smith

Abstract

We show how to train a fully convolutional neural network to perform inverse rendering from a single, uncontrolled image. The network takes an RGB image as input, regresses albedo and normal maps from which we compute lighting coefficients. Our network is trained using large uncontrolled image collections without ground truth. By incorporating a differentiable renderer, our network can learn from self-supervision. Since the problem is ill-posed we introduce additional supervision:

  1. We learn a statistical natural illumination prior, 2. Our key insight is to perform offline multiview stereo (MVS) on images containing rich illumination variation. From the MVS pose and depth maps, we can cross project between overlapping views such that Siamese training can be used to ensure consistent estimation of photometric invariants. MVS depth also provides direct coarse supervision for normal map estimation. We believe this is the first attempt to use MVS supervision for learning inverse rendering.

Introduction

Inverse rendering is a fundamental challenge in computer vision that involves decomposing a single 2D image into its constituent physical components: 3D geometry (normals), surface reflectance (albedo), and scene illumination. This task is inherently ill-posed because an infinite variety of light and material combinations can produce the same observed pixel values. While previous methods have succeeded in controlled environments or on synthetic data, "in-the-wild" outdoor scenes remain difficult due to the lack of real-world ground truth for albedo and lighting.

InverseRenderNet addresses this by leveraging large-scale, uncontrolled image collections. By using Multiview Stereo (MVS) as a source of supervision, the framework bypasses the need for manual labels, allowing the model to learn from the vast amount of imagery available on the internet.

Methodology

The InverseRenderNet architecture is a fully convolutional encoder-decoder based on an "hourglass" design. It processes an RGB input to predict albedo and normal maps, from which spherical harmonic lighting coefficients are analytically derived. The training process relies on four key strategies to resolve the ambiguities of inverse rendering:

  1. Differentiable Rendering: The network includes a rendering layer that reconstructs the input image from the predicted components. The difference between the original and reconstructed image provides a self-supervision signal.
  2. MVS Supervision: The authors utilize MVS pipelines on datasets like MegaDepth to generate coarse depth maps. These maps serve as geometric anchors, supervising the network's normal estimation.
  3. Siamese Training for Photometric Invariants: By using MVS camera poses, the system can "cross-project" pixels between different views of the same scene captured under varying lighting conditions. Because albedo is an intrinsic property that remains constant regardless of illumination, the network is trained to enforce consistency across these views.
  4. Statistical Illumination Prior: To ensure physically plausible results, the model incorporates a statistical prior of natural outdoor lighting learned from a dataset of HDR panoramas.
The training pipeline integrates MVS-derived depth and camera poses to enforce consistency across multiple views of the same scene.

Key Results and Discussion

InverseRenderNet demonstrates significant improvements over existing "in-the-wild" inverse rendering methods. In normal estimation, the model achieved a mean angular error of 37.7°, substantially outperforming the previous state-of-the-art method, SIRFS, which recorded 50.6°. On the Intrinsic Images in the Wild (IIW) benchmark, the model achieved a Weighted Human Disagreement Rate (WHDR) of 21.4%, representing the second-best performance among methods not specifically trained on that dataset.

Qualitatively, the model produces highly stable decompositions. This stability allows for realistic relighting applications, such as transforming a midday scene into one with sunset illumination, by manipulating the predicted lighting coefficients while keeping the recovered albedo and geometry intact.

Qualitative results showing the decomposition of various outdoor scenes into albedo, illumination, and normal maps.

Limitations and Future Work

Currently, the model operates under a Lambertian (matte) assumption, which limits its effectiveness on specular materials like glass or polished metal. Additionally, the use of spherical harmonics for lighting does not account for local effects such as cast shadows or inter-reflections. Future research will focus on integrating more complex reflectance models and advanced depth prediction networks to handle a wider variety of real-world materials and lighting conditions.

Summary updated

BibTeX
@inproceedings{yu2019inverserendernet,
  author = {Ye Yu and William A. P. Smith},
  title = {{InverseRenderNet: Learning Single Image Inverse Rendering}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=AkcFRYAolm},
}
Figure