A robot or vehicle that sends its sensor readings to an untrusted cloud for position estimation faces two problems at once. Real sensors produce non-Gaussian errors: radio range measurements jump when a wall blocks the line of sight, and satellite positions spike in urban canyons. The usual fix is a robust filter that down-weights any measurement that disagrees too much with the prediction. If the cloud must compute on encrypted data, though, that fix is close to unaffordable. Homomorphic encryption (arithmetic performed directly on ciphertexts) supports only additions and multiplications cheaply. The outlier weight in a robust filter is an exponential of the squared prediction error, and approximating it with a polynomial either fails on large outliers or uses up the multiplicative budget within a few steps. Today's encrypted estimators therefore run plain linear Kalman filters, and plain linear filters are the ones that break on real sensor data.
We claim that outlier rejection does not need a precise exponential. It needs only a few bits: is this residual normal, suspicious, or an outlier? We propose an encrypted filter whose only nonlinear operation is one low-precision table lookup per measurement. The lookup maps a coarsely quantized, normalized residual to a weight drawn from a small set. Everything else is a linear update with gains computed offline. Lattice-based schemes can evaluate such a table lookup as a byproduct of the noise-refreshing step called bootstrapping (Circuit Bootstrapping: Faster and Smaller). This fixes the cost of robustness at one bootstrap per measurement channel per step, whatever the tail shape. We will validate the design on physical hardware with real wireless links, because encrypted state estimation has so far been evaluated almost entirely in clean simulation.
Core Claim
The robust filters that work on physical data, maximum correntropy filters (Maximum Correntropy Kalman Filter; Robust Central Difference Kalman Filter With Mixture Correntropy), reduce in practice to a per-residual reweighting. Under encryption, the precision of that reweighting is the expensive part and the part that matters least. This mirrors a finding from private neural network inference: networks tolerate errors in the sign computation inside ReLU, and truncating low-order bits cuts circuit cost substantially (Circa: Stochastic ReLUs for Private Deep Learning). We expect state estimators to tolerate weights quantized to two or three bits. If they do, the robust step can be a lookup table and need not be a polynomial. The lookup's own bootstrap also refreshes ciphertext noise in the weight path, which helps with the long-horizon overflow that limits recursive encrypted estimation (Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption).
Concretely, let $\hat{x}_k$ be the encrypted state estimate at step $k$, $A$ and $C$ the known dynamics and measurement matrices, and $y_k$ the encrypted measurement vector with channels $i = 1, \dots, m$. The cloud computes the residual $r_{k,i} = y_{k,i} - c_i A \hat{x}_{k-1}$ linearly, using $c_i$, the $i$-th row of $C$. It then bootstraps a quantized version of $r_{k,i}/s_i$, with $s_i$ an offline scale, through a lookup table. The table returns encrypted indicator bits $b_{k,i,j}$ for weight levels $w_j$, $j = 1, \dots, L$. The update is
$$\hat{x}_k = A\hat{x}_{k-1} + \sum_{i=1}^{m} \sum_{j=1}^{L} b_{k,i,j}\, w_j\, \kappa_i\, r_{k,i},$$
where $\kappa_i$ is the $i$-th column of a steady-state gain computed offline. That gain can be the standard Kalman gain or the Wasserstein-robust gain of Distributionally Robust Kalman Filter. Each product of an encrypted bit with an encrypted residual has multiplicative depth one. The thresholds and levels $w_j$ are fitted offline to recorded residuals. Scaling a gain column by $w_j$ is an approximation to a correntropy filter's covariance-inflated reweighting. We test that approximation in plaintext before any encryption.
Relation to Prior Work
The closest work is Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption. It encrypts zonotope centers with Paillier, a scheme that supports only additions and scalar multiplication. It runs at 2.3–3.2 ms per step on a CrazyFlie quadcopter with Vicon ground truth. That paper sets the bar for real-hardware encrypted estimation, but it assumes bounded noise and cannot evaluate any nonlinear outlier weight. We keep its real-testbed ethos and add the one nonlinearity it lacks.
The survey Privacy-Preserving State Estimation in the Presence of Eavesdroppers motivates the gap. Encrypted Kalman filtering there is linear and largely simulated, and robust non-Gaussian estimators are absent.
The obvious bridge suggested by the literature is to run the distributionally robust Kalman gain under Paillier, since its online update is linear. We treat that as a baseline, not as our contribution. A fixed linear gain is robust in the minimax mean-squared-error sense over a set of noise distributions. It still passes every individual spike straight into the estimate, so it cannot reject an isolated outlier. That paper, like Regularization for distributionally robust state estimation and prediction, was evaluated only on synthetic systems.
Three papers supply the plaintext targets and the physical evidence that robustness matters:
- Mixture-correntropy filter. Robust Central Difference Kalman Filter With Mixture Correntropy cuts East-velocity RMSE from 0.651 to 0.105 m/s in a car field test.
- Skew-Laplace variational filter. Gaussian Variational Inference with Non-Gaussian Factors shows that real UWB non-line-of-sight errors are positively skewed in ways synthetic uniform noise misses. Its method is offline-only.
- IMM-MCCKF. State Parameter Fusion Estimation for Intelligent Vehicles Based on IMM-MCCKF reports large gains over cubature filters, but only in CarSim.
On the cryptographic side, SAFENet and SecureNets document the polynomial-degree trade-off we avoid. Circa motivates the low-precision hypothesis. Circuit bootstrapping supplies the multi-value lookup we reuse.
Research Program
The work proceeds in three stages, and each can falsify the idea before the next begins.
Stage 1: plaintext quantization. We measure how much of a correntropy filter's benefit survives when its continuous weight is replaced by $L \in \{2, 4, 8\}$ levels with fitted thresholds and fixed per-channel gains. Asymmetric thresholds are allowed, to capture skewed non-line-of-sight delays. The test runs on real logs.
Stage 2: encrypted implementation. We implement the filter in an RLWE scheme with functional bootstrapping, following Circuit Bootstrapping: Faster and Smaller. For each step we count:
- bootstraps,
- key size,
- noise growth in the state path, which does not get refreshed for free and may need periodic re-encryption or an occasional state bootstrap.
We report how often state refresh is required over trajectories far longer than the 488.6 s simulations typical of this literature.
Stage 3: deployment and logging. We run the system end to end over a physical wireless link between a sensing robot and a remote server, logging per-step deadline misses. We then publish the recorded raw measurements, ground truth, and timing traces as a benchmark. A public dataset combining non-Gaussian sensor logs with encryption timing is currently missing.
Baselines
Naive reference: unencrypted standard Kalman filter. This is a standard linear Kalman filter run on the same real logs, unencrypted and with a constant steady-state gain. It sets the accuracy floor and the plaintext latency floor. The car field test reports 0.432 ms per step for a standard central-difference filter (Robust Central Difference Kalman Filter With Mixture Correntropy).
Linear encrypted baselines: Paillier Kalman filter and distributionally robust gain. Both run under Paillier exactly as in Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption. The second uses the robust gain from Distributionally Robust Kalman Filter, with its Wasserstein radius tuned on the same calibration logs. These are the strongest encrypted competitors because they are cheap; the reported per-step time for the Paillier protocol is 2.3–3.2 ms. Neither paper reports an RMSE on real non-Gaussian data, and no plaintext-versus-encrypted overhead number was found on Lacuna. We will measure both baselines ourselves on identical hardware.
Accuracy target: continuous maximum correntropy filter, unencrypted. This is the plaintext filter whose benefit we are trying to preserve, with kernel bandwidth tuned under the same search budget given to our thresholds. The reported field number is 0.105 m/s East-velocity RMSE, against 0.651 m/s for the standard filter, on the car testbed. On UWB, the Skew-Laplace variational method reports 0.046 m translational RMSE in simulation. No reported real-world RMSE was found on Lacuna for that testbed.
Polynomial competitor. A degree-$d$ Chebyshev approximation of the correntropy weight, evaluated under leveled encryption with $d$ swept over a range, using the same scheme parameters search budget.
Key ablation: quantization alone. Our quantized filter run in plaintext. This isolates the quantization cost from the encryption cost.
Success criterion. We beat the linear encrypted baselines if we close most of the RMSE gap to the continuous correntropy filter on real data. We must do so within a per-step latency compatible with the sensor rate, without polynomial-induced bootstrapping.
Why not just…?
Why not just encrypt a distributionally robust Kalman filter with Paillier? This is the main threat, and it may suffice when real noise is mostly a shifted or multimodal distribution and not isolated spikes. It cannot down-weight a single bad measurement, because its gain is fixed. The field evidence from the correntropy navigation paper suggests spikes dominate the error there. The decisive experiment is to run both filters on the same real UWB and GNSS logs. If the robust linear gain comes within a few percent of the correntropy filter, our lookup step is not worth its cost, and we will report that.
Why not just approximate the exponential kernel with a polynomial? Low-degree polynomials diverge outside a bounded interval, so they amplify exactly the large outliers they should suppress. High degrees add multiplicative depth that forces bootstrapping anyway (SAFENet; SecureNets). Our polynomial sweep reports both accuracy and bootstraps per step. If some degree at or below the lookup's cost matches its accuracy, the polynomial wins.
Why not just reject outliers at the sensor, before encryption? A sensor can flag some faults from its own history, for example a range jump that violates a speed limit. It does not hold the fused prediction, so it misses errors that are only visible against other channels. A slowly growing non-line-of-sight bias is one example. We will implement sensor-side gating using each sensor's own measurement history and measure how much of the robust benefit it recovers. If it recovers nearly all of it, the encrypted lookup is unnecessary for that sensor type.
Why not use differential privacy instead of encryption? Added privacy noise directly degrades the estimate and voids guaranteed bounds (Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption). Injecting heavy-tailed noise into a heavy-tailed problem also compounds the difficulty we are trying to solve. We include this only as a reference point for the trade-off between privacy and accuracy.
Proposed Experiments
Testbeds. We reproduce the two physical setups in the file:
- an indoor UWB ground robot with metal, wood, and foam obstacles and Vicon ground truth, as in Gaussian Variational Inference with Non-Gaussian Factors;
- a CrazyFlie-class quadcopter with UWB, as in Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption.
We will also add a car-mounted MEMS–GNSS run if a tactical-grade reference unit is available, following the correntropy navigation paper. Each platform gets matched simulations with synthetic Gaussian-mixture noise, so every result can be reported as a gap between simulation and reality.
Metrics. We report:
- translational RMSE against ground truth;
- average normalized estimation error squared, for consistency;
- per-step end-to-end latency over the real wireless link, including ciphertext transmission;
- deadline-miss rate at the sensor rate;
- bootstraps and key size per step;
- steps until the state ciphertext needs a refresh.
Decisive checks. Three results determine whether the idea holds.
- Quantization check. The plaintext quantized filter with $L = 4$ levels must retain most of the continuous correntropy filter's RMSE improvement over the standard filter on real logs. If it does not, the core claim fails.
- Encryption cost check. Under encryption, the quantized filter must beat both linear encrypted baselines on RMSE while keeping deadline misses near zero at the UWB update rate.
- Sim-to-real check. We tune thresholds in simulation, deploy them on hardware, and compare against thresholds tuned on real calibration logs. The skewness reported by the UWB study predicts that simulation-tuned symmetric thresholds will underperform. Measuring that loss tells practitioners whether encrypted robust filters can be configured without real data.
References
- Circuit Bootstrapping: Faster and Smaller
- Maximum Correntropy Kalman Filter
- Robust Central Difference Kalman Filter With Mixture Correntropy: A Case Study for Integrated Navigation
- Circa: Stochastic ReLUs for Private Deep Learning
- Privacy Preserving Set-Based Estimation Using Partially Homomorphic Encryption
- Distributionally Robust Kalman Filter
- Privacy-Preserving State Estimation in the Presence of Eavesdroppers: A Survey
- Regularization for Distributionally Robust State Estimation and Prediction
- Gaussian Variational Inference With Non-Gaussian Factors for State Estimation: A UWB Localization Case Study
- State Parameter Fusion Estimation for Intelligent Vehicles Based on IMM-MCCKF
- SAFENet: A Secure, Accurate and Fast Neural Network Inference
- SecureNets: Secure Inference of Deep Neural Networks on an Untrusted Cloud