Stochastic Graph Compression for Constant-Memory Differentiable Light Tracing
Linas Beresna, Eugene Fiume
Abstract
We describe Reservoir Light Replay Backpropagation (ResLRB), a method for reverse-mode differentiable light tracing whose memory is constant in path length and in the number of sensor connections per light path. Naive automatic differentiation of a light tracer records a computation graph that grows with the number of valid sensor connections along each path, since flux can be splatted from every scattering vertex; adjoint path replay removes the analogous dependence on depth for viewpoint path tracing, but its non-branching structure does not extend to the splatting case. We compress the adjoint graph during the primal pass by stochastically retaining a single representative sensor connection per light path via a streaming weighted reservoir. The adjoint pass reconstructs the path deterministically by replaying its pseudorandom number sequence and backpropagates only through the retained connection, yielding an unbiased gradient estimator whose peak memory is that of differentiating a single scattering event.
Create a lesson
Related papers
3DRAG: 3D-Native Object Drag Editing with Generative Models
Kuixiang Shao, Yuyang Jiao, Chenghao Zhang et al.
FeatureZ: A General Framework for Feature-Preserving Compression via Pointwise Bounds and Star Classification
Nathaniel Gorski, Xin Liang, Hanqi Guo et al.
SubDGuide: A Modeler-Inspired Agentic Workflow for Mesh-to-SubD Reconstruction
Mengnan Jiang, Christian Franke, Michele Franco Adesso et al.
Neural Caching of Prefiltered Radiance for Specular Lighting
Dmitrii Klepikov, Vladimir Frolov
Tabula Rasa: Monte Carlo estimation of unit-variance noise with controlled spatio-temporal correlation
Tobias Ritschel, Yang Zhou, Nick Milef et al.
Sensitivity as an Arbitrary Output Variable for Differentiable Rendering
Linas Beresna, Eugene Fiume