跳到正文
arXiv (Optics + Display + Materials)· Linas Beresna, Eugene Fiume·· 1 天前AI 评分18

恒定内存的可微光路追踪:Reservoir Light Replay Backpropagation 与 LRB-3-pass 两种方案

Constant-Memory Differentiable Light Tracing

AI 导读

针对光路追踪中一条光路贡献多个像素、无法像 PRB 那样在恒定内存下重放的问题,提出两种恒定内存的可微渲染方案。Reservoir Light Replay Backpropagation 用加权蓄水池采样把光路的传感器连接压缩为一个代表,保持两遍计算但引入一次采样决策;LRB-3-pass 增加一遍遍历先累积下游伴随量,保留全部连接并在期望上与朴素自动微分一致。

正文 · 原文

arXiv:2609.32920v2 Announce Type: replace Abstract: 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.

来源:arXiv (Optics + Display + Materials) · arxiv.org