NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Where to Ray Trace: Conditioning-Guided Bounce Allocation for Neural Global Illumination

Global illumination is the light that arrives after bouncing off other surfaces. It produces the color bleeding off a red wall, the soft darkening under an inserted chair, and the image of one mirror inside another. One neural approach computes it by training a network to satisfy the light-transport equation, penalizing the mismatch between the network's radiance and one bounce of that radiance traced through the scene. This works well in ordinary scenes. It slows sharply in scenes where light survives many bounces: white rooms, facing mirrors, glossy objects just inserted next to shiny floors. Numerical linear algebra has a name for this slowdown, a large condition number: the ratio between how strongly a linear system amplifies its most- and least-amplified directions. A large ratio means iterative solvers need many steps. Our claim is that this quantity is local. It can be estimated cheaply from ray throughput, and it can decide where a hybrid renderer should spend extra ray-traced bounces and where one bounce plus a learned correction is enough.

Concretely, rasterization produces the primary hits. In most of the scene the network is trained on the usual one-bounce residual. In regions where the estimated local conditioning is poor, the residual instead unrolls $k(x)$ explicit ray-traced bounces before handing off to the network. This is a spatially varying polynomial preconditioner for the light-transport operator. The second half of the proposal tests it where the problem shows up in practice: inserting a reflective object into a reconstructed scene creates new long-lived light paths in both directions, from object to scene and from scene to object, exactly where current insertion methods fail.

Core Claim

Write the rendering equation as $(I-K)L = L_e$. Here $L$ is outgoing radiance, $L_e$ is emitted radiance, and $K$ is the transport operator that maps radiance to its one-bounce reflection. Neural Radiosity trains a network $L_\theta$ to minimize $\|L_\theta - (L_e + K L_\theta)\|^2$. For a loss of this form, gradient descent is governed by the conditioning of $(I-K)^*(I-K)$. That is roughly the square of the conditioning of $I-K$, which behaves like $(1+\rho)/(1-\rho)$ when the operator's spectral radius $\rho$ (roughly the albedo of the dominant bounce loop) is close to 1. Unrolling $k$ explicit bounces replaces the residual with

$$\big\| L_\theta - \big(\textstyle\sum_{j=0}^{k-1} K^j L_e + K^k L_\theta\big) \big\|^2,$$

whose operator $I-K^k$ has conditioning near $(1+\rho^k)/(1-\rho^k)$. This form is a heuristic, exact only for well-behaved (normal) operators. For $\rho = 0.98$ the change moves the per-step conditioning from about 99 to about 3.4 at $k=40$.

The choice of $k$ is not arbitrary. Truncating the bounce series at relative error $\epsilon$ needs about $\log(1/\epsilon)/\log(1/\rho) \approx \kappa \log(1/\epsilon)$ terms. This matches the $O(\kappa\log(1/\epsilon))$ polynomial degree that the quantum linear-algebra literature identifies as the cost of inverting ill-conditioned systems. That literature is summarized in Limitations of the Macaulay matrix approach and in work on Chebyshev-based subroutines such as Faster quantum subroutine for matrix chain multiplication via Chebyshev approximation. Unrolling bounces everywhere wastes rays where $\rho$ is small. The new element is making $k$ depend on position, driven by an estimate of local conditioning.

That locality is motivated by A Theory of Quantum Subspace Diagonalization. It proves that the accuracy of each eigenvalue depends on that eigenvalue's local condition number, not on the global one. It also finds empirical noise scaling ($\alpha \approx 1/4$) much milder than the worst case ($\alpha = 1/2$). We borrow the stance, not the mathematics: a scene with one pair of facing mirrors is ill-conditioned globally but well-conditioned almost everywhere.

Research Program

The system has three parts.

Conditioning estimator. For each cell of a coarse spatial grid, we trace a few paths from the cell and record the fraction of energy that survives after $j$ bounces, $t_j(x)$. The value $t_j(x)^{1/j}$ estimates the local decay rate $\hat\rho(x)$. This is a power iteration restricted to paths starting at $x$, and it reuses rays the renderer already casts. We set $k(x) = \lceil \log\epsilon / \log\hat\rho(x) \rceil$, capped by a total ray budget.

Hybrid renderer. Primary visibility is rasterized from a 2D Gaussian splat scene. We use flat disks, following ReflFlow, because unrolled bounces need well-defined normals. The network is a multi-resolution feature grid as in Neural Radiosity. Secondary bounces are ray traced against the same Gaussians, following 3D Gaussian Ray Tracing and 3DGUT.

Insertion mode. When an object is inserted, we re-estimate $\hat\rho$ only near the object and warm-start the network from its pre-insertion solution. Only the change in radiance is re-solved, with a large $k$ in the new high-albedo loops the object creates. This treats both directions of influence together: the object receives scene light, and the scene receives the object's shadows and reflections.

Prior hybrid work supplies the decomposition we build on. Wallace et al. split diffuse radiosity from ray-traced specular transport but never examine the conditioning of the radiosity system. RTR-GS approximates indirect light with baked occlusion and a single learnable indirect parameter, so it cannot represent multi-bounce glossy loops. ReflFlow states that it is limited to a single bounce, and mutually facing mirrors are the case it cannot handle. Our split is set by measured conditioning, not by a fixed diffuse/specular label, so a near-white diffuse room receives extra bounces and a dark glossy floor does not.

On the insertion side, DiPIR achieves consistency in both directions by running a differentiable path tracer inside optimization, which is expensive and has poorly conditioned gradients. ObjectDrop learns the effect an object has on the scene from 2,500 real counterfactual photo pairs, but it adapts in only one direction and has no 3D light model. We keep the physics of DiPIR and aim for interactive update cost.

Baselines

The naive reference is equal-time Monte Carlo path tracing on the same Gaussian scene with a fixed bounce cap. Neural Radiosity reports a mean absolute percentage error (MAPE) of 0.658 for this baseline on the Veach Door scene. This baseline shows whether any learned solver is worth having in our regime.

The strongest existing method is Neural Radiosity itself, meaning the uniform one-bounce residual, which reports a Veach Door MAPE of 0.084. We re-implement it on our feature grid, the same backbone as ours, with identical GPU-hours, ray budget per iteration, and learning-rate sweep. Its failure mode is exactly the regime we target. Our first goal is to reproduce its 0.084 before testing anything else. Beating it means lower MAPE at equal wall-clock on high-albedo scenes, together with statistically indistinguishable error on Veach Door.

The ablation that isolates our key ingredient is uniform unrolling: every point receives the same $k$, with total ray count matched to ours. A second ablation keeps our per-cell ray counts but assigns them to random cells, to check that gains come from the conditioning map rather than from the budget.

For reconstruction sanity we compare against RTR-GS on the TensoIR synthetic benchmark, where it reports 41.39 dB novel-view PSNR (peak signal-to-noise ratio). We expect only to match it, since TensoIR objects are not dominated by interreflection.

For insertion, DiPIR is the physics reference. The file gives user-preference numbers for it (preferred over StyleLight and DiffusionLight more than 50% of the time) but no reported number was found on Lacuna for its PolyHaven RMSE. We therefore run it ourselves, in Mitsuba 3, on our synthetic insertion scenes at a larger compute budget than ours. Beating it means matching its error at a fraction of the compute.

Why not just…?

Why not just unroll many bounces everywhere? This is the most serious threat. If the scene's conditioning is roughly uniform, adaptive allocation gives nothing, and uniform unrolling is simpler. The matched-budget uniform ablation settles it. We expect the gap to grow with the fraction of the scene that is not in a high-albedo loop, and we will report that curve honestly. If the gap stays near zero on realistic scenes, the contribution shrinks to the analysis of the squared conditioning.

Why not just use an adaptive optimizer or diagonal preconditioning? Adam and Jacobi scaling rescale individual coordinates. The slow directions here are global light loops spread across many feature-grid cells, which per-coordinate scaling does not reach. The quantum interior-point study, Improvements to Quantum Interior Point Method, likewise needed to reformulate its system and refine iteratively, not only rescale, to recover precision. We test this directly by running Neural Radiosity with Adam plus Jacobi scaling of the residual along the albedo sweep.

Why not just path trace and denoise? Denoisers remove variance, but they cannot recover energy that a truncated path never carried. In a 0.98-albedo room with a low bounce cap, the image is biased dark regardless of noise. The equal-time path-tracing baseline, with a denoiser added, measures this bias separately from variance.

Why not use a diffusion model for insertion? Structured-NeRF's user study scores Stable Diffusion at 1.90/5 against 3.88/5 for physics-grounded placement. Even ObjectDrop does not adapt the object to the scene. We include ObjectDrop-style image compositing on renders of our synthetic scenes as a reference, but we do not expect it to produce consistent interreflections across views.

Proposed Experiments

Albedo sweep. A Cornell-box family with wall albedo from 0.5 to 0.99, plus a facing-mirror corridor. Convergence curves (MAPE against an 8k-spp reference over wall-clock) should show Neural Radiosity's time-to-accuracy growing roughly with $1/(1-\rho)^2$ and ours growing much more slowly. A slope near 2 in log-log for the baseline and near 1 or less for ours would confirm the squared-conditioning account.

Estimator validity. Rank correlation between $\hat\rho(x)$ and per-cell residual decay rate during baseline training. If the correlation is weak, the method has no basis.

Standard scenes. Veach Door, and TensoIR through RTR-GS, to confirm we lose nothing in ordinary scenes.

Insertion. Synthetic counterfactual scenes rendered in Mitsuba: a glossy sphere or teapot inserted next to a mirror or a white floor, with ground truth before and after insertion. Error is measured separately on the object and on the surrounding scene, to show the insertion is handled in both directions. We report update time against DiPIR and against the full retrain.

Decisive check. The adaptive method must beat matched-budget uniform unrolling by a clear margin, at least 30% lower MAPE at equal time, on scenes where under a quarter of the area sits in high-albedo loops. If it does not, we report that the benefit comes entirely from unrolling.