计算机科学 > 图形学
[提交于 2026年9月26日 (v1),最后修订于 2026年11月23日 (此版本, v2)]
标题:Constant-Memory Differentiable Light Tracing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Reverse-mode differentiation of Monte Carlo light transport naively stores a computation graph that grows with path length, ruling it out for deep or high-sample simulation. Path Replay Backpropagation (PRB) removes that cost for viewpoint path tracing by reconstructing paths from their seeds and replaying them backward in constant memory. The construction rests on a one-path-one-pixel property that light tracing lacks: one light path contributes to many pixels, and its per-vertex adjoints cannot be recovered during replay from constant-size state. We show this prevents a direct extension of PRB, and that buffering the per-vertex data stays linear in path length. We then evaluate two constant-memory formulations. Reservoir Light Replay Backpropagation compresses a path's sensor connections into one representative by weighted reservoir sampling, keeping two passes at the cost of a sampling decision. LRB-3-pass adds a traversal that accumulates downstream adjoints first, keeping every connection and matching naive automatic differentiation in expectation. Both support differentiating with fixed or parameter-dependent path sampling (detached and attached), and both extend to participating media. We validate against naive AD and finite differences, characterize the memory and runtime trade-offs, and recover specular and volumetric caustics by light tracing alone.
提交历史
来自:Linas Beresna[v1] 2026年9月26日 星期六 20:13:35 UTC (36,194 KB)
[v2] 2026年11月23日 星期一 14:18:39 UTC (18,954 KB)