TimeSHAP: Explaining Recurrent Models Through Sequence Perturbations

Abstract

Recurrent neural networks are a standard building block in numerous machine learning domains, from natural language processing to time-series classification. While their application has grown ubiquitous, understanding of their inner workings is still lacking. In practice, the complex decision-making in these models is seen as a black-box, creating a tension between accuracy and interpretability. Moreover, the ability to understand the reasoning process of a model is important in order to debug it and, even more so, to build trust in its decisions. Although considerable research effort has been guided towards explaining black-box models in recent years, recurrent models have received relatively little attention. Any method that aims to explain decisions from a sequence of instances should assess, not only feature importance, but also event importance, an ability that is missing from state-of-the-art explainers. In this work, we contribute to filling these gaps by presenting TimeSHAP, a model-agnostic recurrent explainer that leverages KernelSHAP's sound theoretical footing and strong empirical results. As the input sequence may be arbitrarily long, we further propose a pruning method that is shown to dramatically improve its efficiency in practice.

Cite

Text

Sousa et al. "TimeSHAP: Explaining Recurrent Models Through Sequence Perturbations." NeurIPS 2020 Workshops: HAMLETS, 2020.

Markdown

[Sousa et al. "TimeSHAP: Explaining Recurrent Models Through Sequence Perturbations." NeurIPS 2020 Workshops: HAMLETS, 2020.](https://mlanthology.org/neuripsw/2020/sousa2020neuripsw-timeshap/)

BibTeX

@inproceedings{sousa2020neuripsw-timeshap,
  title     = {{TimeSHAP: Explaining Recurrent Models Through Sequence Perturbations}},
  author    = {Sousa, João and Saleiro, Pedro and Cruz, André F. and Figueiredo, Mario A. T. and Bizarro, Pedro},
  booktitle = {NeurIPS 2020 Workshops: HAMLETS},
  year      = {2020},
  url       = {https://mlanthology.org/neuripsw/2020/sousa2020neuripsw-timeshap/}
}