Augmented reality apps need to know how light falls at the exact spot where a virtual object sits. A mug moved from a sunlit windowsill into the shadow under a desk should darken and lose its highlight. Methods that estimate this spatially varying illumination, meaning lighting that differs from point to point in a room, now run on phones. Their efficiency claims, however, rest on proxies: parameter counts, floating-point operation (FLOP) counts, or a few seconds of timing on a cool desk. AR sessions last minutes. Over minutes a phone heats up, lowers its clock speed, and its memory system behaves differently. This note proposes to measure the quality-versus-cost trade-off of these estimators under sustained on-device execution, and to test two claims. First, proxy measurements rank the designs in the wrong order. Second, a small runtime policy does better than any single fixed design. The policy chooses, frame by frame, whether to reuse the old lighting estimate or run a cheap or expensive estimator. It bases that choice on how fast the lighting is changing where the object is and on how hot the device is.
The opportunity comes from two facts that have not been put together. Lighting heterogeneity is local: most frames sit in regions where the light barely changes, and error concentrates at shadow and emitter boundaries. On the hardware side, the cost of an estimate depends on the device's thermal history, not just on the model's FLOPs. A fixed estimator therefore wastes compute in flat regions and runs out of thermal budget just when the user crosses a boundary.
Core Claim
The trade-off between lighting quality, frame time, and energy cannot be captured by a static table of per-model costs. Throttling makes the cost of the next estimate depend on how much was spent before. Our claim has two parts.
The first is that the set of best trade-offs (the Pareto front: designs where no metric can improve without another getting worse) looks different under proxy cost models than under sustained-execution measurements. In particular, the octree's advantage over dense volumes may shrink or reverse on real silicon.
The second is that a preference-conditioned control policy beats every static design, and beats a threshold heuristic tuned by grid search, in the hypervolume of the measured trade-off. The policy observes local lighting change and device thermal state, and is trained against a thermally calibrated device model. Hypervolume is the volume of objective space dominated by a method's achievable operating points, relative to a fixed reference point. Larger is better.
One subtlety makes the optimization question real rather than decorative. If costs were stationary, randomly time-sharing between two fixed configurations would achieve any average on the line between them. Simple weighted-sum scalarization, which only finds points on the convex hull of the front, would then lose nothing. The concave-region failure of linear weights documented by Cheng et al. and Zhang would not matter. Throttling breaks this argument because history-dependent costs make time-sharing non-additive. Whether that matters in practice is something we test directly rather than assume.
Research Program
Stage one: a sustained-execution measurement study. We run representative estimators on a LiDAR-equipped phone and an embedded GPU board, each for multi-minute sessions, logging per-frame latency, power, and clock frequency. The estimators span the design space:
- a PointAR-style point-cloud network (Zhao and Guo), which predicts 27 low-order spherical-harmonic coefficients describing diffuse light from 1,280 RGB-D points;
- LightOctree (Wang et al.), which predicts a sparse voxel octree of radiance and cone-traces it;
- a Lighthouse-style dense nested volume (Lighthouse), which once built can be volume-traced at 100 frames per second without further network calls;
- Xihe's edge-offloaded spherical-harmonic estimator (Xihe).
Each design is also swept over its own size knob: point count, octree depth, or volume resolution. For every configuration we compute three cost estimates: the FLOP count, a cold "first ten seconds" latency, and the steady-state latency and energy after thermal saturation. We then compute Pareto fronts under each and measure how much the rankings disagree. This directly answers the unresolved dense-versus-sparse question. LightOctree reduces work from cubic to quadratic in grid resolution, but pointer-chasing over sparse trees is known to stress memory systems, as in the decoupled access-execute setting targeted by Ember. Nobody has checked which effect wins on a phone.
This stage is motivated by evidence from systems work. Walker et al. show that static power models diverge from silicon because leakage depends on temperature. DRACO and CASSANN-v2 report simulated accelerator throughput degrading under real power and thermal limits. None of these papers studies lighting estimation, and none of the lighting papers measures sustained execution.
Stage two: a calibrated device model. From the stage-one logs we fit a small state-space model. It predicts the next estimate's latency and energy from the chosen action, the current thermal state, and recent work done. We validate it by predicting held-out real sessions. This follows the method of Air Learning, which injected measured hardware latency distributions into a training simulator. That cut the flight-time gap between simulation and an embedded board from 37.73% to 0.5% and the energy gap from 15.49% to 0.1%. We extend the injected quantity from a stationary latency distribution to a thermally evolving one. We also pair it with photorealistic lighting variation, which Air Learning's simple textures lacked.
Stage three: a lighting-aware runtime policy. At each frame the policy chooses one of four actions:
- reuse the previous estimate, warped to the new object position;
- run the cheap spherical-harmonic network;
- run the octree;
- query a precomputed dense volume, or offload.
The policy observes three kinds of signal. It sees cheap cues of local lighting change: user and object translation, ambient-sensor change, and depth discontinuities near the anchor point. It sees device state: frequency and temperature estimates. It also sees the time since the last fresh estimate. Training uses camera trajectories through synthetic scenes where ground-truth lighting is available at any point.
The per-frame reward is a vector of three terms: negative lighting error at the object location, negative frame time, and negative energy. Following PD-MORL, a single network is conditioned on a preference vector, so one model covers the whole trade-off. Preferences are drawn using hypervolume scalarization (Zhang), which can reach non-convex parts of the front.
For deployment, the natural question is constrained. With $\pi$ the policy, $e_t$ the lighting error at frame $t$, $\ell_t$ the frame time, $p_t$ the power, $T$ the session length, and $P_{\max}$ the sustainable power budget, we solve:
$$\min_\pi \ \mathbb{E}\Big[\tfrac{1}{T}\textstyle\sum_t e_t\Big] \quad \text{s.t.} \quad \Pr(\ell_t > 33\,\text{ms}) \le \delta,\ \ \mathbb{E}\Big[\tfrac{1}{T}\textstyle\sum_t p_t\Big] \le P_{\max}.$$
Here $\delta$ is the tolerated fraction of frames that miss a 30 frames-per-second deadline. We solve this with a Lagrangian primal-dual method. That choice is supported by Paternain et al., who show constrained reinforcement learning has zero duality gap, so the dual approach is not a loose relaxation.
The key ingredient is the coupling between the two observation streams. The policy should learn to bank thermal headroom while the user is in flat lighting and spend it at boundaries. A static design cannot do this, and neither can a heuristic that watches only motion.
Baselines
The naive reference point is a single global estimate updated at a fixed slow rate, with no spatial variation. This is the assumption LeGendre et al. show fails across lighting boundaries. It bounds how much spatial variation matters at all on our trajectories. It runs on the same device and trajectories, and any method should beat it by a wide margin in boundary-region error.
The static-design baselines are each estimator from stage one run at every frame, at its best configuration for each cost budget. Their sustained-measured Pareto front is the main yardstick. For published quality numbers on InteriorNet (InteriorNet), the LightOctree paper reports:
- LightOctree: 16.82 dB environment-map peak signal-to-noise ratio (PSNR) and a spatial-consistency score of 0.226;
- Lighthouse: 17.29 dB and 0.243.
Lower spatial-consistency is better, since it measures variance as a probe moves. We will reproduce these numbers before adding cost measurements. A reproduction more than about half a decibel off would be reported and used as our reference instead. The Lighthouse paper reports roughly 17.3 dB against roughly 13.4 dB for earlier methods on its own benchmark. PointAR reports 31.3% lower irradiance-map error than Garon et al. on Matterport3D-derived data from Song et al.. No reported result was found on Lacuna for any of these estimators under sustained, thermally saturated on-device execution. Producing that number is itself a contribution.
The strongest existing competitor is Xihe's adaptive triggering (Xihe). It skips inference when user translation and illumination change are below thresholds, skipping 76.24% of requests, with 20.67 ms per estimate and 9.4% better accuracy than PointAR. It already exploits the idea that lighting need not be recomputed every frame, which is why it is the real threat. To compare fairly, we give its thresholds the same tuning budget as our policy, measured in wall-clock search hours on the same calibrated model. We sweep them densely so the heuristic gets its own Pareto front rather than one operating point. We also give it access to the same estimator pool. The policy beats it only if its hypervolume is higher on held-out real-device sessions with non-overlapping bootstrap intervals, and if it meets the frame-deadline constraint where the heuristic's matched-accuracy setting does not.
Two ablations isolate the key ingredient. The first gives the policy only motion and lighting cues, with no thermal state. The second gives it only thermal state, with no lighting cues. If either matches the full policy, the coupling claim is false.
Why not just…?
Why not just profile each model once on the phone and pick an operating point with a weighted sum? This is the stationary-cost assumption. If it holds, time-sharing between fixed configurations makes the convex hull achievable, and our policy adds little. Systems evidence (Walker et al.) suggests static profiles drift with temperature, but that comes from CPU power modelling, not this workload. The test is concrete. We fit the lookup table from cold profiles and from steady-state profiles, run the resulting time-shared schedules on the device, and compare predicted to measured costs. If steady-state profiles plus time-sharing reach within a few percent of the policy's hypervolume, we will report that the simple method suffices and the contribution reduces to the measurement study.
Why not just tune Xihe-style thresholds harder? This is the most serious alternative. A two-threshold heuristic captures much of the spatial-locality benefit. Its blind spot is thermal: it cannot defer work in flat regions to save headroom for an upcoming boundary. Its decisions are also tied to a single estimator. The tuned-threshold front described under Baselines settles this directly. We also break results down by local lighting gradient so any advantage can be traced to boundary frames rather than to averages.
Why not just use the cheapest model, PointAR, all the time? It may never throttle. But low-order spherical harmonics cannot represent highlights or sharp shadows, so its error should be largest exactly at the boundaries that make spatially varying lighting worth estimating. If its sustained cost is so low that the policy always chooses it, the dominant front is trivial. We will see this in stage one before any policy is trained.
Why not just offload everything to an edge GPU? Xihe shows offloading still needs on-device preprocessing, 98.3% payload compression, and request skipping. Network delay also adds the stale-observation problem documented by Air Learning. We include offloading as an action rather than rule it out, so the experiments show when it wins.
Proposed Experiments and Decisive Checks
Training trajectories are rendered through InteriorNet and FutureHouse scenes, with ground-truth spatially varying lighting at the object anchor. Additional data come from Neural Illumination/Matterport3D frames. Real-device evaluation replays recorded RGB-D sessions on the phone and board. Laval Indoor panoramas support qualitative real-world relighting. Metrics are:
- per-frame lighting error, reported both overall and binned by local lighting-gradient magnitude;
- environment-map PSNR and spatial-consistency score;
- 95th-percentile frame time;
- energy per minute;
- time to first throttle;
- hypervolume over error, frame time, and energy.
There are four decisive checks.
- Proxy versus sustained rankings. Kendall rank correlation between proxy-cost and sustained-cost Pareto rankings must fall clearly below one. In particular, octree versus dense-volume ordering must flip or shrink substantially; otherwise the first claim fails.
- Device-model accuracy. The calibrated model must predict held-out real sessions' mean frame time and energy within a few percent, analogous to Air Learning's reduced gaps.
- Policy versus tuned heuristic. The policy must beat the fully tuned Xihe-style heuristic in measured hypervolume, with the gain concentrated in high-gradient frames.
- Ablations. Both single-signal ablations must fall short of the full policy.
If check 3 fails but check 1 holds, the work still yields the first sustained-execution map of this design space and a calibrated simulator others can reuse.
References
- Preference-Based Policy Iteration: Leveraging Preference Learning for Reinforcement Learning
- Optimal Scalarizations for Sublinear Hypervolume Regret
- PointAR: Efficient Lighting Estimation for Mobile Augmented Reality
- LightOctree: Lightweight 3D Spatially-Coherent Indoor Lighting Estimation
- Lighthouse: Predicting Lighting Volumes for Spatially-Coherent Illumination
- Xihe: a 3D vision-based lighting estimation framework for mobile augmented reality.
- Ember: A Compiler for Embedding Operations on Decoupled Access-Execute Architectures
- Accurate and stable empirical CPU power modelling for multi- and many-core systems
- DRACO: Co-Optimizing Hardware Utilization, and Performance of DNNs on Systolic Accelerator
- CASSANN-v2: A high-performance CNN accelerator architecture with on-chip memory self-adaptive tuning
- Air Learning: a deep reinforcement learning gym for autonomous aerial robot visual navigation
- PD-MORL: Preference-Driven Multi-Objective Reinforcement Learning Algorithm
- Constrained Reinforcement Learning Has Zero Duality Gap
- DeepLight: Learning Illumination for Unconstrained Mobile Mixed Reality
- InteriorNet: Mega-scale Multi-sensor Photo-realistic Indoor Scenes Dataset
- Fast Spatially-Varying Indoor Lighting Estimation
- Neural Illumination: Lighting Prediction for Indoor Environments