Anomaly Detection based on Information-Theoretic Measures and Particle Filtering Algorithms

Marcos E. Orchard, Benjamín E. Olivares, Matías A. Cerda, Jorge F. SilvaAnnual 2012

Abstract

This paper presents an anomaly detection module that uses information-theoretic measures to generate a fault indicator from a particle-filtering-based estimate of the posterior state pdf of a dynamic system. The selected measure allows isolating events where the particle filtering algorithm is unable to track the process measurements using a predetermined state transition model, which translates into either a sudden or a steady increment in the differential entropy of the state pdf estimate (evidence of an anomaly on the system). Anomaly detection is carried out by setting a threshold for the entropy value. Actual data illustrating aging of an energy storage device (specifically battery state-of-health (SOH) measurements [A-h]) are used to test and validate the proposed framework.

Introduction

In the field of Prognostics and Health Management (PHM), accurately tracking the health of a system is critical for predicting failure. However, real-world systems often exhibit anomalous behaviors that deviate from standard mathematical models. This paper, presented at the 2012 Annual Conference of the Prognostics and Health Management Society, proposes a novel method to detect these anomalies by monitoring the "uncertainty" or "confusion" of a tracking algorithm using information-theoretic measures.

The Challenge: Battery Capacity Regeneration

A primary application of this research is monitoring Li-Ion batteries. While batteries generally degrade over time, they frequently exhibit "capacity regeneration"—temporary increases in capacity due to temperature fluctuations or chemical recovery. Standard tracking algorithms, such as Particle Filters (PF), typically assume a steady decay. When faced with a sudden jump in capacity, these filters struggle to reconcile the new data with their internal models. The challenge is to detect these rare events immediately so the prognostic system can adapt.

Methodology: Entropy as a "Surprise" Meter

The authors propose using differential entropy ($H$) as a real-time indicator for anomalies. The process works as follows:

  1. Particle Filtering: A PF maintains a set of "particles" representing the probability density function (PDF) of the system's state (e.g., battery health).
  2. Uncertainty Monitoring: If the system behaves as expected, the particles remain tightly clustered, and the entropy of the PDF is low and stable.
  3. Anomaly Detection: When an anomaly occurs, the model's predictions clash with the measurements. The PF must drastically adjust its particle weights to account for the new data, causing the PDF to spread or shift. This results in a sharp spike in differential entropy.

The researchers derived a specific mathematical formula to compute this entropy directly from particle weights and likelihoods, making it suitable for online, real-time monitoring.

Key Insights: The "Sweet Spot" for Particles

The study explored how the number of particles ($N$) affects detection. While more particles lead to a "cleaner" entropy signal with fewer false alarms, there are diminishing returns. They found that $N=100$ provided a great balance between detection accuracy and computational cost. Using $N=500$ offered a more stable baseline but required significantly more processing power, while $N=50$ introduced excessive noise into the baseline.

Key Results

The entropy-based indicator proved highly effective at identifying anomalies in the NASA Ames battery dataset. Entropy spikes were observed to be more than eight times the baseline value exactly when capacity regeneration occurred (specifically at cycles 19, 30, and 47).

Figure 1: Capacity degradation (top) and corresponding entropy spikes (bottom) for N=100 particles, showing clear detection of regeneration events.

The method successfully flagged anomalies the moment they appeared, providing the "early warning" necessary for prognostic modules to reset or adjust their predictions.

Discussion and Future Work

While the proposed method provides a clear, model-agnostic signal for anomalies, some challenges remain. Setting universal thresholds for entropy spikes across different systems and noise levels requires further investigation. Additionally, the computational cost of calculating entropy at every step must be considered for low-power embedded applications. Future work will focus on "mitigation"—automatically adjusting the Particle Filter's internal model once an anomaly is detected to ensure long-term prognostic accuracy.

Summary updated

BibTeX
@inproceedings{orchard2012anomaly,
  author = {Marcos E. Orchard and Benjamín E. Olivares and Matías A. Cerda and Jorge F. Silva},
  title = {{Anomaly Detection based on Information-Theoretic Measures and Particle Filtering Algorithms}},
  booktitle = {Annual},
  year = {2012},
  doi = {10.36001/phmconf.2012.v4i1.2113},
}
Figure