Explanation Space: A New Perspective into Time Series Interpretability

Shahbaz Rezaei,Xin Liu
2024-09-05
Abstract:Human understandable explanation of deep learning models is necessary for many critical and sensitive applications. Unlike image or tabular data where the importance of each input feature (for the classifier's decision) can be directly projected into the input, time series distinguishable features (e.g. dominant frequency) are often hard to manifest in time domain for a user to easily understand. Moreover, most explanation methods require a baseline value as an indication of the absence of any feature. However, the notion of lack of feature, which is often defined as black pixels for vision tasks or zero/mean values for tabular data, is not well-defined in time series. Despite the adoption of explainable AI methods (XAI) from tabular and vision domain into time series domain, these differences limit the application of these XAI methods in practice. In this paper, we propose a simple yet effective method that allows a model originally trained on time domain to be interpreted in other explanation spaces using existing methods. We suggest four explanation spaces that each can potentially alleviate these issues in certain types of time series. Our method can be readily adopted in existing platforms without any change to trained models or XAI methods. The code is available at <a class="link-external link-https" href="https://github.com/shrezaei/TS-X-spaces" rel="external noopener nofollow">this https URL</a>.
Machine Learning,Artificial Intelligence
What problem does this paper attempt to address?
The paper aims to address the interpretability issues of time series data in Explainable Artificial Intelligence (XAI) methods. Specifically, the paper points out that in image or tabular data, the importance of input features to classifier decisions can be intuitively demonstrated, but in time series data, this importance is often difficult to understand. Additionally, most interpretation methods require a baseline value to represent the absence of features, a concept that is not clear in time series data. Therefore, although XAI methods have been applied to image and tabular data, these differences limit their practical application in time series data. To address these issues, the authors propose a simple and effective method that allows models originally trained in the time domain to be interpreted in other explanation spaces through existing methods. They suggest four explanation spaces, each of which can alleviate specific types of problems in time series data to some extent. This method can be adopted by existing platforms without changing the trained models or XAI methods. The paper also introduces two new explanation spaces—the min-zero space and the difference space—to address the baseline problem and demonstrates the effectiveness of these new spaces on different types of time series data.