Source-linked AI summary

Deep learning with convolutional neural networks for decoding and visualization of EEG pathology

Robin Tibor Schirrmeister, Lukas Gemein, Katharina Eggensperger, Frank Hutter, Tonio Ball

arXiv:1708.08012v3cs.LGcs.NEstat.ML

TL;DR

EEG diagnosis requires substantial expert time and specialized knowledge, motivating machine-learning assistance. This study applies shallow and deep ConvNets to distinguish pathological from normal EEG, achieving the best reported accuracies on the TUH EEG Abnormal Corpus and supporting progress toward automated diagnosis.

  • Problem

    EEG diagnosis requires expert time and specialized knowledge, limiting its accessibility and efficiency.

    Source: §I · p. 1
  • Method

    The study applies shallow and deep ConvNet architectures to raw time-domain EEG for distinguishing pathological from normal recordings.

    Source: §I · p. 1, A. EEG ConvNet architectures and… · p. 2
  • Results

    Both ConvNets exceeded the published baseline by more than 5%, while high accuracies were also achieved from individual 6-second EEG crops.

    Source: A. Deep and shallow ConvNets reached… · pp. 3–4
  • Takeaways & Limitations

    The ConvNets achieved the best published accuracies on the TUH EEG Abnormal Corpus and represent a step toward clinically useful automated EEG diagnosis.

    Source: §IV · p. 5, Conclusion · p. 6

    The amount of EEG required and the design of models integrating information across longer timescales remain to be determined.

    Source: §IV · p. 5

Abstract

from arXiv · show

We apply convolutional neural networks (ConvNets) to the task of distinguishing pathological from normal EEG recordings in the Temple University Hospital EEG Abnormal Corpus. We use two basic, shallow and deep ConvNet architectures recently shown to decode task-related information from EEG at least as well as established algorithms designed for this purpose. In decoding EEG pathology, both ConvNets reached substantially better accuracies (about 6% better, ~85% vs. ~79%) than the only published result for this dataset, and were still better when using only 1 minute of each recording for training and only six seconds of each recording for testing. We used automated methods to optimize architectural hyperparameters and found intriguingly different ConvNet architectures, e.g., with max pooling as the only nonlinearity. Visualizations of the ConvNet decoding behavior showed that they used spectral power changes in the delta (0-4 Hz) and theta (4-8 Hz) frequency range, possibly alongside other features, consistent with expectations derived from spectral analysis of the EEG data and from the textual medical reports. Analysis of the textual medical reports also highlighted the potential for accuracy increases by integrating contextual information, such as the age of subjects. In summary, the ConvNets and visualization techniques used in this study constitute a next step towards clinically useful automated EEG diagnosis and establish a new baseline for future work on this topic.

I. Introduction

EEG diagnosis is clinically valuable but constrained by the time and expertise required for reliable interpretation. This study applies deep ConvNets to distinguish normal from pathological EEG using the TUH Abnormal EEG Corpus.

  • EEG is widely used because it is low-cost and noninvasive, supporting screening and hypothesis-based diagnosis.Source: §I · p. 1
  • Reliable EEG diagnosis requires substantial time and specialized expert knowledge.Source: §I · p. 1
  • Computer-aided EEG diagnosis has used diverse machine-learning methods, but the best approach across diagnoses remains unsettled.Source: §I · p. 1
  • The TUH Abnormal EEG Corpus contains about 3000 recordings created to support distinguishing pathological from normal EEG.Source: §I · p. 1
  • The study applies deep ConvNets to pathological-versus-normal EEG and reports better accuracies than the only published baseline identified by the authors.Source: §I · p. 1
  • The work establishes an improved baseline for future EEG pathology-decoding research.Source: §I · p. 2

II. Methods

The study evaluates deep and shallow ConvNets adapted for six-second raw EEG inputs and tests how recording duration affects training and prediction.

EEG ConvNet architectures and training

C. Automatic architecture optimization

The study combines automated architecture optimization with spectral analysis and input-perturbation visualizations to investigate ConvNet design and EEG decoding behavior.

C. Automatic architecture optimization

F. Analysis of word frequencies in the medical reports

The study analyzes word-frequency differences between correctly and incorrectly predicted clinical reports to identify contextual aspects associated with ConvNet failures.

F. Analysis of word frequencies in the medical reports

G. Dataset

The TUH EEG Abnormal Corpus contains manually labeled normal and pathological clinical EEG recordings, with recordings drawn from a much larger longitudinal corpus. Recordings use standard electrode positions and typically provide about 20 minutes of EEG data.

  • The Abnormal Corpus contains 3017 recordings: 1529 normal and 1488 pathological.Source: G. Dataset · p. 3
  • The corpus derives from over 16000 clinical recordings involving more than 10000 subjects across over 12 years.Source: G. Dataset · p. 3
  • Recordings were acquired from at least 21 standard electrode positions and usually contain around 20 minutes of EEG data.Source: G. Dataset · p. 3
  • Preprocessing selected 21 shared electrodes, removed the first minute, capped amplitudes at ±800 µV, and resampled data to 100 Hz.Source: H. Preprocessing · p. 3

III. Results

Both deep and shallow ConvNets outperformed the published TUH Abnormal EEG baseline. Their performance remained strong on short EEG inputs, with high specificity and comparable confusion patterns.

B. Deep ConvNet reached best accuracies using only 1 minute per test-recording

The deep ConvNet achieved its best trialwise accuracy using only one minute of test-recording data. Accuracy declined only slightly over recording time, and the reduced-duration analyses require cautious interpretation because they used one run each.

  • Best trialwise accuracies were reached with only 1 minute of data used for prediction.Source: B. Deep ConvNet reached best… · p. 4
  • Reducing training duration decreased cropwise and trialwise test accuracy, whereas reducing test duration did not have the same effect.Source: B. Deep ConvNet reached best… · p. 4
  • When only test recordings were shortened, maximal accuracies occurred with 1 minute per recording.Source: Figure 4 · p. 4
  • The reduced-duration results were based on one run per condition, so slightly better performance than Table II may reflect noise.Source: Figure 4 · p. 4
  • Accuracy decreased slightly with increasing recording time, but the decrease was below 0.5% and should be interpreted cautiously.Source: B. Deep ConvNet reached best… · p. 4

C. Architecture optimization yielded unexpected new models

Automated architecture optimization produced ConvNets that differed markedly from the hand-designed models, including a shallow network using max pooling as its only nonlinearity. Training improvements did not transfer to the evaluation set.

D. Power spectra and ConvNet visualizations

Pathological EEG showed increased low-frequency power and decreased beta and low-gamma power, while ConvNet perturbation maps indicated reliance on delta and theta activity. Clinical-report words also exposed error patterns and missing context.

IV. Discussion

The ConvNets achieved the best published accuracies on the TUH EEG Abnormal Corpus and their behavior aligned with spectral and textual evidence. Further gains may require longer-timescale modeling, richer clinical context, and more interpretable visualizations.

  • The ConvNet architectures achieved the best published accuracies on the TUH EEG Abnormal Corpus and were only slightly modified from earlier task-related EEG architectures.Source: §IV · p. 5
  • Good accuracies from very limited EEG segments suggest that models using longer timescales could provide further accuracy improvements, although the required amount of EEG remains undetermined.Source: §IV · p. 5
  • Automated architecture optimization found markedly different configurations with similar accuracies, while training improvements failed to improve evaluation accuracy.Source: §IV · p. 5
  • Human-level performance provides a benchmark because clinicians use EEG patterns together with available contextual information.Source: §IV · p. 6
  • Perturbation visualizations linked decoding to delta and theta power changes, particularly in temporal channels, consistent with spectral analysis and reports mentioning “temporal” and “slowing.”Source: §IV · p. 6
  • Clinical usefulness would benefit from visualization methods that better explain individual diagnoses, including attention mechanisms and saliency maps.Source: §IV · p. 6

Conclusion

The deep ConvNets achieved the best published accuracies on the largest available dataset for EEG pathology, advancing clinically useful automated EEG diagnosis.

  • The deep ConvNets achieved the best published accuracies on the largest available dataset for decoding EEG pathology.Source: Conclusion · p. 6
Loading 1708.08012v3…