Sealed-Light Audits for Outsourced Inverse Rendering

Inverse rendering takes photographs of an object and recovers its shape, its surface material (color, shininess), and the lighting that illuminated it, so the object can be relit in new scenes. It is expensive: per-scene optimization takes about 25 minutes with TensoIR and over 100 hours with NeRFactor, so the job is naturally handed to a cloud server or a paid worker in a compute market. The problem is also ill-posed, meaning many different answers explain the input photos equally well. A dark pixel can be a black surface or a white surface in shadow. That makes cheating cheap. A lazy worker can return a "baked-in" asset, with shadows and highlights painted into the color texture. It reproduces every input photo perfectly, so the obvious check, re-rendering the input views, cannot catch it.

We propose to turn the ambiguity into the audit. Before outsourcing, the client captures a few extra "sealed" photos under lighting the worker never sees, such as a phone flash or a second known environment, and publishes only cryptographic hashes of them. Afterward, an auditor sends random pixel challenges from the sealed views. The worker must predict those pixels from its asset, and only a correctly disentangled asset predicts them well. We borrow two ideas from privacy-preserving public auditing of cloud storage. The first is random spot-checking, which gives provable detection rates from a few hundred samples. The second is algebraic masking, which lets a third party verify a response without seeing the data. With both, a third party can certify that an asset is relightable while seeing neither the asset nor the sealed photos, only masked residuals.

Core Claim

Forward consistency on the training images cannot certify a decomposition, because the ambiguity is exactly the set of decompositions that are forward-consistent. Prediction under held-out, unpredictable illumination can certify it, up to the irreducible global scale ambiguity between albedo and light intensity, which we normalize away. Sampling pixels from those held-out views also gives a detection guarantee of the same form as storage auditing. If a fraction $f$ of the asset's sealed-view pixels has error above a threshold $\tau$, then $n$ independently sampled challenges detect it with probability $1-(1-f)^n$, because each sample independently hits a bad pixel with probability $f$. This is the same sampling argument behind the reported "95% detection probability of 1% data corruption" in Cong Wang et al. 2009. What is new is that the "corruption" being detected is physical entanglement rather than missing bits, and its rate $f$ depends on which sealed light is chosen. Measuring and optimizing that dependence is the empirical core of the work.

Relation to Prior Work

Storage auditing supplies the method but not the target. Cong Wang et al. 2009 and the companion paper let a third-party auditor check, via homomorphic authenticators (tags that can be combined so many blocks are checked with one small proof), that a server still holds a file. They add a random mask that cancels during verification so the auditor cannot solve for the data from accumulated responses. Yuefeng Du et al. 2020 moves this on-chain with polynomial commitments and Sigma protocols. It achieves 288-byte proofs and 7 ms verification, and shows that a generic zero-knowledge proof system "struggled with files larger than 16 KB." All of these treat data as meaningless bitstrings and verify possession. We verify a semantic property, relightability, where correctness is defined against physical observations rather than a stored copy. We reuse their sampling analysis and their mask-cancellation idea, not their pairing-based tags.

The inverse rendering literature motivates and constrains the design. Priors such as chromaticity heuristics (Tappen et al. 2005), multi-view consistency (Ye Yu et al. 2019), illumination priors (Gardner et al.), and diffusion priors (Kouros et al. 2026) all try to make the solver pick the right answer. Physical side-channels like polarization (Miyazaki et al. 2003; PANDORA) and depth (Lombardi et al. 2016) add measurements that break the ambiguity during solving. Our sealed images are also an extra measurement, but they are deliberately withheld from the solver and used only for verification. That is what makes them useful against an adversary. The fast feed-forward system ReLi3D is relevant in two ways. A cheating worker might substitute it for expensive optimization, and its reported weakness under sharp localized lights tells us which sealed lights should be most discriminative. Watermarking work on radiance fields (MultiNeRF; 3D-GSW) and identity obscuring (Identity-Obscured NeRF) protect ownership or identity, but they say nothing about whether a decomposition is correct.

Research Program

The protocol runs in five steps. First, the client captures training views plus $k$ sealed views under a lighting condition drawn secretly from a menu. The menu includes a co-located flash, which removes cast shadows from the camera's viewpoint so that baked shadows stand out, along with a small set of calibrated environments. The client publishes a hash commitment to the sealed pixels. Second, the worker receives only the training views. It returns a commitment to its asset: a hash root over its texture, normal, and lighting parameters, or over its tensor or triplane factors. Third, the auditor draws $n$ random pixel coordinates from the sealed views and reveals which lighting condition was used. Fourth, the worker renders the predicted radiance $\hat{I}_i$ at each coordinate. It sends $\hat{I}_i + r_i$ to the auditor, where $r_i$ is a one-time mask derived from randomness shared with the client. The client sends $I_i + r_i$, its true sealed pixel plus the same mask. Fifth, the auditor subtracts the two values, the masks cancel, and it learns only the residuals

$$e_i = \hat{I}_i - I_i, \qquad i = 1,\dots,n,$$

after a per-asset global scale normalization. It accepts the asset if the fraction of residuals above $\tau$ is below a set tolerance. Disputes are resolved by opening the asset commitment to an arbiter.

The mask plays the same role as in Wang et al.. It prevents the auditor from accumulating plaintext pixels or renders, which would eventually let it reconstruct the asset. Unmasked predictions make the worker a render oracle, and repeated audits would leak the asset much as the linear-equation threat leaks file blocks. We will measure this leakage directly. We will train a reconstruction attack on unmasked predictions and on masked residuals as a function of the number of audits, and report how much asset content each exposes. The mask hides the pixel values themselves, but residuals are not leak-free: on a failing asset they carry structured information about where the shadows are. That residual leakage is an empirical question we will report rather than assume away.

Two further analyses make this a research project rather than a systems exercise. The first is choosing the sealed light. For each class of cheat we will measure the bad-pixel fraction $f$ under each candidate light, and from it the number of challenges needed for 95% detection. This tells us whether a flash, a second environment, or a randomized mixture is most discriminative, and whether randomizing the light defeats a worker that tunes its asset for a predictable test. The second is an adversary taxonomy. It covers baked-albedo returns, substitution of a cheaper feed-forward model for per-scene optimization, under-converged optimization, assumption of a wrong material model (for example, forcing the fixed dielectric reflectance of 0.04 that TensoIR uses onto metallic objects), and an adaptive worker that knows the light menu and spends extra effort on it.

Baselines

The naive reference point is accepting the worker's output, or equivalently checking reconstruction error on the training views. We expect this to pass almost every baked-in asset, because baked assets reproduce their inputs. Showing that quantitatively, using the same assets and cheat classes, establishes the problem. Beating it means detecting each cheat class at more than 95% while keeping the false-rejection rate for honest TensoIR outputs below 5%.

The strongest competitor is the client-side oracle: download the full asset and relight it locally against the same held-out sealed images on a full grid of pixels. It uses exactly our information, so it bounds our detection power from above. We will run it on identical assets and sealed views with its own threshold tuned on the same honest/cheat validation split. Our protocol does not try to beat its accuracy. It counts as successful if it matches the oracle's detection rate within a few points using a few hundred pixels, without the verifier downloading the asset or running any renderer, and without revealing the asset to a third party.

The no-reference detector applies a single-asset baked-in heuristic to the returned albedo map. It flags shading-like smooth gradients in albedo in the spirit of Tappen et al. 2005, or compares the albedo to a diffusion delighting prior as in Kouros et al. 2026. It requires no extra capture, so it is the cheapest serious rival. It gets the same validation split and tuning budget. We beat it if our adaptive-adversary detection rate is clearly higher, since a heuristic can be gamed by a worker that smooths its baked texture.

The ablation that isolates the key ingredient keeps the full protocol but draws challenges from views under the training lighting instead of sealed lighting. A second ablation fixes the sealed light publicly instead of randomizing it. These two ablations show how much of the result comes from held-out illumination and how much from unpredictability.

For reference numbers, ReLi3D reports an albedo PSNR of 25.00 dB against 18.42 dB for SF3D. We use this to calibrate what an honest but imperfect decomposition looks like when setting $\tau$. For auditing, Wang et al. reports 95% detection of 1% corruption with roughly 160-byte responses, and Du et al. reports 288-byte proofs and 7 ms verification. No reported result was found on Lacuna for detecting baked-in or entangled inverse rendering outputs by any method, so the detection baselines above must all be run by us.

Why not just…?

Why not just download the asset and relight it locally against held-out photos? If the client is the only verifier and has a GPU, this is the right answer, and it is our oracle baseline. It shares our core insight, held-out lighting, which is the part we consider most important. The protocol adds value only when verification must be done by someone who should not see the asset or the photos, such as a compute marketplace paying workers or an escrow contract, or when the verifier cannot render. If experiments show that sampled challenges need nearly full images to match the oracle, the cryptographic layer is not worth having, and we will say so.

Why not just prove the optimization ran, using a generic zero-knowledge proof? Even if it were feasible, it would prove the wrong thing. A faithfully executed optimization can still converge to a baked solution, because the ambiguity lives in the objective, not the execution. Feasibility is also doubtful. Du et al. found a generic proof system failing beyond 16 KB files, while a single ReLi3D triplane is 3×40×384×384 values, before any rendering computation is counted.

Why not just inspect the albedo map with a baked-in detector or prior? This is the real threat for honest-but-sloppy workers, and the no-reference baseline tests it directly. Its weakness is adversarial. A detector is a fixed public test, so a worker can blur or regularize a baked texture until it passes, much as predictable audit challenges let storage providers precompute proofs (Fatemi & Goharshady 2023 motivate unpredictable randomness for the same reason). The adaptive-adversary experiment settles which approach holds up.

Why not just watermark the asset? Watermarks such as MultiNeRF prove where an asset came from. They do not show whether it is physically correct, so they answer a different question.

Proposed Experiments

On synthetic Blender scenes such as Lego and Ficus, used by NeRFactor and TensoIR, we can render sealed views under any light. Honest assets come from TensoIR. Cheats include baked albedo (input color divided by a constant shading), early-stopped TensoIR, and a feed-forward substitute. On the Glossy and Shiny synthetic and Shiny real sets from Kouros et al. 2026, we test whether specular entanglement is caught as reliably as shadow baking. A subset of ReLi3D's PBR objects tests scale and gives ground-truth materials.

The metrics are detection rate per cheat class at a fixed false-rejection rate, the number of challenges for 95% detection, bytes sent per audit, verifier time, and attack reconstruction quality from accumulated audit transcripts.

Three results would decide the idea. First, the training-lighting ablation must fail where sealed lighting succeeds; otherwise the ambiguity argument is wrong. Second, a few hundred sampled pixels must approach the full-download oracle; otherwise sampling is pointless. Third, an adaptive worker that knows the light menu but not the draw must still be caught at a rate consistent with $1-(1-f)^n$ for the measured $f$. If the flash alone catches nearly everything, the practical recommendation is simple and still useful: take one sealed flash photo before you outsource.