This EEG Looks Like These EEGs: Interpretable Interictal Epileptiform Discharge Detection With ProtoEEG-kNN
Dennis Tang, Jon Donnelly, Alina Jade Barnett, Lesia Semenova, Jin Jing, Peter Hadar, Ioannis Karakis, Olga Selioutski, Kehan Zhao, M. Brandon Westover, Cynthia Rudin
TL;DR
The paper tackles automated detection of interictal epileptiform discharges (IEDs) in EEG and the need for interpretable AI in clinical practice. It introduces ProtoEEG-kNN, an interpretable, prototype-based framework that learns a meaningful embedding via a ProtoPNet-inspired space augmented with an interpretable similarity metric over interpretable statistics (ISFs) and channel-wise weights, then uses a top-$k$ nearest-neighbors rule with $k=10$ over training samples. Results show state-of-the-art accuracy on a large, multi-center EEG dataset, supported by a user study indicating that explanations align with expert reasoning. The work provides a practical path for integrating human-understandable ML into epilepsy diagnostics and highlights the need for external validation across diverse patient populations.
Abstract
The presence of interictal epileptiform discharges (IEDs) in electroencephalogram (EEG) recordings is a critical biomarker of epilepsy. Even trained neurologists find detecting IEDs difficult, leading many practitioners to turn to machine learning for help. While existing machine learning algorithms can achieve strong accuracy on this task, most models are uninterpretable and cannot justify their conclusions. Absent the ability to understand model reasoning, doctors cannot leverage their expertise to identify incorrect model predictions and intervene accordingly. To improve the human-model interaction, we introduce ProtoEEG-kNN, an inherently interpretable model that follows a simple case-based reasoning process. ProtoEEG-kNN reasons by comparing an EEG to similar EEGs from the training set and visually demonstrates its reasoning both in terms of IED morphology (shape) and spatial distribution (location). We show that ProtoEEG-kNN can achieve state-of-the-art accuracy in IED detection while providing explanations that experts prefer over existing approaches.
