Abstract
Inverse rendering is the process of estimating scene properties from images, a task that requires efficient differentiable rendering to compute gradients of pixel values with respect to scene parameters. We introduce Differentiable Neural Radiosity, a novel approach that represents the differential radiance field as a neural network. By training this network to satisfy the differential rendering equation through residual minimization, we enable smooth, view-independent gradients for inverse rendering with constant memory and time complexity relative to path length. Our method achieves significant speedups and improved convergence compared to traditional Monte Carlo-based backpropagation techniques like Path Replay Backpropagation (PRB) and Radiative Backpropagation (RB).
Introduction
Inverse rendering aims to estimate scene properties—such as material textures, geometry, or lighting—from a set of images. To do this effectively using gradient-based optimization, we need differentiable rendering: a way to calculate how a small change in a scene parameter (like the roughness of a teapot) affects the final rendered pixels.
Existing techniques face a "trilemma" of challenges:
- Automatic Differentiation (AD): Extremely memory-intensive because it stores the entire computation graph of the renderer.
- Radiative Backpropagation (RB): Computationally expensive (quadratic complexity in path length) and produces very noisy gradients.
- Path Replay Backpropagation (PRB): Faster than RB but still suffers from high Monte Carlo noise, which can lead to unstable optimization.
Methodology
The core innovation is treating the differential radiance—the rate of change of light—as a continuous field that can be learned by a neural network. This approach provides "cleaner" (smoother) gradients with constant memory and time complexity relative to path length.
The Differential Rendering Equation
We build upon the differential rendering equation, which describes how "differential light" travels and scatters through a scene, much like regular light. Instead of sampling this equation per-ray, we represent the entire field using a Multi-Layer Perceptron (MLP) augmented with multi-resolution learnable feature grids. This allows the network to capture high-frequency details in the gradient field.
Self-Training via Residual Minimization
Instead of training on "ground truth" gradients, we use a self-training approach. We minimize the residual—the difference between the left-hand side and the right-hand side of the differential rendering equation. The pipeline involves:
- Primal Network: Trained to represent the standard radiance (light) of the scene.
- Differential Network: Trained using the Primal network's output to satisfy the differential rendering equation.
- Optimization: The trained Differential network provides instant, smooth gradients for optimizing scene parameters.
Experiments and Results
We evaluated our method using synthetic benchmarks, specifically the Veach Door scene. This scene is a classic graphics challenge because it is primarily lit by indirect, global illumination. We optimized BRDF parameters (roughness, diffuse albedo, and index of refraction) for three teapots within the scene.
Key Results
- Speedup: In the Veach Door experiment, the gradient computation time per iteration was 0.45s for the neural method, compared to 1.74s for PRB and 5.05s for RB. Querying the network is constant regardless of the number of light bounces.
- Accuracy: The method achieved significantly lower error in parameter estimation. The Neural Radiosity approach reached a Mean Absolute Percentage Error (MAPE) of 6.68e-4, while AD remained at 7.09e-2.
- Convergence: Optimization curves show that the neural method reaches the target state much faster and with fewer oscillations than Monte Carlo baselines, thanks to the lack of gradient noise.
Conclusion
Differentiable Neural Radiosity offers a robust alternative to traditional differentiable rendering by "caching" complex adjoint information in network weights. While it requires per-scene pre-training and currently faces scaling limits regarding the number of parameters, it provides a path toward efficient, noise-free optimization for complex global illumination effects.
Summary updated