Mapping When a Sensor Fails
The setup
An Ornstein–Uhlenbeck process is the standard model for a signal that gets kicked around by noise and pulled back toward its resting point. Imagine you're driving down the highway, trying to keep the car in the center of the lane. The vibrations and grooves in the road pulling you left and right are the noise (Σ). The car's own self-centering, the way the front end wants to track straight again after a push, is the mean reversion (λ). Nobody is steering yet. That pull back to the middle is built into the car, the same way λ is built into the signal.
The Floor (F) is what happens if you never look and never correct at all. Hands off the wheel, the road keeps kicking and the self-centering keeps pulling back, and the car wanders around the center. The variance of that wandering is the floor. It measures how much uncertainty remains when you make no observations at all.
F = Σ/λ
Stronger kicks widen it. Stronger self-centering tightens it. F is how lost you are with no help at all, and everything a filter does gets measured against it.
Then we use a Kalman-style filter to work out how much correction to give to keep the vehicle in the center of the lane. Not a perfect response, the best response anyone can compute. Its error is the lowest any filter can reach within this model, but it is never zero.
One honesty note about the car. A real Kalman filter does not steer anything. It updates an estimate of where the car is. The driver's corrections in this story stand for those updates to the estimate, not for literal turns of the wheel. The equations track estimation error. The lane is the picture I hang them on.
This is all standard machinery. Kalman-style filters already run sensor fusion, target tracking, industrial control, that kind of thing. What my thesis adds comes next.
But real systems do not live at one operating point. Sensor precision changes from one condition to the next. Noise correlations differ. A gain that was right for one condition may be wrong for another. So what happens to the error as we move between conditions?
Can we graph exactly when a filter fails? How much variance a type of information introduces into a system is determined by a number of factors. What I try and do is map exactly when those failures show up.
And the corrections themselves, that's the gain (G). That's you, eyes on the lane, steering against what you see. How hard you correct for what you see is G. The perfect driver, the Kalman–Bucy filter, corrects by exactly this amount.
G*(Π) = −λ + √(λ² + 2ΣΠ)
Read it in car terms. The right correction depends on how strong the self-centering is (λ), how hard the road kicks (Σ), and how good your view of the lane is (Π, the precision of what you're seeing). Better view, stronger correction. And one fact the paper proves about this driver. G* is always less than FΠ. The perfect driver never corrects harder than the floor times the precision. Filters that break that kind of limit are where the trouble starts, and that's where this story goes next.
In the paper. The floor and the conventions are set up in §1.7, which also fixes the noise convention, where Σ is half the diffusion intensity. The model itself is §3.1. The optimal gain is §3.4, Proposition 3.5.
The failure set
So here's where my work actually starts. Normally, when a filter fails in the real world, somebody pulls the data from the moment it failed and asks what went wrong right then. One bad reading, one bad moment, fix that, run it again. I do it the other way around.
One distinction matters here. When I say a filter fails, I do not mean the physical sensor has stopped working. I mean the filter's estimation-error variance has exceeded a chosen tolerance. The sensor may still be functioning exactly as designed.
First you pick your tolerance. Call it R². That is a limit on the error variance, the amount of error you can live with. In car terms, it is a limit on how wildly the car wanders around the center on average, not a painted line it can never touch. Then, instead of waiting for a failure, you sweep the conditions the filter might run in. How clear the view is, how rough the road is, how often it samples, how it's built. For each sweep, you change one condition at a time, holding the others fixed. At every point along that sweep, you ask one question. Does the error go over the tolerance or not? The set of conditions where it does is the failure set.
ℱ(R²) = {θ | σ²(θ) > R²}
θ is just whichever condition you're sweeping, σ²(θ) is the error under that condition, and the set collects everywhere the error breaks your ceiling. You're not chasing failures one incident at a time anymore. You've drawn the whole map before the car ever leaves the driveway.
In the paper. The question is posed in §1.1, where the failure set is defined. What gets studied is laid out in §1.3. Scope limits, including one-parameter sweeps, are §9.3.
The shapes
Once you have the map, the question is what shape the failure region makes. Sweep one condition from one end to the other. Say precision, how good the incoming information is, from worst to best. Then watch where the failures sit. The paper shows they only ever arrange themselves a few ways.
A threshold is the simple one. The filter fails on one side of a line and passes on the other. The view gets too poor and it fails. The view gets good enough and it holds. Or flip it around. Fine at low precision, then it fails past a point at the top end. Either way there is one crossing. One clean story about what is wrong.
A window is the strange one. It is the one this whole thesis grew out of. The filter fails only in a band in the middle. It passes at both ends. Back to the car for a second. In thick fog you barely trust your eyes. You mostly hold your line and creep, and you are fine. In light haze you see just enough to react. And you overreact. You weave against every shimmer in the road until you drift out of tolerance. On a clear day you see properly and hold the lane again. Nothing about the world got worse in the middle. The middle is where the filter trusted its input just enough to hurt itself.
Two rays means failure at both extremes. There is a safe band in the middle. Too little information fails. Too much information fails. The middle works. A mixed shape is a ray and a window together. It fails in the fog. It recovers. It fails again in a middle band. Then it recovers for good. That one sounds made up, but the thesis shows exactly how it can happen. A Hill-type gain, which rises and then falls as observations get stronger, can produce this mixed shape. I cover the full mechanism in Chapter 5 of the paper. For this post, I'll focus on the simpler bounded window.
A few more shapes round out the full list. Sometimes the failure set is Empty, the filter passes everywhere. Sometimes it is All, the filter fails everywhere. And more complicated gains can stack up several separate windows at once, a multi-window. The simple families in this post mostly stick to the four shapes above, but the classification itself covers all of these.
Same filter, different tolerance, different design choices, and the shape can change. So the shape is not decoration. It is a fingerprint of how the filter is built. The rest of this post is about learning to read it.
In the paper. The classes are listed with the main results in §1.5. Which gain families produce which shapes is Chapter 5, with the mixed class at §5.4, Theorem 5.12 and Proposition 5.13.
The signatures
Here is the part that makes the whole thing practical. You might think drawing the map means testing the error at every single point along the sweep. It does not. The shape is decided by a short list of numbers. The paper calls that list a signature.
The list has three kinds of entries. First, the endpoint limits. That is where the error settles at the far ends of the sweep, at the worst conditions and at the best. Second, the turning-point values. Those are the peaks and dips of the error in between. Third, the approach directions. There are two of them, one at each end of the sweep, and they say whether the error settles toward its endpoint value from above or from below.
Think of a road going over hills. Say you want to know everywhere that road rises above a certain height. You do not have to measure every inch of it. You need the height where the road starts. You need the height where it ends. You need the top of every hill and the bottom of every valley in between. And you need to know which way the road is heading as it reaches each one. With just those heights and directions, you can determine how many separate stretches rise above your chosen height, and whether they reach either end of the road. To locate the exact boundaries of those stretches, you solve for where the road crosses that height. But you already know the shape you are looking for.
The error curve works the same way. The tolerance R² is the height line. For a continuous error curve with finitely many turning points, the endpoints, turning-point values, and approach directions determine the shape of the failure set. They tell you how many failure regions exist and which ends they reach. Finding the exact location of each boundary takes one more calculation. The paper also handles flat sections separately. So once you have the signature, you know the failure shape at every tolerance. Not just the one you tested. Every one. A finite signature replaces point-by-point classification, once the critical values of the curve are known.
In the paper. This is Chapter 2. The signature theorem is Theorem 2.2, the critical-tolerance theorem is §2.3, the signature itself is §2.4, and flat sections are Theorem 2.4.
The universal surface
Now the map itself. For scalar filters fed by white noise, every error variance lands on a single surface. Within this model, it does not matter which gain rule you chose. Once you rescale the numbers the right way, they all live on the same landscape.
The scope matters, so let me state it. This is the continuous-time scalar model. One signal, white-noise observations, and a gain that stays constant at each operating point. Sampled systems, colored noise, and delays are real cases too, and the paper treats them separately, in their own chapters.
The landscape has two axes. One is ν, the normalized precision. It measures how good the incoming information is, scaled against the signal itself. The other is q, the normalized gain. It is the gain divided by the floor times the precision, q = G/(FΠ). It measures how hard the filter corrects, relative to the hands-off baseline. The height of the surface at any point is the error variance, measured in units of the floor. So a height of 1 means you are exactly at the floor. Below 1, the filter is earning its keep. Above 1, it is doing worse than nothing.
Why does one surface cover everything? Because the rescaling strips out the units. A radar tracker, a thermostat, and a perception model might look like entirely different problems. But when they can be described by the same kind of scalar, continuous-time filter studied here, their error behavior can be placed on the same normalized surface. Same hills. Same valleys. Different gain rules travel different paths across it. Systems outside those assumptions need their own analysis.
And one path matters more than the rest. At every precision, there is a gain that gives the lowest error. Connect those points and you get a curve running along the bottom of the landscape. That curve is the optimal filter, the Kalman–Bucy filter from the start of this post. The paper calls it the lower envelope. Everything else a filter can do sits somewhere above it. That is what optimal means here, drawn as a picture. The valley floor itself.
In the paper. The coordinates and the surface are §3.2. The normal-form theorem is Theorem 3.2, and its scope is §3.8. The lower envelope is §3.4.
The excess line, q = 2
Stay on the surface from the last section. Remember that a height of 1 on it means you are exactly at the floor. Now draw one straight line across the landscape at q = 2. That line is the most important marking on the whole map.
On one side of it, the filter helps. On the other side, the filter hurts. The paper proves this as an identity, not an approximation. A fixed-gain filter does worse than the floor exactly when its gain exceeds twice the floor times the precision.
G > 2FΠ
That is the excess line. In normalized terms it is just q > 2. It holds at every precision. It does not depend on which system you started with. Two boundary cases are worth knowing. At q = 0 the filter applies no correction at all, so it sits exactly at the floor. At q = 2 it lands exactly on the floor again. Between those points it helps. Past 2 it hurts.
Here is what it means physically. Every correction a filter makes does two things at once. It removes some of the signal's wandering. And it injects some of the sensor's noise straight into the estimate. Past q = 2, the second effect wins. The filter is putting in more noise than it takes out. Back in the car, it is the driver who yanks the wheel harder than the road ever pushed him. His own steering becomes the biggest source of the swerving. He would literally do better to let go and let the car wander at the floor.
And notice where the perfect driver sits relative to this line. The optimal gain G* always stays below FΠ. That is q below 1. So the best possible filter never even gets halfway to the excess line. The line at 2 is not a place good filters visit. It is a boundary that only overcorrecting filters cross. Keep that in mind, because the next sections are about a popular family of filters that crosses it, and what shape that crossing leaves on the map.
In the paper. This is §3.3, titled "The floor crossing is the line q = 2." The bound on the optimal gain is Proposition 3.5.
Kappa
Real filters often use a rule that is not the Kalman rule at all. The designer picks a fixed weighting rule that decides in advance how much to trust what the sensor says. The one this paper studies is the one-step Bayesian weight.
G = cΠ/(Π + Π₀)
Read it plainly. Π is the precision of the incoming observation. Π₀ is a built-in constant, roughly how much the filter trusts its prior guess. c is an overall strength. When the observation is much better than the prior, the weight climbs toward c. When the observation is poor, the weight shrinks toward zero. Rules like this show up in perception and neuroscience models. They are simple. They saturate, which is a sensible shape for a weighting rule. And they are not the Kalman rule.
Now here is the question kappa answers. Look at how this shortcut behaves when the observations are weak, down near zero precision. Down there the gain per unit of precision is c/Π₀. That ratio is how hard the filter leans on the weakest signals it will ever see. Kappa compares that lean against the floor.
κ = c/(FΠ₀)
That is all kappa is. The lean on weak signals, measured in units of the floor. It is one number, computed from the design constants before you sweep anything. No simulation. No map. Just the constants the designer chose.
Why build a number like that? Because of what comes next. The paper proves that this one number decides whether this family of filters produces the strange shape from earlier in this post. The window. If kappa stays at or under 2, no window. If kappa goes over 2, a window becomes possible. Specifically, any tolerance set above the floor but below the peak error this filter reaches mid-sweep will produce one. The next section is that mechanism, and it is the heart of the whole thesis.
In the paper. The relay itself is introduced in §1.2. Kappa and the condition κ > 2 are Proposition 5.8, with the tools built in §5.2.
The window mechanism
Now watch what kappa over 2 actually does. Take the shortcut filter from the last section and sweep the precision from nothing up to excellent. Track the error as you go.
At the bottom end, the observations are nearly worthless. The shortcut weight shrinks toward zero down there. So the filter barely reacts at all. The error just sits at the floor. And the floor passes any tolerance set above it. No failure yet.
Now raise the precision into the middle range. The weight wakes up and starts correcting. But the observations are still noisy. And remember the lean from the last section. This filter leans hardest, relative to the floor, exactly on these weak to middling signals. The corrections start injecting noise faster than they remove wandering. The error climbs. It rises above the floor. If your tolerance sits anywhere in that climb, the filter is now failing.
Keep raising the precision. The observations become genuinely good. The same weight that caused the trouble now works fine, because there is real information to lean on. The error turns around and falls. It drops back under the tolerance. The filter passes again.
So the failure lives only in the middle. It is bounded on both sides. That is the window.
The paper proves this is not a coincidence or a quirk of one example. For this family, the window appears exactly when kappa goes over 2. At or under 2, it never appears. And here is the example from the paper, with real numbers. Take kappa equal to 100, a heavy lean. Set the tolerance at five times the floor. The filter fails for precision between 1/9 and 4. Below 1/9 it passes. Above 4 it passes. Only the middle band fails.
Sit with how strange that is. You improved the sensor and the system got worse. Then you improved it more and it got better again. If you only tested the endpoints, you would ship this filter and never know the window was there. That is why the shape matters, and it sets up the last two sections. Because along this precision sweep, an optimal filter cannot do this. Which means the window is evidence that the filter is not behaving optimally under the model.
In the paper. The window theorem is Theorem 3.4. The worked example with κ = 100 is in §1.2. The conditional form of the optimal-filter claim is Corollary 7.3.
Causal garbling
This section is the quiet one. It sounds abstract. But it is the load-bearing wall for the finale, so it gets its own space.
Start with a simple idea from information theory. Take two ways of observing the same signal. Say one of them can be turned into the other just by degrading it. Add some blur. Add some noise. Throw some detail away. If that works, the second observation is called a garbling of the first. The first one carries everything the second one does, and more. There is no way to run the process backward. You can always fog up a clear windshield. You cannot unfog a foggy one and recover what was never captured.
The word causal matters here because filters work in time. The degradation has to happen step by step, as the observations arrive, without peeking at the future. When a whole stream of observations can be degraded into another stream that way, the streams are ordered. One is genuinely better informed than the other.
Now the result. Hand both streams to an optimal filter. The filter with the better stream never does worse on average. Its expected squared error is lower or equal. That sounds obvious, and the idea goes back to Blackwell's work in the 1950s. But obvious is not the same as proved, and the paper proves it for these observation processes in this setting.
Here is why it earns a section. Precision is one of these orderings. A high-precision observation can always be degraded into a low-precision one by adding noise. So as precision rises, an optimal filter's error can only fall. It can never rise, peak, and fall again. It can never make a window. Remember the perfect driver from the start of this post. His error dropped steadily as the view improved. This section is the theorem underneath that picture. Better information, in this strict sense, cannot hurt a perfect filter. Ever.
Which raises the question the final section answers. If an optimal filter cannot make a window along a causally ordered sweep, what does it mean when a real filter does?
In the paper. Causal garbling and monotonicity are §7.1. The ordering result is Theorem 7.2.
The diagnostic
Now put the last two ideas together. The garbling section said an optimal filter's error can only fall as the information gets better, where better carries that strict causal meaning. The window section showed a real filter whose error rises, peaks, and falls again. Those two facts cannot both describe a well-built filter. And that tension is the payoff of the whole paper.
Here is the claim, stated carefully. Along a sweep where the observations are causally ordered, where each step up genuinely carries at least as much usable information as the step before, an optimal filter cannot produce a window. It cannot produce two rays or a mixed shape either. So if a real filter produces one of those shapes along such a sweep, its behavior is non-optimal. Maybe the gain is miscalibrated. Maybe the design trades error for something else on purpose. Or maybe the observations do not actually obey the ordering we assumed. The shape is not a complete diagnosis by itself. It is a mathematical reason to investigate the filter instead of automatically blaming the sensor. It narrows the possibilities considerably.
And the ordering condition is not fine print. The paper itself shows an optimal filter producing a window along a correlation-time sweep, in Chapter 6, precisely because those observations are not causally ordered across that sweep. The theorem and the counterexample sit a chapter apart. The ordering is the whole condition.
Think about what that buys you in practice. Normally a failure in the middle range starts an argument. Was the sensor bad that day? Was the environment unusual? Do we need better hardware? The shape changes that argument. A window along an ordered sweep means the error got worse while the information got better, in the strict sense. A correct filter cannot do that. So the investigation starts inside the design instead of out in the weather. In the car, it is the difference between blaming the fog and blaming the driver. The fog can make a good driver slow down. It cannot make him weave more in light haze than in thick fog, as long as the haze really is the better view. If he weaves, start by looking at the driver.
That is also why the earlier sections built the machinery in that order. The floor gave us the baseline. The surface gave us the map. The excess line marked where corrections turn harmful. Kappa predicted which designs cross it. The window was the visible symptom. This theorem gives us a diagnostic test, not a complete diagnosis. You do not just learn where the filter failed. Under the right information-ordering conditions, the shape can prove that the filter is not behaving optimally. That points the investigation toward the filter's design, even though the shape alone cannot tell you exactly what went wrong.
And the flip side needs care. If your filter's failure set is a clean threshold, that does not prove the design is good. Optimal filters and non-optimal filters alike can produce thresholds. The absence of a window is not a certificate of anything. What the shape gives you is one direction of proof. The strange shapes convict. The plain ones stay silent.
In the paper. The certificate is Corollary 7.4, following Theorem 7.2, and the answer is summarized in §7.6. The optimal filter that windows without the ordering is Proposition 6.10 and Counterexample 6.11. Scope limits are §9.3.
(I welcome any and all feedback- Full Thesis Located @ https://zenodo.org/records/23439075 )