Universal Differentiable Renderer for Implicit Neural Representations

Lior Yariv, Matan Atzmon, Yaron Lipman

Abstract

In this work, we address the challenging problem of multiview 3D surface reconstruction. We introduce a neural network architecture that simultaneously learns unknown geometry, camera parameters, and a neural renderer that approximates the light reflected from the surface towards the camera. The geometry is represented as a zero level-set of a neural network, while the neural renderer, derived from the rendering equation, is capable of (implicitly) modeling a wide set of lighting conditions and materials. We trained our network on real-world 2D images of objects with different material properties, lighting conditions, and noisy camera initializations from the DTU MVS dataset. We found our model to produce state-of-the-art 3D surface reconstructions with high fidelity, resolution, and detail.

Introduction

Learning 3D shapes from 2D images is a fundamental challenge in computer vision. Recent advancements have utilized implicit neural representations, such as Signed Distance Functions (SDFs), combined with differentiable rendering. However, existing differentiable renderers often struggle to separate an object's geometry from its appearance (lighting and reflectance). This lack of disentanglement frequently leads to "baked-in" lighting effects, where the model introduces artificial geometric artifacts to explain complex specular highlights or shadows. Furthermore, many methods rely on perfectly known camera poses, which are rarely available in practical applications.

This paper introduces the Implicit Differentiable Renderer (IDR), an end-to-end architecture designed to jointly learn geometry, appearance, and camera parameters from masked 2D images.

Methodology

The IDR framework consists of two primary components:

  1. Geometry Network: An MLP representing the 3D surface as the zero level-set of an SDF.
  2. Neural Renderer: An MLP that predicts pixel color by approximating the rendering equation.

To link these networks, the authors employ a sphere-tracing algorithm to find ray-surface intersections. A key contribution is the derivation of an exact, differentiable formula for the intersection point and the surface normal. This allows the entire system, including camera poses, to be optimized via gradient descent.

To ensure true disentanglement of appearance from geometry, the Neural Renderer receives four inputs: the 3D surface point, the surface normal, the viewing direction, and a global geometry feature vector. The authors demonstrate that including the normal and viewing direction is mathematically necessary for the renderer to universally represent surface light fields without forcing the geometry network to compensate for lighting effects.

Experimental Results

The model was primarily evaluated on the DTU MVS Dataset, featuring objects with diverse materials and complex shapes.

High-Fidelity Reconstruction

IDR achieves state-of-the-art results in 3D reconstruction. On the DTU dataset with fixed cameras, it reached a mean Chamfer distance of 0.90mm, significantly outperforming traditional and neural baselines.

High-fidelity 3D reconstruction of a skull using IDR.

Robustness and Disentanglement

A major strength of IDR is its ability to handle noisy camera initializations. When starting with imperfect poses, IDR refined them to achieve a mean Chamfer distance of 1.16mm, surpassing standard Structure-from-Motion (SfM) tools like Colmap.

The learned 3D surface geometry, extracted as a mesh from the implicit neural representation.

The architecture successfully separates material properties from shape. This was demonstrated by transferring a learned appearance (e.g., a gold material) onto a different reconstructed geometry, proving that the renderer captures the light field independently of the specific object's structure.

Conclusion

IDR represents a significant step forward in multiview 3D reconstruction by effectively disentangling geometry and appearance while refining camera parameters. While the method currently requires a reasonable initial camera guess and can struggle with extremely thin structures, it sets a new standard for high-resolution surface reconstruction from 2D images. Future work includes integrating automatic camera initialization and further decomposing appearance into explicit material and lighting components.

Summary updated

BibTeX
@inproceedings{yariv2020universal,
  author = {Lior Yariv and Matan Atzmon and Yaron Lipman},
  title = {{Universal Differentiable Renderer for Implicit Neural Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=TO1zboA8XM_},
}
Figure