Abstract
We propose a global post-hoc XAI method to interpret Long Short-Term Memory (LSTM) models for univariate time series classification. Our approach integrates Symbolic Aggregate approXimation (SAX) to convert continuous time series into symbolic representations during preprocessing. We then apply k-means clustering to the activated hidden states of the LSTM, from which we extract Deterministic Finite Automata (DFA), which provides a transparent and interpretable explanation of the model’s decision-making process. Experiments on synthetic and real-world datasets demonstrate high fidelity between DFA and LSTM, with enhanced interpretability for high-stakes domains like healthcare and power demand forecasting.
| Original language | English |
|---|---|
| Pages (from-to) | 26-38 |
| Number of pages | 13 |
| Journal | CEUR Workshop Proceedings |
| Volume | 3910 |
| Publication status | Published - 2024 |
| Externally published | Yes |
| Event | 32nd Irish Conference on Artificial Intelligence and Cognitive Science, AICS 2024 - Dublin, Ireland Duration: 9 Dec 2024 → 10 Dec 2024 |
Keywords
- Deterministic Finite State Automata (DFA)
- Explainable AI (XAI)
- interpretability
- k-means clustering
- LSTM
- RNN