Towards Best Practice of Interpreting Deep Learning Models for EEG-based Brain Computer Interfaces

Jian Cui, Liqiang Yuan, Zhaoxiang Wang, Ruilin Li, Tianzi Jiang
2/12/2022
cs.NEcs.HCcs.LG

Official code: cuijiancorbin/Towards-Best-Practice-of-Interpreting-Deep-Learning-Models-for-EEG-based-BCI (17 stars, Python, last commit 2022-03-15).

Abstract

As deep learning has achieved state-of-the-art performance for many tasks of EEG-based BCI, many efforts have been made in recent years trying to understand what have been learned by the models. This is commonly done by generating a heatmap indicating to which extent each pixel of the input contributes to the final classification for a trained model.

Show full abstract

Despite the wide use, it is not yet understood to which extent the obtained interpretation results can be trusted and how accurate they can reflect the model decisions. In order to fill this research gap, we conduct a study to evaluate different deep interpretation techniques quantitatively on EEG datasets. The results reveal the importance of selecting a proper interpretation technique as the initial step. In addition, we also find that the quality of the interpretation results is inconsistent for individual samples despite when a method with an overall good performance is used. Many factors, including model structure and dataset types, could potentially affect the quality of the interpretation results. Based on the observations, we propose a set of procedures that allow the interpretation results to be presented in an understandable and trusted way. We illustrate the usefulness of our method for EEG-based BCI with instances selected from different scenarios.

View on arXivView PDF

Code Implementations(1)

In this project, we implemented 7 interpretation techniques on two benchmark deep learning models "EEGNet" and "InterpretableCNN" for EEG-based BCI. The methods include: gradient×input, DeepLIFT, integrated gradient, layer-wise relevance propagation (LRP), saliency map, deconvolution, and guided backpropagation

175PythonFeb 18, 20224 years ago

Similar Papers

Cite this paper

@article{cui2022towards,
  title  = {Towards Best Practice of Interpreting Deep Learning Models for EEG-based Brain Computer Interfaces},
  author = {Jian Cui and Liqiang Yuan and Zhaoxiang Wang and Ruilin Li and Tianzi Jiang},
  year   = {2022},
  eprint = {2202.06948},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06948}
}

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/2202.06948.svg)](https://codeofpaper.com/paper/2202.06948)

Discussion