Interpreting Outliers in Time Series Data through Decoding Autoencoder
Patrick Knab, Sascha Marton, Christian Bartelt, Robert Fuder
TL;DR
The paper addresses the challenge of interpreting outliers in manufacturing time series when using opaque autoencoder models. It applies XAI techniques to the encoder of a 1D CAE to generate latent-feature heatmaps and introduces Aggregated Explanatory Ensemble (AEE) to fuse Grad-CAM, LIME, SHAP, and LRP explanations into a single, more informative view, complemented by a quality measure QM_e that evaluates explanation impact in latent space. The approach is validated through a large industrial dataset, combining qualitative domain-expert assessment with quantitative QM_e analysis, and demonstrates improved interpretability of anomalies without sacrificing detection performance. The work advances practical explainability in safety-critical manufacturing settings by providing actionable, encoder-centered insights and a systematic method to compare explanations.
Abstract
Outlier detection is a crucial analytical tool in various fields. In critical systems like manufacturing, malfunctioning outlier detection can be costly and safety-critical. Therefore, there is a significant need for explainable artificial intelligence (XAI) when deploying opaque models in such environments. This study focuses on manufacturing time series data from a German automotive supply industry. We utilize autoencoders to compress the entire time series and then apply anomaly detection techniques to its latent features. For outlier interpretation, we (i) adopt widely used XAI techniques to the autoencoder's encoder. Additionally, (ii) we propose AEE, Aggregated Explanatory Ensemble, a novel approach that fuses explanations of multiple XAI techniques into a single, more expressive interpretation. For evaluation of explanations, (iii) we propose a technique to measure the quality of encoder explanations quantitatively. Furthermore, we qualitatively assess the effectiveness of outlier explanations with domain expertise.
