NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning to detect the onset of slow activity after a generalized tonic-clonic seizure

Carroll Vance, Yejin Kim, Guo-Qiang Zhang, Samden D. Lhatoo, Shiqiang Tao, Licong Cui, Xiaojin Li, Xiaoqian JiangBMC Medical Informatics Decis. Mak 2020

TL;DR

This paper presents a deep learning framework for detecting the onset of "slow activity" in EEG signals following generalized tonic-clonic seizures, a critical precursor to Sudden Unexpected Death in Epilepsy (SUDEP). By employing a carefully designed residual neural network with various regularization techniques, the authors demonstrate a viable approach to this challenging problem, even with limited data.

What Problem Does This Paper Address?

Sudden Unexpected Death in Epilepsy (SUDEP) is a significant concern, accounting for a substantial portion of epilepsy-related deaths. Identifying reliable bio-markers to predict SUDEP is crucial for timely intervention. One such potential marker is the "onset of slow activity" in electroencephalogram (EEG) signals after a generalized tonic-clonic seizure. However, detecting this specific event is challenging due to the inherent complexity of physiological patterns and, critically, the scarcity of high-quality, labeled data, especially for rare events or specific subpopulations. This data paucity makes it difficult to apply powerful deep learning models effectively.

Methods

The authors propose a deep learning framework built upon a residual neural network (ResNet) architecture. Key components and techniques include:

  • Sequence Generation: To maximize the use of limited data, they generate positive sequences (containing the onset) and negative sequences (without the onset) from individual patients.
  • Preprocessing: A multi-stage approach is used, including:
  • Anti-aliased temporal downsampling: To reduce sequence length while preserving important frequency information.
  • Global temporal downsampling (Global Max Pooling - GMP): To reduce parameters and focus on the most salient features.
  • Global batch-wise z-scoring: To normalize data across batch, temporal, and channel axes, helping the model generalize to variations in scale and bias.
  • Network Architecture: A ResNet variant with pre-activation residual blocks, batch normalization, and ReLU activations is employed. The network's depth and width are carefully tuned to avoid overfitting or underfitting.
  • Loss Function: A binary cross-entropy loss is used, augmented with a loss discount factor. This factor down-weights the loss for sequences with fewer positive time steps, addressing the challenge of imbalanced positive events within a sequence.
  • Optimization: Mini-batch stochastic gradient descent (SGD) is used for training, with specific choices for batch size and learning rate decay.
  • Regularization: L2 kernel regularization is applied to prevent the model from over-relying on a small subset of features.

Datasets

The study utilizes a dataset of EEG recordings from 134 patients. The training data consists of variable-length sequences, and a validation set of 12,345 ten-second sequences from 34 patients is used for evaluation. This dataset is characterized by a class imbalance in the validation set, with more negative examples than positive ones.

Key Insights and Ideas

  • Deep Learning for Rare Events: The paper demonstrates that deep learning, despite the common perception of requiring massive datasets, can be effectively adapted for detecting rare events like the onset of slow activity in EEG, provided appropriate techniques are employed.
  • The Importance of Regularization: The extensive ablation studies highlight that various regularization techniques (batch-wise z-scoring, L2 regularization, anti-aliasing, and loss discounting) are not just beneficial but crucial for achieving robust performance and generalization in this data-scarce domain.
  • Trade-offs in Feature Extraction: The choice of downsampling and pooling strategies (e.g., GMP vs. GAP) has a significant impact, with GMP being favored for its ability to capture salient features regardless of their temporal location, which is important when only a small portion of a sequence might contain the event of interest.
  • Visualizing Model Decisions: The use of salience maps to visualize which parts of the EEG signal contribute most to the model's prediction offers valuable interpretability, helping to understand why the model makes a certain decision.

Key Results

  • The full method achieved the highest average ROC-AUC and accuracy across ten training runs, with an ROC-AUC of 0.725 ± 0.025 and accuracy of 0.746 ± 0.016.
  • A variant of the full method, after additional training runs with new random seeds, showed higher sensitivity without sacrificing significant specificity, achieving a maximum ROC-AUC of 0.772 in one instance.
  • Ablation studies revealed that omitting batch-wise z-scoring led to a significant increase in metric variance and the lowest average sensitivity and ROC-AUC, suggesting its critical role in handling data variability.
  • The variant without L2 regularization struggled with ROC-AUC and specificity, indicating the importance of preventing feature overemphasis.
  • The variant without anti-aliasing showed higher sensitivity but at the cost of specificity, suggesting that anti-aliasing is important for reducing false positives by removing potentially misleading high-frequency information.

Limitations and Future Work

  • Data Paucity: The primary limitation acknowledged is the scarcity of training data, which can lead to variability in model performance and necessitate multiple training runs to achieve reliable results.
  • Model Interpretability: While salience maps provide some insight, the model is still largely a "black box," and further work is needed to fully understand its decision-making process.
  • Loss Discounting: The authors suggest making the loss discount factor a continuous function rather than piecewise.
  • False Positives: They observed that some false positives could be easily classified by humans due to drastic behavioral changes. Future work could focus on improving the model's ability to recognize these changes over time and identify channel cross-correlation more effectively.
  • Adaptive Z-scoring: The paper hypothesizes that population-based z-scoring might not be optimal for all examples, suggesting that an adaptive strategy could improve validation performance.

Summary updated

BibTeX
@inproceedings{vance2020learning,
  author = {Carroll Vance and Yejin Kim and Guo-Qiang Zhang and Samden D. Lhatoo and Shiqiang Tao and Licong Cui and Xiaojin Li and Xiaoqian Jiang},
  title = {{Learning to detect the onset of slow activity after a generalized tonic-clonic seizure}},
  booktitle = {BMC Medical Informatics Decis. Mak},
  year = {2020},
  url = {https://openreview.net/forum?id=hmIEBXSn6F},
}
Figure