Keep What Propagates: Filtering Corrupted Measurements by Their Downstream Consequences in Partially Observed Systems

When we learn a dynamical model from sensor data, we usually clean the data first. Any reading that looks wrong gets thrown out: a spike, a jump, a window whose residual exceeds a threshold. In a partially observed system, where some state variables (hidden predators, asymptomatic infections, unmeasured velocities) are never recorded, this habit is dangerous. Many of the readings that look anomalous in the measured channels are not sensor errors. They are the visible footprint of the hidden variables. A sudden change in prey numbers or a lobe switch on the Lorenz attractor looks like an outlier only because the cause is not measured. Filters that judge readings by how they look in observation space will preferentially delete the samples that carry the most information about the hidden state. Deleting whole windows also tears the continuous history that delay-based reconstruction needs.

This note proposes a different test for whether a reading should be trusted. A real event, even one driven by a hidden variable, has consequences: it changes what the system does next, and those changes show up in later measurements. A sensor glitch has no consequences, so the future does not "remember" it. We propose to score each individual measurement (one channel at one time) by whether replacing it with a model-based imputation makes the model's predictions of later observations better or worse. Readings whose effects propagate are kept at full weight. Readings whose removal improves future prediction are down-weighted and imputed in place, so the delay history stays continuous. The test is cheap to approximate with one backward pass. It plugs into existing latent-state learners, and it can be checked against ground truth on standard partially observed benchmarks.

Core Claim

Under partial observability, a corruption score computed from observation-space surprise confuses hidden-state-driven events with sensor faults, and does so systematically. A score computed from forward propagation, meaning whether the reading improves prediction of the future through the learned dynamics, separates the two. We make two claims. The first is diagnostic: magnitude-based and spectral filters discard hidden-state-informative samples at a higher rate than random deletion of the same size, and this measurably reduces hidden-state recovery. The second is methodological: propagation-based per-entry reweighting with in-place imputation recovers most of the clean-data hidden-state accuracy under heavy, structured sensor corruption. It also does better than robust likelihoods that weight readings by residual size alone.

To state the score, let $y_{t,c}$ be the observation on channel $c$ at time $t$. Let $\tilde y_{t,c}$ be the model's imputation of that entry from its delay history excluding it. Let $L_{>t}(\cdot)$ be the model's prediction loss on observations in a window of horizon $H$ after $t$, computed through the learned dynamics with the given value placed in the delay vector. The propagation score is

$$s_{t,c} = L_{>t}(\tilde y_{t,c}) - L_{>t}(y_{t,c}),$$

which is positive when the actual reading helps predict the future and negative when it hurts. The entry receives training weight $w_{t,c} = \sigma(s_{t,c}/T)$, where $\sigma$ is the logistic function and $T$ a temperature. We approximate $s_{t,c}$ to first order by the inner product of $\partial L_{>t}/\partial y_{t,c}$ with $(\tilde y_{t,c} - y_{t,c})$, so that all entries are scored by a single backward pass. The justification comes from delay embedding: the hidden state is recoverable from future observed coordinates. Information about hidden variables carried by a genuine reading must therefore reappear downstream, while independent sensor faults do not.

Relation to Prior Work

The data-filtering literature motivates the "don't delete" stance. RCEND recycles mislabeled relation-extraction sentences through a semi-supervised autoencoder instead of deleting them. Its ablation shows that deletion drops mean precision from 88.9% to 84.6%. T-MARS masks the corrupted part of an image and rescores the remainder instead of discarding the pair. We borrow the principle of salvaging the uncorrupted part of a sample at the finest granularity. Our granularity is a single channel-time entry, and both of those works are static and non-temporal. The closest temporal work is DropoutTS, which rejects pruning and throttles model capacity per sample using a spectral flatness noise score. That score assumes clean signals are spectrally sparse. Chaotic, partially observed systems are broadband, so this is exactly the regime where we expect it to mislabel genuine dynamics as noise. DropoutTS also models only the observed channels.

Partial-observability work supplies the backbones and constrains the design. Neural delay differential equations replace guessed hidden initial states with observed delay histories, smoothed by a Gaussian process only over the initial segment. Their Lyapunov–Razumikhin stability penalty needs a deterministic, Lipschitz vector field. This rules out injecting stochastic dropout inside the solver, which is why we reweight the loss and impute inputs rather than modulating capacity. Dynamics Contrastive Learning (DCL) identifies latent dynamics by placing an explicit dynamics model inside a contrastive loss, using delay embeddings to restore injectivity. Its guarantee assumes additive Gaussian noise, which structured sensor faults violate. Our scoring adds a corruption-robust front end to it. MAAT reconstructs latent trajectories in a kernel space with physical priors and handles heavy-tailed noise through likelihood choice. It still weights each point by its residual under a global fit, and its authors warn about prior and bandwidth misspecification. ForcingDAS guides a trajectory diffusion model toward every observation, so a corrupted channel actively pulls the estimate. Our score could serve as its guidance weight, but we do not pursue that at ERA5 scale. Finally, multiscale burst sampling with delay spacing shows that delay-based discovery can work from very little data. That makes each retained reading more valuable, and makes window deletion correspondingly more costly.

Research Program

We first build a controlled corruption suite on top of systems where the hidden state is known. These are Lotka–Volterra with the predator hidden, Lorenz with one or two coordinates hidden, and the semi-synthetic SEIR-type epidemiological systems from the MAAT suite with exposed and infectious compartments hidden. Into the observed channels we inject three fault types: isolated spikes, stuck-at-value segments, and slow calibration drift on one channel while the others stay clean. This gives entry-level ground truth for which readings are corrupt. In parallel, we mark "hidden-state-informative" moments as those where the hidden coordinates change fastest, using the known simulator. This lets us measure what each filter throws away, not just its final accuracy.

The method has three parts that alternate during training. A backbone dynamics learner, either the NDDE or DCL with its switching linear dynamics model, is trained on weighted entries. An imputer produces $\tilde y_{t,c}$ from the delay history; we use the backbone's own one-step prediction so no extra model is introduced. The propagation score then updates the weights every few epochs. Down-weighted entries are replaced by their imputations inside delay vectors, so no window is ever removed. Early in training the dynamics model is poor and its scores are unreliable. We therefore warm-start with uniform weights and anneal $T$ downward, and we measure how sensitive results are to this schedule. We also analyze the score's known failure mode: a fault on a channel that strongly drives the predicted future, such as a stuck sensor feeding a feedback loop. Such a fault can "propagate" through a wrong model. We test whether requiring agreement across several horizons $H$ suppresses this.

Baselines

The naive reference points are two. One trains the backbone on all corrupted data with uniform weights. The other trains it on clean, uncorrupted data, which gives the ceiling. Every method is reported as a fraction of the gap between these two, on the same seeds and the same corruption draws.

The data-filtering competitor is hard pruning. We delete windows whose one-step residual under a warm-started model exceeds a threshold. The threshold is tuned on a held-out corrupted trajectory with the same tuning budget we give our temperature. Deleted windows break delay vectors, so we give pruning its best chance by splitting the series into separate segments rather than bridging the gaps.

The strongest existing competitor is a robust-likelihood state-space learner. This is the same backbone, but each entry's loss uses a Student-t or Huber likelihood on its residual, which is the mechanism MAAT relies on for heavy-tailed noise. It is run with identical architecture, epochs, and a matched hyperparameter search over the degrees of freedom or Huber scale. We also run MAAT itself with its Student-t option on the epidemiological systems, where its priors apply. On the MAAT suite the file reports that it "consistently achieved the lowest MSE for both trajectory and derivative reconstruction" and reduced COVID-19 reconstruction error "by an order of magnitude" relative to RBF smoothing and Kalman filters. No numeric per-benchmark MSE is reported there, and no reported result for Student-t robust training of NDDE or DCL was found on Lacuna.

For backbone accuracy anchors, NDDE reports trajectory MSE 0.023 on Lotka–Volterra versus 0.305 for the best augmented neural ODE. DCL reports 94.1% $R^2$ latent recovery on Lorenz versus 41.0% for contrastive learning without dynamics. We reproduce these clean numbers before corrupting anything. The spectral competitor is DropoutTS's spectral flatness score, used to set per-sample loss weights, since dropout cannot go inside the solver. DropoutTS reports a 46.0% average MSE reduction on the Informer backbone for real forecasting data, a regime very different from ours.

The key ablation replaces our propagation score with the backbone's own one-step residual magnitude, keeping everything else identical: per-entry weighting, imputation in place, schedule. This isolates whether looking forward matters, as opposed to merely reweighting at entry granularity. Beating a baseline means closing significantly more of the corrupted-to-clean gap in hidden-state $R^2$ or MSE across five seeds and all three fault types. It also means not losing on uncorrupted data, where any filter should leave performance unchanged.

Why not just…?

Why not just prune windows with large residuals? Pruning is the default, and the corpus already shows it costs information in static settings: RCEND loses over four points of mean precision when it deletes instead of reclaiming. The temporal case is worse, because each deleted window also invalidates the delay vectors around it. Our diagnostic experiment measures directly whether pruned windows are enriched for hidden-state-informative moments. If they are not, this alternative is weaker evidence against us than we expect, and the claim narrows to the continuity argument alone.

Why not just use a robust likelihood like Student-t? This is the real threat. Robust likelihoods already down-weight large residuals without deleting anything, and with a good model they may suffice. Our argument is that residual size is the wrong signal under partial observability. A lobe switch has a large residual under any model that has not yet resolved the hidden coordinate, while a slow calibration drift has a small one. The matched-budget comparison and the residual-magnitude ablation settle this. If Student-t matches us on drift and spikes, the propagation score is not worth its cost, and we would report that robust likelihoods plus in-place imputation are enough.

Why not just smooth first with a Gaussian process or kernel fit, as MAAT does? Smoothing treats every point by the same global criterion and, with one length scale, flattens the fast events that carry hidden-state information, as the multiscale discovery work emphasizes. It also does nothing about stuck or drifting channels, which are smooth. We include MAAT on the systems where its priors are valid. If it wins there, that would show physical priors can substitute for propagation scoring when they are available. Our method's value would then lie in prior-free settings like Lorenz.

Why not just use DropoutTS's spectral score? Its spectral sparsity assumption is explicitly broken by chaotic broadband signals. It also cannot be placed inside a stability-constrained solver. We nonetheless run it as a loss weight so the claim is tested rather than asserted.

Proposed Experiments

The first decisive check is the diagnostic. For each filter at matched discard fractions, we measure the fraction of discarded entries that fall in hidden-state-informative moments, and the resulting drop in hidden-coordinate $R^2$ relative to random deletion of the same size. The claim fails if observation-space filters do not over-select informative moments. The second check is corruption detection: AUROC of each score against the injected-fault ground truth, broken down by fault type. We especially look at whether the propagation score separates stuck-sensor segments from genuine plateaus. The third check is end accuracy: hidden-state $R^2$ (DCL backbone, Lorenz and switching linear systems) and hidden-trajectory MSE (NDDE backbone, Lotka–Volterra and SEIR). Each is reported as the fraction of the corrupted-to-clean gap closed, across fault rates from 1% to 20% of entries. Downstream, we pass recovered trajectories to SINDy and count correctly identified terms, since symbolic discovery is where corruption does the most damage.

Two sanity checks guard against overclaiming. On clean data, the method must match the reproduced NDDE and DCL numbers. On the Synth-12 suite and the ETT and Weather forecasting sets used by DropoutTS, we test whether the score transfers to real sensor series with outliers and missing values, where ground-truth hidden states are unavailable and forecast MSE is the only measure. We expect modest or no gains there. A large loss there would suggest the score over-trusts readings in poorly modeled systems, which is the failure mode the multi-horizon agreement test is meant to catch. Compute is small: all systems are low-dimensional, and the first-order score costs one extra backward pass per weight update.