JOURNAL ARTICLE

Discord-based counterfactual explanations for time series classification

Omar BahriPeiyu LiSoukaïna Filali BoubrahimiShah Muhammad Hamdi

Year: 2024 Journal:   Data Mining and Knowledge Discovery Vol: 38 (6)Pages: 3347-3371   Publisher: Springer Science+Business Media

Abstract

Abstract The opacity inherent in machine learning models presents a significant hindrance to their widespread incorporation into decision-making processes. To address this challenge and foster trust among stakeholders while ensuring decision fairness, the data mining community has been actively advancing the explainable artificial intelligence paradigm. This paper contributes to the evolving field by focusing on counterfactual generation for time series classification models, a domain where research is relatively scarce. We develop, a post-hoc, model agnostic counterfactual explanation algorithm that leverages the Matrix Profile to map time series discords to their nearest neighbors in a target sequence and use this mapping to generate new counterfactual instances. To our knowledge, this is the first effort towards the use of time series discords for counterfactual explanations. We evaluate our algorithm on the University of California Riverside and University of East Anglia archives and compare it to three state-of-the-art univariate and multivariate methods.

Keywords:
Counterfactual thinking Series (stratigraphy) Computer science Time series Artificial intelligence Data mining Pattern recognition (psychology) Machine learning Psychology Social psychology Geology

Metrics

3
Cited By
2.14
FWCI (Field Weighted Citation Impact)
35
Refs
0.80
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Time Series Analysis and Forecasting
Physical Sciences →  Computer Science →  Signal Processing
Anomaly Detection Techniques and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Text Analysis Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.