NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Secure State Estimation against Sensor Attacks in the Presence of Noise

Shaunak Mishra, Yasser Shoukry, Nikhil Karamchandani, Suhas N. Diggavi, Paulo Tabuada · DOI

Abstract

We consider the problem of estimating the state of a noisy linear dynamical system when an unknown subset of sensors is arbitrarily corrupted by an adversary. We propose a secure state estimation algorithm and derive optimal bounds on the achievable state estimation error given an upper bound on the number of attacked sensors. The proposed state estimator involves Kalman filters operating over subsets of sensors to search for a reliable sensor subset. To improve search time, we propose Satisfiability Modulo Theory (SMT) based techniques to exploit the combinatorial nature of searching over sensor subsets. Finally, we provide a coding theoretic view of attack detection and state estimation in noiseless systems.

Introduction

Modern Cyber-Physical Systems (CPS), such as power grids and autonomous vehicles, rely heavily on sensor data for state estimation and control. These systems face two primary challenges: natural Gaussian noise and malicious sensor attacks. While classical methods like the Kalman filter effectively manage noise, and recent secure estimation research addresses attacks in noiseless settings, combining these two remains a significant challenge. The core difficulty lies in distinguishability: determining whether a sensor discrepancy is a random noise spike or a calculated adversarial move. This paper introduces a robust framework that achieves optimal estimation error bounds while significantly outperforming exhaustive search methods.

Methodology

The proposed approach addresses the problem through several key components:

1. Effective Attacks and the Residue Test

The authors define an (\epsilon, s)-effective attack as one that causes the estimation error to exceed the noise floor by more than a threshold \epsilon. To detect these, they employ a "block residue test" (Algorithm 1). A Kalman filter runs on a subset of sensors, comparing predicted outputs with actual measurements over a time window. If the residue—the average squared difference—exceeds a specific threshold, the subset is flagged as compromised.

Residue test performance over time, illustrating the detection of effective attacks against a threshold (red dashed line).

Identifying a "clean" subset of sensors is a combinatorial problem. For p sensors with k attacked, there are \binom{p}{p-k} possible subsets. To avoid exhaustive search, the authors utilize Satisfiability Modulo Theory (SMT). This method uses a Boolean SAT solver to navigate the search space and a "Theory solver" (the residue test) to prune invalid branches, drastically reducing computation time.

Search tree representation of the combinatorial sensor subset space used in the SMT-based search algorithm.

3. Coding Theory Interpretation

A novel contribution of this work is relating "sparse observability" to the Hamming distance in classical error-correcting codes. The ability of a system to tolerate k sensor attacks is shown to be mathematically equivalent to a code having sufficient Hamming distance to correct k errors.

Results

The algorithms were validated using synthetic numerical simulations:

  • Detection Accuracy: In a system with 20 states and 5 sensors (2 attacked), the residue detector identified effective attacks with high probability as the observation window increased.
  • Computational Speedup: In simulations with 15 sensors, the SMT-based search outperformed exhaustive search by an order of magnitude. While exhaustive search time grew exponentially, the SMT approach remained relatively flat, indicating scalability for larger sensor arrays.
  • Optimality: The proposed estimator matches the performance of an "oracle" estimator that knows exactly which sensors are attacked, achieving the theoretical lower bound for estimation error.

Conclusion

This research provides a scalable and optimal framework for secure state estimation in noisy environments. By focusing on "effective" attacks and leveraging SMT solvers, the approach bridges the gap between noise-robust filtering and attack-resilient estimation. Future work includes extending these proofs to dynamic adversaries who switch attacked sensors over time and implementing these algorithms for non-linear dynamical systems.

Summary updated

BibTeX
@article{mishra2015secure,
  author = {Shaunak Mishra and Yasser Shoukry and Nikhil Karamchandani and Suhas N. Diggavi and Paulo Tabuada},
  title = {{Secure State Estimation against Sensor Attacks in the Presence of Noise}},
  journal = {IEEE Transactions on Control of Network Systems},
  year = {2015},
  doi = {10.1109/tcns.2016.2606880},
}
Figure