Path replay backpropagation: differentiating light paths using constant memory and linear time
Delio Vicini, Sébastien Speierer, Wenzel Jakob
Abstract
Differentiable physically-based rendering has become an indispensable tool for solving inverse problems involving light. Most applications in this area jointly optimize a large set of scene parameters to minimize an objective function, in which case reverse-mode differentiation is the method of choice for obtaining parameter gradients. However, existing techniques that perform the necessary differentiation step suffer from either statistical bias or a prohibitive cost in terms of memory and computation time. For example, standard techniques for automatic differentiation based on program transformation or Wengert tapes lead to impracticably large memory usage when applied to physically-based rendering algorithms. A recently proposed adjoint method by Nimier-David et al. [2020] reduces this to a constant memory footprint, but the computation time for unbiased gradient estimates then becomes quadratic in the number of scattering events along a light path. This is problematic when the scene contains highly scattering materials like participating media. In this paper, we propose a new unbiased backpropagation algorithm for rendering that only requires constant memory, and whose computation time is linear in the number of scattering events (i.e., just like path tracing). Our approach builds on the invertibility of the local Jacobian at scattering interactions to recover the various quantities needed for reverse-mode differentiation. Our method also extends to specular materials such as smooth dielectrics and conductors that cannot be handled by prior work.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 851b5474-2266-424b-b077-03ae11df6612Cited by top-tier papers35
- Shape, Light, and Material Decomposition from Images using Monte Carlo Rendering and DenoisingJon Hasselgren, Nikolai Hofmann, Jacob MunkbergNeurIPS 2022 · 234 citations
- DR.JIT: a just-in-time compiler for differentiable renderingWenzel Jakob, Sébastien Speierer, Nicolas Roussel, Delio ViciniSIGGRAPH 2022 · 160 citations
- Monte Carlo estimators for differential light transportTizian Zeltner, Sébastien Speierer, Iliyan Georgiev, Wenzel JakobSIGGRAPH 2021 · 70 citations
- NeMF: Inverse Volume Rendering with Neural Microflake FieldYoujia Zhang, Teng Xu, Junqing Yu, Yuteng Ye et al.ICCV 2023 · 38 citations
- Unbiased inverse volume rendering with differential trackersMerlin Nimier-David, Thomas Müller, Alexander Keller, Wenzel JakobSIGGRAPH 2022 · 37 citations
Related papers
- Radiative backpropagation: an adjoint method for lightning-fast differentiable renderingMerlin Nimier-David, Sébastien Speierer, Benoît Ruiz, Wenzel JakobSIGGRAPH 2020 · 107 citations
- Adjoint nonlinear ray tracingArjun Teh, Matthew O'Toole, Ioannis GkioulekasSIGGRAPH 2022 · 19 citations
- Differentiable Geometric Acoustic Path Tracing using Time-Resolved Path Replay BackpropagationUgo Paavo Finnendahl, Markus Worchel, Tobias Jüterbock, Daniel Wujecki et al.SIGGRAPH 2025 · 3 citations
- Path-space differentiable rendering of participating mediaCheng Zhang, Zihan Yu, Shuang ZhaoSIGGRAPH 2021 · 50 citations
- Path-space differentiable renderingCheng Zhang, Bailey Miller, Kai Yan, Ioannis Gkioulekas et al.SIGGRAPH 2020 · 155 citations
