Neural Microfacet Fields for Inverse Rendering

Alexander Mai, Dor Verbin, Falko Kuester, Sara Fridovich-Keil

Abstract

We present Neural Microfacet Fields, a method for recovering materials, geometry, and environment illumination from images of a scene. Our method uses a microfacet reflectance model within a volumetric setting by treating each sample along the ray as a (potentially non-opaque) surface. Using surface-based Monte Carlo rendering in a volumetric setting enables our method to perform inverse rendering efficiently by combining decades of research in surface-based light transport with recent advances in volume rendering for view synthesis. Our approach outperforms prior work in inverse rendering, capturing high fidelity geometry and high frequency illumination details; its novel view synthesis results are on par with state-of-the-art methods that do not recover illumination or materials.

Introduction

Inverse rendering represents a fundamental challenge in computer vision: the ability to decompose a set of 2D images into their constituent 3D components—geometry, material properties, and lighting. While Neural Radiance Fields (NeRF) have revolutionized view synthesis, they typically model scenes as "emitters" where light is baked into the geometry. This limitation prevents objects from being relit or moved into new environments.

Neural Microfacet Fields (NMF) bridges the gap between the optimization stability of volumetric representations and the physical accuracy of surface-based models. By treating every point in a volume as a tiny, orientable surface, NMF enables the recovery of high-fidelity materials and geometry from calibrated images.

Methodology

The core innovation of this work is the hybrid representation of the scene as a Neural Microfacet Field. This approach leverages the strengths of both volumetric and surface-based rendering.

Volumetric Geometry and Microfacets

NMF represents the scene using a voxel-based density field (based on TensoRF). This allows the geometry to exist as a "cloud" during the early stages of optimization, which is significantly more stable to train than hard meshes. However, unlike standard NeRFs, every sample point along a camera ray is treated as a microfacet—a tiny surface with a specific orientation (normal) and material property defined by a Bidirectional Reflectance Distribution Function (BRDF).

Physics-Based Rendering

To determine pixel color, the model employs Monte Carlo ray tracing to simulate light bouncing off these microfacets. This framework supports multi-bounce interreflections, allowing the model to capture complex light transport where light reflects from one part of an object onto another. To handle lighting efficiently, the environment illumination is stored as an equirectangular map, integrated using summed-area tables to accelerate training.

Numerical Normals

A critical technical detail is the derivation of surface normals. Rather than relying on a neural network to predict orientation or using analytic gradients, NMF computes normals directly from the spatial gradients of the density field using smoothed numerical derivatives (finite differences). This method proves more accurate for rendering and results in fewer geometric artifacts compared to previous analytic approaches.

Evaluation and Results

The authors evaluated NMF on two primary synthetic benchmarks: the standard Blender dataset and the Shiny Blender dataset, the latter of which is designed to test high-frequency reflections on glossy surfaces like helmets and toasters.

Key Findings

  • Superior Geometry Recovery: NMF achieved the lowest Mean Angular Error (MAE) for surface normals across nearly all test scenes, significantly outperforming existing inverse rendering methods such as NVDiffRec.
  • High-Fidelity Relighting: Because the model successfully disentangles lighting from material properties, it excels at relighting tasks. In tests where recovered objects were placed under new lighting conditions, NMF outperformed competitors in PSNR and SSIM by a wide margin.
  • Competitive View Synthesis: Despite the added complexity of material decomposition, NMF’s novel view synthesis performance remains on par with specialized methods like Ref-NeRF.
  • Efficiency: The model optimizes a scene in approximately three hours on a single NVIDIA GTX 3090, balancing computational cost with high-quality output.

Discussion and Limitations

NMF demonstrates that forcing a model to separate light, material, and shape acts as a powerful regularizer, leading to better geometry than methods that do not perform decomposition. However, several limitations remain:

  1. Far-Field Illumination: The model assumes all light sources are infinitely far away, struggling with "near-field" lights located within the scene.
  2. Refraction: The current framework does not account for light passing through transparent or translucent objects (e.g., glass or water).
  3. Anisotropy: The BRDF model is isotropic, meaning it cannot yet represent materials like brushed metal that reflect light differently based on rotation.
  4. Monte Carlo Noise: As with many stochastic rendering methods, the output can exhibit speckle noise, suggesting a potential role for neural denoisers in future work.

In conclusion, Neural Microfacet Fields provide a robust framework for physically-based inverse rendering, successfully combining the flexibility of volumes with the physical rigor of surface light transport.

Summary updated

BibTeX
@misc{mai2023neural,
  author = {Alexander Mai and Dor Verbin and Falko Kuester and Sara Fridovich-Keil},
  title = {{Neural Microfacet Fields for Inverse Rendering}},
  year = {2023},
  eprint = {2303.17806},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.17806},
}
Figure