TL;DR
This paper introduces a Spatial Multi-Expert Graph Transformer that models EEG recordings as dynamic sequences of functional connectivity graphs. By combining hierarchical spatial encoding (from individual electrodes up to brain-wide regions) with an adaptive multi-expert gating mechanism, the model achieves competitive abnormality detection while providing clinically interpretable, subtype-aware insights.
What Problem Does This Paper Address?
Electroencephalography (EEG) is a vital, non-invasive tool used to detect neurological conditions like epilepsy, focal slowing, and hemispheric asymmetries. However, clinical abnormalities are inherently dynamic, evolving across both space and time.
Most existing deep learning approaches flatten these rich dynamics into static features or assign a single global label to an entire recording. This limitation prevents models from capturing localized, transient patterns and distinguishing between different electrographic subtypes. To bridge the gap between automated methods and actual clinical practice, we need architectures that can reason about where and when an abnormality occurs.
Methods
The authors propose an end-to-end architecture that processes EEG signals through three main resolutions:
- Dynamic Graph Construction: EEG signals are segmented into non-overlapping temporal windows. For each window, a functional connectivity graph is built using the weighted Phase Lag Index (wPLI) to capture phase-based synchrony between electrodes (nodes).
- Hierarchical Graph Encoding: A spatial hierarchy processes each graph. Electrode-level graph convolutions (GCNs) extract local features, self-attention graph pooling (SAGPool) models regional interactions, and global aggregation summarizes brain-wide connectivity patterns.
- Multi-Expert Temporal Modeling: The sequence of encoded graphs is fed into a 2-layer temporal transformer to capture long-range dependencies. Finally, a multi-expert module with $K=7$ specialized heads (one for each abnormality subtype) processes the data, guided by a learned gating network that adaptively weights each expert's contribution.
Datasets
The model was evaluated on the Temple University Hospital (TUH) EEG corpus (specifically the TUAB dataset for abnormal EEG detection). The data was split into 80% training and 20% testing sets, stratified by class at the recording level.
Key Insights and Ideas
- Spatial Over Temporal: Preliminary analysis showed that purely temporal descriptors (like Hjorth parameters and signal entropy) heavily overlap between normal and abnormal EEGs. The true discriminative power lies in spatial interaction patterns (connectivity maps), justifying the use of a graph-based approach.
- Emergent Specialization: Even without explicit subtype-wise supervision for every expert, the gating network naturally learned distinct routing distributions for different abnormal subtypes, demonstrating stable routing rather than expert collapse.
- The Recall Gap: The model performed significantly better at identifying normal EEGs (0.78 recall) than abnormal ones (0.64 recall). This 14-point recall gap highlights the highly transient and heterogeneous nature of abnormal brain activity, showing that a single static threshold might not fit all clinical scenarios.
Key Results
- The full model achieved an overall accuracy of 0.7152, with a macro-averaged precision, recall, and F1-score of 0.72, 0.71, and 0.71, respectively.
- In ablation studies, the full model (Graph + Hierarchy + Gating) outperformed both a feature-only baseline (no graph) and a single-expert graph model, both of which scored 0.7027 in accuracy.
- Incorporating hierarchical graph encoding significantly improved the precision-recall balance for abnormal classes compared to simpler baselines.
Limitations and Future Work
- Sensitivity to Preprocessing: The framework remains sensitive to dataset-specific preprocessing choices and variations in electrode layouts.
- Data-Driven vs. Anatomical Pooling: The current hierarchical pooling (SAGPool) is purely data-driven. The authors note that incorporating anatomically informed pooling could better align graph abstractions with actual neurophysiological structures.
- Asymmetric Clinical Costs: Future iterations aim to explore recall-aware gating strategies to prioritize sensitivity to abnormalities, aligning better with clinical settings where missing a diagnosis carries a much higher cost than a false positive.
Summary updated