A Global Post hoc XAI Method for Interpreting LSTM Using Deterministic Finite State Automata

Research output: Contribution to journalArticlepeer-review

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 languageEnglish
Pages (from-to)26-38
Number of pages13
JournalCEUR Workshop Proceedings
Volume3910
Publication statusPublished - 2024
Externally publishedYes
Event32nd Irish Conference on Artificial Intelligence and Cognitive Science, AICS 2024 - Dublin, Ireland
Duration: 9 Dec 202410 Dec 2024

Keywords

  • Deterministic Finite State Automata (DFA)
  • Explainable AI (XAI)
  • interpretability
  • k-means clustering
  • LSTM
  • RNN

Fingerprint

Dive into the research topics of 'A Global Post hoc XAI Method for Interpreting LSTM Using Deterministic Finite State Automata'. Together they form a unique fingerprint.

Cite this