TL;DR
This paper introduces the first practical framework for differentiable polarized path tracing, enabling inverse rendering algorithms to leverage polarization cues for complex scenes. By combining path replay with local suffix caching, the authors bypass the mathematical instabilities caused by non-invertible polarization operators, delivering unbiased gradients with a fraction of the memory required by conventional automatic differentiation.
What Problem Does This Paper Address?
Physically based differentiable rendering (PBDR) is a cornerstone of modern inverse rendering, allowing researchers to optimize 3D geometry, materials, and lighting directly from images. However, most existing PBDR frameworks only look at light intensity, completely discarding polarization—the orientation of light waves. Polarization provides crucial geometric and material constraints, such as distinguishing between a change in surface normal versus a change in material albedo.
Simulating polarized light transport relies on Mueller-Stokes calculus, where scalar radiance is replaced by 4D Stokes vectors, and surface interactions are modeled by 4x4 Mueller matrices. To differentiate long light paths efficiently without exhausting system memory, standard PBDR relies on algorithms like Path Replay Backpropagation (PRB), which mathematically "backtracks" light paths by inverting surface interactions.
The core issue is that common polarimetric operations—like diffuse reflections or linear polarizers—are lossy and mathematically rank-deficient (singular). You cannot invert them. Attempting to apply standard PRB directly to polarized light transport leads to severe numerical instability or biased gradients, while falling back to conventional Automatic Differentiation (AD) quickly causes Out-Of-Memory (OOM) errors on complex scenes.
Methods
The authors propose a robust, polarization-aware differentiable path tracing method that avoids matrix inversion entirely through two main strategies:
- Cached Suffix Replay: Instead of trying to invert a rank-deficient Mueller matrix ($M^{-1}$) during the backward pass to determine incident light, the algorithm records a compact summary of the light path during the forward (primal) pass. Specifically, it caches the suffix radiance at each vertex via a backward fold. During the adjoint (backward) pass, the algorithm simply looks up this cached radiance to compute exact, unbiased gradients.
- Hybrid Cached Replay: For very deep light paths where caching at every vertex becomes memory-intensive, the authors introduce a hybrid approach. It places checkpoints at fixed intervals and uses a high-level decision rule based on a "depolarization index" (DI). If the accumulated transport is highly depolarizing, it falls back to a standard scalar PRB update; if it is well-conditioned, it performs a local matrix inversion; otherwise, it recursively recomputes the path segment.
The method is implemented on top of the Mitsuba 3 renderer.
Datasets
The method was evaluated using several complex synthetic scenes designed to test specific inverse rendering challenges:
- Living Room / Cornell Box / Clock / Aluminium Vase: Used for baseline gradient validation against conventional AD.
- Kitchen Scene: Used to optimize the rotation angle of a linear polarizer to eliminate specular glare.
- Veach Plate Scene: Used for jointly optimizing diffuse texture and roughness.
- Marble Bust: A multi-view dataset consisting of 12 images used to recover a high-resolution (1K) normal map.
Key Insights and Ideas
- Smart Caching Beats Full AD: You don't need to store the entire computational graph (like conventional AD) to differentiate complex light transport. Caching only the suffix radiance strikes an ideal middle ground—retaining the memory efficiency of path replay while resolving the non-invertibility of polarization calculus.
- Polarization Gradients are Orthogonal and Informative: As visualized in the paper, different polarization configurations (e.g., linear vs. circular polarizers) produce distinct spatial gradient structures for the same scene parameters. This diversity provides complementary information that helps optimization routines break out of local minima that trap intensity-only inverse rendering.
Key Results
- Gradient Correctness: The proposed method produces reverse-mode gradients that perfectly match the ground-truth conventional AD reference, whereas noise-regularized PRB baselines (P-PRB) yield highly inaccurate gradients.
- Memory and Runtime Efficiency: Conventional AD completely runs out of memory (OOM) on three out of four inverse rendering tasks tested. The proposed method maintains nearly constant memory usage up to a path depth of 32 and runs approximately 2× faster than polarized Radiative Backpropagation (P-RB).
- 3D Reconstruction: When integrated with visibility-aware shape-gradient estimators for single-view 3D reconstruction, adding polarization cues dramatically sharpened geometric details, reducing Chamfer distance from 0.1874 to 0.0904 and normal error from 65.61° to 46.72° compared to unpolarized baselines.
Limitations and Future Work
- Cache Scaling: Although the hybrid variant mitigates memory growth, the local cache size still scales with the maximum path depth, which could become a bottleneck for extremely complex scenes with hundreds of light bounces.
- Visibility Discontinuities: The core formulation focuses on the continuous interior integral of light transport. Handling geometric boundaries and visibility discontinuities natively within this polarization framework is left for future work.
- Subsurface Scattering: The authors suggest extending this framework to handle polarized subsurface scattering, which could help separate surface specularities from internal scattering in translucent materials like jade, marble, or human skin.
Summary updated