An Internet of Lying Things: Probabilistic fault detection of nonverifiable sensors

Matthew A. Wright, Roberto Horowitz · DOI

Abstract

We are experiencing an explosion in the amount of sensors measuring our activities and the world around us. These sensors are spread throughout the built environment and can help us perform state estimation and control of related systems, but they are often built and/or maintained by third parties or system users. As a result, by outsourcing system measurement to third parties, the controller must accept their measurements without being able to directly verify the sensors' correct operation. Instead, detection and rejection of measurements from faulty sensors must be done with the raw data only. Towards this goal, we present a method of detecting possibly faulty behavior of sensors. The method does not require that the control designer have any model of faulty sensor behavior. As we discuss, it turns out that the widely-used particle filter state estimation algorithm provides the ingredients necessary for a hypothesis test against all ranges of correct operating behavior, obviating the need for a fault model to compare measurements. We demonstrate the applicability of our method by demonstrating its ability to reject faulty measurements and improve state estimation accuracy in a nonlinear vehicle traffic model without information of generated faulty measurements' characteristics. In our test, we correctly identify nearly 90% of measurements as faulty or non-faulty without having any fault model. This leads to only a 3% increase in state estimation error over a theoretical 100%-accurate fault detector.

Introduction

In modern infrastructure—like "smart" power grids or traffic management systems—engineers increasingly rely on third-party data, such as GPS data from private cars. Unlike dedicated industrial sensors, these third-party devices are "black boxes." They might be poorly maintained, maliciously tampered with, or simply experience glitches that the system designer hasn't anticipated.

Traditional fault detection usually relies on analytical redundancy, comparing a sensor reading to a predicted value. However, this typically requires a model for specific failure modes (e.g., a sensor stuck at zero). When sensors fail in unpredicted ways, traditional Bayesian filters struggle because they cannot calculate the probability of the observed data without a corresponding fault model.

Methodology

The researchers leverage the Particle Filter, a popular algorithm for estimating the state of nonlinear systems, to create a nonparametric hypothesis test.

  1. Leveraging Particle Swarms: A particle filter maintains a swarm of "particles," each representing a possible system state. This swarm inherently contains the information needed to build a probability density function (PDF) of what a correct sensor reading should look like at any given moment.
  2. Nonparametric Hypothesis Testing: Instead of modeling every possible failure, the authors define a "null hypothesis" ($H_0$): the sensor is behaving correctly.
  3. The Test: When a new measurement arrives, the algorithm uses the current particle swarm to estimate the likelihood of that measurement under $H_0$. If the probability is below a significance threshold ($\alpha$), the measurement is rejected.
  4. State Update: Only vetted measurements update the system state, preventing faulty data from corrupting the estimate.
Visualizing the traffic state estimation: (a) True density state, (b) Raw speed measurements with injected faults, and (c) The filtered non-faulty speed subset.

Experimental Evaluation

The method was tested using a simulated traffic scenario on a 19-mile stretch of the I-210 West freeway in Southern California, modeled via the Cell Transmission Model (CTM).

  • Data Sources: 41 inductive loop detectors (first-party) and GNSS speed measurements from vehicles (third-party, 2% penetration).
  • Fault Injection: 30% of GNSS data was corrupted with "stopped car" glitches (zero speed) or random Gaussian noise. The detector had no prior knowledge of these fault characteristics.

Results and Discussion

The performance was evaluated using Mean Absolute Percentage Error (MAPE) for traffic density. The proposed method achieved a MAPE of 3.51% (at $\alpha = 0.01$), remarkably close to the fault-free baseline of 3.43%.

Performance metrics for different significance levels (alpha) compared to a fault-free scenario.

The system correctly identified nearly 90% of measurements as faulty or non-faulty without any fault model. While a significance level of $\alpha = 0.01$ resulted in a labeling error of approximately 11.5% (discarding some valid data), the resulting state estimate remained highly accurate—only 3% worse than a theoretical perfect detector.

Key insights include:

  • Model-Free Robustness: It is possible to identify a "lie" simply by knowing the "truth," making the filter robust against unexpected failure modes.
  • Efficiency: Since the particle filter is already running for state estimation, the computational overhead for the fault test is minimal.
  • Security: This method is a vital step toward "falsification robustness," protecting systems against malicious data spoofing.

Conclusion and Future Work

The choice of the significance level $\alpha$ remains a critical tuning parameter; future work could involve automated tuning. Additionally, while empirical results are strong, a formal mathematical proof of convergence for this "reject-then-update" loop is still needed. Finally, the system could be extended to learn fault models on the fly once a sensor is flagged, further improving detection accuracy.

Summary updated

Abstract

We are experiencing an explosion in the amount of sensors measuring our activities and the world around us. These sensors are spread throughout the built environment and can help us perform state estimation and control of related systems, but they are often built and/or maintained by third parties or system users. As a result, by outsourcing system measurement to third parties, the controller must accept their measurements without being able to directly verify the sensors' correct operation. Instead, detection and rejection of measurements from faulty sensors must be done with the raw data only. Towards this goal, we present a method of detecting possibly faulty behavior of sensors. The method does not require that the control designer have any model of faulty sensor behavior. As we discuss, it turns out that the widely-used particle filter state estimation algorithm provides the ingredients necessary for a hypothesis test against all ranges of correct operating behavior, obviating the need for a fault model to compare measurements. We demonstrate the applicability of our method by demonstrating its ability to reject faulty measurements and improve state estimation accuracy in a nonlinear vehicle traffic model without information of generated faulty measurements' characteristics. In our test, we correctly identify nearly 90% of measurements as faulty or non-faulty without having any fault model. This leads to only a 3% increase in state estimation error over a theoretical 100%-accurate fault detector.
BibTeX
@inproceedings{wright2017internet,
  author = {Matthew A. Wright and Roberto Horowitz},
  title = {{An Internet of Lying Things: Probabilistic fault detection of nonverifiable sensors}},
  booktitle = {CDC},
  year = {2017},
  url = {https://openreview.net/forum?id=MNaHT5zJzq},
}
Figure