ECATS: Explainable-by-design concept-based anomaly detection for time series
Irene Ferfoglia, Gaia Saveri, Laura Nenzi, Luca Bortolussi
TL;DR
The paper addresses the need for explainable anomaly detection in time-series CPS data. It introduces ECATS, a neuro-symbolic, concept-based approach that represents concepts as $STL$ formulae and learns their embeddings via cross-attention to detect anomalies. The method yields both high classification performance and interpretable explanations expressed as STL concepts, providing local and global insights and demonstrating robustness on CPS benchmarks. This work advances trustworthy CPS monitoring by delivering human-readable, STL-based explanations while maintaining strong detection accuracy, with potential for extension to multivariate data and semi-supervised settings.
Abstract
Deep learning methods for time series have already reached excellent performances in both prediction and classification tasks, including anomaly detection. However, the complexity inherent in Cyber Physical Systems (CPS) creates a challenge when it comes to explainability methods. To overcome this inherent lack of interpretability, we propose ECATS, a concept-based neuro-symbolic architecture where concepts are represented as Signal Temporal Logic (STL) formulae. Leveraging kernel-based methods for STL, concept embeddings are learnt in an unsupervised manner through a cross-attention mechanism. The network makes class predictions through these concept embeddings, allowing for a meaningful explanation to be naturally extracted for each input. Our preliminary experiments with a simple CPS-based dataset show that our model is able to achieve great classification performance while ensuring local interpretability.
