Abstract
Neural bidirectional reflectance distribution functions (BRDFs) have emerged as popular material representations for enhancing realism in physically-based rendering. Yet their importance sampling remains a significant challenge. In this paper, we introduce a reparameterization-based formulation of neural BRDF importance sampling that seamlessly integrates into the standard rendering pipeline with precise generation of BRDF samples. The reparameterization-based formulation transfers the distribution learning task to a problem of identifying BRDF integral substitutions. In contrast to previous methods that rely on invertible networks and multi-step inference to reconstruct BRDF distributions, our model removes these constraints, which offers greater flexibility and efficiency. Our variance and performance analysis demonstrates that our reparameterization method achieves the best variance reduction in neural BRDF renderings while maintaining high inference speeds compared to existing baselines.
Introduction: The Challenge of Neural BRDF Sampling
In physically-based rendering, the Bidirectional Reflectance Distribution Function (BRDF) is the mathematical core that defines how light interacts with a surface. To render realistic images efficiently, practitioners use Importance Sampling, a technique that concentrates computational effort (light-carrying rays) in the directions where the BRDF is strongest.
While Neural BRDFs excel at representing complex, real-world materials, they are essentially "black boxes," making them notoriously difficult to sample. Current state-of-the-art methods face a significant trade-off: Normalizing Flows require strictly invertible architectures that limit their expressivity, while Diffusion Models require multiple slow, iterative steps to generate samples. This paper introduces a reparameterization-based approach that bypasses these architectural constraints and high computational costs, achieving significantly lower variance and up to 7x faster rendering speeds.
Methodology
The core of this work is a reparameterization-based formulation. Instead of forcing a neural network to be invertible to calculate a probability density function (PDF), the problem is reinterpreted as identifying a coordinate substitution that transforms the complex BRDF integral into an easy-to-sample form.
Flexible MLP Sampling
The method utilizes a standard 2-hidden-layer MLP to map a simple Gaussian prior distribution to the target BRDF distribution. By removing the requirement for invertibility, the model can leverage more flexible activation functions (such as SiLU) and simpler architectures, leading to better representation of sharp specular peaks.
Reparameterization Loss and Auxiliary PDF
The network is optimized using a specialized reparameterization loss ($L'_{rep}$) that matches the reparameterized integral to the prior distribution. To ensure the mapping remains one-to-one and prevent singularities, the authors introduce a "defensive sampling" term. Furthermore, to integrate with Multiple Importance Sampling (MIS)—a standard rendering technique—the authors train a secondary, lightweight "distillation" network to approximate the PDF. Crucially, using an approximate PDF in MIS weights does not introduce bias into the final render; it only slightly affects variance, allowing the main sampling loop to remain extremely fast.
Key Insights: Beyond Invertibility
A central argument of the paper is that the requirement for "analytical invertibility" in Normalizing Flows acts as a bottleneck. By dropping this requirement, smaller and faster networks can actually represent sharp specular details better than more complex, invertible counterparts.
Another key insight is the "Good Enough" PDF. For the purposes of MIS, the PDF doesn't need to be mathematically perfect to maintain an unbiased estimator. This allows the heavy lifting of sampling to be performed by a fast MLP, while the PDF calculation is offloaded to a tiny auxiliary network.
Results and Performance
The proposed method was evaluated on the RGL Dataset (measured real-world materials) and NeuSample Materials (spatially varying textures). The results demonstrate a superior variance-speed trade-off across all test cases.
Performance Metrics
- Speed: BRDF sampling is approximately 4x faster than diffusion models and 2x faster than normalizing flows.
- Efficiency: On specular materials, the method is 2.32x to 7.14x more efficient than standard analytic mixtures, measured by the time required to reach a specific noise threshold.
- Quality: Qualitative results confirm that the model captures sharp distribution details, such as the "glints" on metallic surfaces, which flow-based models often blur.
- Unbiasedness: Empirical log-log error plots confirm that the estimator is unbiased, with error converging to zero as the sample count increases.
Limitations and Future Work
Despite its strengths, the model can occasionally suffer from "mode-seeking" behavior, where it might fail to capture distant, disconnected peaks in a BRDF distribution. The authors mitigate this with identity-map initialization, but it remains a challenge for extreme cases. Additionally, while highly effective for 2D BRDFs, scaling the Jacobian-based loss to higher-dimensional problems like volume scattering may require further optimization. Future work will explore applying this reparameterization framework to other low-dimensional scientific applications requiring efficient importance sampling.
Summary updated