Letting a Learned Physics Model Decide When to Open Its Eyes

Battery-powered robots and wearables keep their expensive sensors (cameras, motion-capture-grade state estimators, lidar) on almost all the time. The standard fix is a cheap "gatekeeper" that wakes the expensive sensor only when something happens. Today's gatekeepers are signal heuristics or learned classifiers: an IMU spike, a frame difference, a reinforcement-learned sampling policy. None of them knows how the body it rides on actually moves. Separately, residual dynamics learning pairs a textbook physics model with a small neural network that learns only what the physics gets wrong, such as drag, friction, or rotor aerodynamics. These hybrid models predict motion well, but every one of them assumes a continuous, evenly spaced sensor stream.

We propose to make the hybrid physics-plus-residual model itself the gatekeeper. Between expensive measurements, the model integrates the state forward using only a cheap IMU. It also predicts how wrong it is probably getting. When that predicted error crosses a tolerance, it wakes the expensive sensor. The two halves pay for each other: a better residual means longer safe sleeps, and every wake-up yields a measurement that improves the residual. The obstacle is that the gate also chooses the residual's training data. We fix this by making the trigger randomized with a known probability, so updates can be reweighted to remove that bias.

Core Claim

An event-triggered sensing loop whose gatekeeper is a hybrid physics-plus-residual model can match the state-tracking error of continuous sensing while waking the expensive sensor far less often. It can also recover from dynamics shifts (wind, payload) using only the data it chose to collect. Two ingredients make this work, and both are missing from prior work. First, the residual must carry calibrated uncertainty, so the gate thresholds predicted error rather than a raw signal. Second, the trigger must be stochastic with a known wake-up probability $p_t$ at each time $t$. Online residual updates can then be importance-weighted to undo the selection bias that a deterministic "wake when wrong" trigger creates.

Concretely, let $\hat\sigma_t^2$ be the variance of predicted position error, obtained by propagating an ensemble of small residual networks through the physics model since the last measurement. Let $\varepsilon$ be the error tolerance, $T$ a temperature, and $p_{\min}$ a small exploration floor. The wake probability is

$$ p_t = \max\Big(p_{\min},\ \mathrm{sigmoid}\big((\hat\sigma_t^2 - \varepsilon)/T\big)\Big), $$

and each revealed measurement enters the residual loss with weight $1/p_t$. The floor plays the same role as the round-robin term in Event-triggered Robust MPC: it bounds how long the system can stay blind. The weighting is standard inverse-propensity correction, made possible because we design the sampling ourselves.

Relation to Prior Work

Two papers motivate the proposal by showing the coupling matters. SpikePingpong splits table-tennis ball tracking into a ballistic physics model and a Transformer that corrects its residual error, reaching a 92% hit rate. However, its 20 kHz spike camera and the corrector run continuously, and nothing gates them. Event-triggered Learning has two relevant ideas:

  • It reports the "Kalman filter paradox", where a worse model triggers more communication. That is exactly the lever we exploit.
  • It triggers re-identification when the timing between communications drifts from its expected distribution.

But it re-fits linear matrices, its guarantees require linear Gaussian dynamics, and it saves network packets rather than sensor energy. We replace its parametric re-identification with a nonlinear neural residual, and its statistical model-mismatch test with a gate built on propagated uncertainty.

Neural Event-Triggered Control learns when to update a controller, cutting updates from 1,999 to 6–13. It assumes known deterministic dynamics and continuously known state. We gate sensing instead, under unknown dynamics.

Three papers supply the method. NeuroBEM shows that a blade-element aerodynamic model plus a learned residual halves force and torque error on agile quadrotor flight. Its temporal convolution needs a dense 50 ms state history, which an intermittently sampled stream cannot provide. We therefore make the residual a function of the current estimated state and IMU readings, not of history. De Groote et al. warn that jointly fitting physical parameters and the residual makes the parameters non-identifiable. We heed that constraint by freezing the physics parameters, which are identified once offline. Haussmann shows that even imperfect physics regularizes the residual, which supports training from sparse data.

On the sensing side, gatekeepers ranging from microwatt field sensing (Cohn et al.) to learned sampling policies (Wu et al., which processes 29% of frames) all decide from signal statistics, not from a model of the device's motion. Those papers' own limitations include the false-negative blind spot: an event the gatekeeper misses is never seen. Our miss-rate metric targets that failure directly.

Research Program

We will build the gate and the residual learner, then test them in two stages.

The gatekeeper. It is a hybrid ODE that pairs fixed rigid-body physics (with blade-element aerodynamics for quadrotors) with an ensemble of five small residual networks. These are small multilayer networks, not temporal convolutions, so that the gatekeeper can plausibly run on a microcontroller. NeuroBEM's temporal convolution alone costs about 100 µs per pass. Between wake-ups, the ensemble is integrated forward with IMU inputs, and its spread gives $\hat\sigma_t^2$.

Residual training from gaps. Training uses multiple shooting across the irregular intervals between revealed measurements. Each interval is a short open-loop rollout scored against the next revealed state and weighted by $1/p_t$. This directly addresses the continuous-data assumption.

Stage 1: offline replay. Dense logs are replayed while the gate decides which timestamps of the high-quality state are revealed, which makes every policy exactly comparable on identical data.

Stage 2: closed loop. Wind gusts and payload changes are introduced partway through each run, with the gated state feeding the controller.

Analysis. We will measure how sleep length scales with residual quality, and confirm empirically that the Kalman-paradox effect runs in reverse as the residual improves.

Baselines

Continuous sensing. The "do nothing" reference keeps the expensive sensor on at its native rate with the same hybrid model inside an extended Kalman filter. It sets the error floor that every gated method tries to approach at lower cost.

Periodic sampling at matched rate. The strongest simple competitor runs the identical hybrid model and residual, but wakes the sensor on a fixed schedule whose average rate equals our method's realized rate. It is the strongest because it isolates whether adaptive timing helps at all once the model is good. Both methods get the same data, the same residual architecture, and the same hyperparameter search budget. Beating it means lower error, or fewer missed-tolerance seconds, at equal wake count.

Physics-only uncertainty gate. This baseline keeps our gate but removes the residual and uses inflated process noise, as a covariance-triggered filter would. It tests whether the learned residual is what buys the longer sleeps.

Signal-statistic gate. This baseline is an IMU-spike threshold in the style of Huang et al., tuned on the same validation flights.

Ablations. One ablation keeps deterministic thresholding and drops the $1/p_t$ weighting, which tests the bias-correction claim. A second freezes a residual trained offline on dense data and never updates it, which tests the online-adaptation claim.

Reference numbers. For the dense-data hybrid model, NeuroBEM reports a 50% reduction in force and torque prediction error and closed-loop position RMSE falling from about 0.8 m to below 0.3 m. De Groote et al. report a 33.4% state-RMSE reduction on slider-crank trajectories. There is no reported result found on Lacuna for any gated or intermittently sampled residual model on these datasets, so our continuous-sensing run establishes that reference.

Why not just…?

Why not just sample periodically at a low rate with a good model? This is the real threat. If the residual is accurate and disturbances are evenly spread over time, periodic sampling at the same average rate may be nearly as good. Adaptive timing should matter most when error growth is bursty, as with gusts and aggressive maneuvers in the NeuroBEM flights, which reach 46.8 m/s². The matched-rate comparison settles this directly. If periodic sampling ties us on calm segments but loses on gust segments, the claim narrows to bursty regimes, and we will report it that way.

Why not just train the residual offline on dense data and only gate at deployment? This removes the selection-bias problem entirely and is a fair alternative when dynamics never change. It fails once they shift. Residual Control for Fast Recovery shows that fixed nominal models degrade badly under payload changes and motor faults, and our frozen-residual ablation measures how much wake-up rate rises after a shift when no adaptation occurs.

Why not just learn the gating policy end to end with reinforcement learning, as Wu et al. do? A learned policy can work in-distribution, but it encodes no physics. AC-MPC reports that pure reinforcement learning drops to 6.5% success under 1.5× weight gusts, against 83.3% with embedded physics. We expect the same brittleness in a learned gate, and the held-out gust conditions in Flightmare test this.

Proposed Experiments

Offline replay. The primary benchmark is the NeuroBEM flight dataset (1.8M points, 96 flights), replayed with IMU as the cheap channel and the logged full state as the expensive one. We will report three quantities:

  • position-error versus wake-fraction curves;
  • the number of wake-ups needed to hold RMSE within 10% of continuous sensing;
  • miss rate, defined as the fraction of time true error exceeds $\varepsilon$ while the sensor sleeps.

Flights are split by maximum speed so that test flights are faster than training flights. The 2000 Hz De Groote et al. slider-crank trajectories serve as a second, slower system.

Closed loop. Closed-loop runs use Flightmare, with rendered camera frames as the expensive sensor and gusts or payload changes injected mid-flight. Energy is reported as a cost model, wake count times active power plus sleep power, using the Vega figures of 1.7 µW wake-up and 49.4 mW active. These are an illustrative proxy, not a hardware measurement.

Decisive checks. Three results would decide the proposal:

  • whether the uncertainty gate beats matched-rate periodic sampling on gust segments;
  • whether removing the $1/p_t$ weighting measurably biases the residual (residual error evaluated on dense held-out data) and lengthens post-shift recovery;
  • whether miss rate stays at or below the periodic baseline's, which is the safety condition any gated system must meet.

If the first check fails, the idea reduces to "use a good residual model and sample periodically," and we will say so.