EXPLAINABLE AI FOR TIME SERIESANOMALY DETECTION

The increasing use of complex Artificial Intelligence (AI) models, particularly in time seriesanomaly detection across various domains like finance, industry, and cybersecurity, has highlighteda critical need for transparency and interpretability. Many current AI systems operate as ’blackboxes’, making it difficult to understand their decision-making processes, which hinders trust andadoption, especially in critical applications. Existing anomaly detection tools often lack essentialfeatures such as user-friendly interfaces, modularity, and, most importantly, the ability to explainwhy a data point is classified as anomalous.This thesis addresses these challenges by introducing the Explainable Anomaly ClassificationTool (EXACT), a novel, modular software tool, integrating time series anomaly detection with XAItechniques. EXACT facilitates data handling, anomaly injection, model training, and explanationgeneration. We evaluate Extreme Gradient Boosting (XGBoost), Decision Tree (DT), and LongShort-Term Memory with Autoencoder (LSTM-AE) models alongside SHAP, LIME, and DiCEmethods across four benchmark datasets. Machine Learning performance is assessed using metricslike F1-score and recall, while XAI methods are evaluated via Normalised Discounted CumulativeGain (NDCG) for feature importance and counterfactual analysis.Key findings show XGBoost offers balanced performance, DT is fastest, and LSTM-AE is com-putationally intensive but captures temporal aspects. SHAP provides robust feature rankings (highNDCG) but can be slow; LIME offers faster but sometimes less reliable explanations; and DiCE gen-erates valuable "what-if" counterfactuals. The study highlights crucial trade-offs between accuracy,interpretability, and computational cost. The EXACT tool and our empirical insights contributeto advancing trustworthy AI by providing a practical tool and guidance for applying and evaluatingexplainable anomaly detection, making these techniques more accessible and understandable.

Publication Details

Journal
DiVA (Mälardalen University College)
Published
2025-01-01
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

EXPLAINABLE AI FOR TIME SERIESANOMALY DETECTION

DiVA (Mälardalen University College)
Explainable Artificial Intelligence (XAI)
article

EXPLAINABLE AI FOR TIME SERIESANOMALY DETECTION

article en

Abstract

The increasing use of complex Artificial Intelligence (AI) models, particularly in time seriesanomaly detection across various domains like finance, industry, and cybersecurity, has highlighteda critical need for transparency and interpretability. Many current AI systems operate as ’blackboxes’, making it difficult to understand their decision-making processes, which hinders trust andadoption, especially in critical applications. Existing anomaly detection tools often lack essentialfeatures such as user-friendly interfaces, modularity, and, most importantly, the ability to explainwhy a data point is classified as anomalous.This thesis addresses these challenges by introducing the Explainable Anomaly ClassificationTool (EXACT), a novel, modular software tool, integrating time series anomaly detection with XAItechniques. EXACT facilitates data handling, anomaly injection, model training, and explanationgeneration. We evaluate Extreme Gradient Boosting (XGBoost), Decision Tree (DT), and LongShort-Term Memory with Autoencoder (LSTM-AE) models alongside SHAP, LIME, and DiCEmethods across four benchmark datasets. Machine Learning performance is assessed using metricslike F1-score and recall, while XAI methods are evaluated via Normalised Discounted CumulativeGain (NDCG) for feature importance and counterfactual analysis.Key findings show XGBoost offers balanced performance, DT is fastest, and LSTM-AE is com-putationally intensive but captures temporal aspects. SHAP provides robust feature rankings (highNDCG) but can be slow; LIME offers faster but sometimes less reliable explanations; and DiCE gen-erates valuable "what-if" counterfactuals. The study highlights crucial trade-offs between accuracy,interpretability, and computational cost. The EXACT tool and our empirical insights contributeto advancing trustworthy AI by providing a practical tool and guidance for applying and evaluatingexplainable anomaly detection, making these techniques more accessible and understandable.

DiVA (Mälardalen University College)
Openalex Percentile: Top 72%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.