Feature Importance Identification for Time Series Classifiers
Meng Han, Christian Wagner, Isaac Triguero · 2022 IEEE International Conference on Systems, Man, and Cybernetics (SMC) · 2022
Time series classification is a challenging research area where machine learning techniques such as deep learning perform well, yet lack interpretability. Identifying the most important features for such classifiers provides a pathway to improving their interpretability. Several Feature Importance (FI) identification methods remove the contributions of features, i.e. observations at certain time steps of, from the input and evaluate the change in the classification result to measure the importance of features. As time series features cannot simply be deleted, current techniques generally rely on replacing features with constant or random values. While effective, this approach risks unexpected results in the classification and thus feature importance estimation-as the replacements used may be different to what the classifier encountered in the training phase. This is referred to as the Out-Of-Distribution problem. The OOD problem has been recognised in image and language models but have not received much attention in the context of time series classification. This work addresses the OOD problem in FI identification for time series classifiers. Specifically, we propose a method based on Conditional Variational Autoencoder to generate possible sets of within-distribution inputs, which are used to evaluate feature importance through marginalisation. Experiments on publicly accessible datasets are carried out showing that the method identifies the most important features with higher accuracy than existing methods, providing the basis for improved explainability of time series classifiers.