Class-Specific Explainability for Deep Time Series Classifiers

Ramesh Doddaiah, Prathyush Parvatharaju, Elke Rundensteiner, Thomas Hartvigsen
10/11/2022
cs.LG

Official code: rameshdoddaiah/DEMUX (7 stars, TypeScript, MIT, last commit 2023-05-21).

Abstract

Explainability helps users trust deep learning solutions for time series classification. However, existing explainability methods for multi-class time series classifiers focus on one class at a time, ignoring relationships between the classes.

Show full abstract

Instead, when a classifier is choosing between many classes, an effective explanation must show what sets the chosen class apart from the rest. We now formalize this notion, studying the open problem of class-specific explainability for deep time series classifiers, a challenging and impactful problem setting. We design a novel explainability method, DEMUX, which learns saliency maps for explaining deep multi-class time series classifiers by adaptively ensuring that its explanation spotlights the regions in an input time series that a model uses specifically to its predicted class. DEMUX adopts a gradient-based approach composed of three interdependent modules that combine to generate consistent, class-specific saliency maps that remain faithful to the classifier's behavior yet are easily understood by end users. Our experimental study demonstrates that DEMUX outperforms nine state-of-the-art alternatives on five popular datasets when explaining two types of deep time series classifiers. Further, through a case study, we demonstrate that DEMUX's explanations indeed highlight what separates the predicted class from the others in the eyes of the classifier. Our code is publicly available at https://github.com/rameshdoddaiah/DEMUX.

View on arXivView PDF

Code Implementations(1)

MIT
70TypeScript, Jupyter NotebookSep 14, 20223 years agoMIT

Similar Papers

Cite this paper

@article{doddaiah2022classspecific,
  title  = {Class-Specific Explainability for Deep Time Series Classifiers},
  author = {Ramesh Doddaiah and Prathyush Parvatharaju and Elke Rundensteiner and Thomas Hartvigsen},
  year   = {2022},
  eprint = {2210.05411},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05411}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.05411.svg)](https://codeofpaper.com/paper/2210.05411)

Discussion