Learning from Adaptive Oscillatory Modes: An Interpretable Synchrosqueezing Transformer for Patient-Independent Seizure Detection

Transformer-based analysis of physiological signals critically depends on how input tokens are constructed, yet conventional tokens derived from raw temporal windows or spectrogram patches may overlook the intrinsic oscillatory organization of electroencephalographic (EEG) activity. To address this limitation, we propose AMST-Former, an adaptive mode-wise synchrosqueezing Transformer for patient-independent epileptic seizure detection. Each EEG channel is first decomposed into oscillatory modes using Adaptive Local Iterative Filtering (ALIF), after which the Synchrosqueezing Transform (SST) is applied independently to each mode. This decomposition-before-synchrosqueezing strategy reduces cross-component interference in instantaneous-frequency estimation while preserving mode-specific time–frequency dynamics. The resulting time–frequency patches are embedded together with channel, mode-frequency, and positional information. A hierarchical factorized-attention mechanism then models token relevance across time–frequency regions, oscillatory modes, and EEG channels before a Transformer encoder captures their interactions. Evaluation using a repeated patient-independent five-fold cross-validation protocol on the CHB-MIT database (22 subjects) yields an F1-score of 70.76% and an area under the precision–recall curve (AUPRC) of 0.870. At the event level, AMST-Former achieves a sensitivity of 81.4% at an average false detection rate of 1.39 false detections per 24 h. Ablation experiments show that mode-wise SST provides more effective representations than direct SST, per-mode Hilbert spectra, and fixed filter-bank decomposition. Synthetic experiments confirm the cross-component bias predicted by the analysis and shows that the SST of a mode remains accurate when separation is imperfect, whereas its Hilbert instantaneous frequency does not. Furthermore, the factorized-attention mechanism provides mode, time–frequency, and channel-level explanations, whose faithfulness is assessed through a deletion analysis. These results support adaptive mode-wise time–frequency tokenization as a promising strategy for interpretable, patient-independent EEG seizure detection.

Authors

Institutions

Publication Details

Journal
Mathematics
Published
2026-10-27
DOI
https://doi.org/10.3390/math14213922
Primary Topic
EEG and Brain-Computer Interfaces
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Learning from Adaptive Oscillatory Modes: An Interpretable Synchrosqueezing Transformer for Patient-Independent Seizure Detection

Afrah Alanazi, Kais Khaldi, Sarah Almaghrabi, Hamed Alshammari
3 links
Mathematics
EEG and Brain-Computer Interfaces
article

Learning from Adaptive Oscillatory Modes: An Interpretable Synchrosqueezing Transformer for Patient-Independent Seizure Detection

Afrah Alanazi, Kais Khaldi, Sarah Almaghrabi, Hamed Alshammari
article en

Abstract

Transformer-based analysis of physiological signals critically depends on how input tokens are constructed, yet conventional tokens derived from raw temporal windows or spectrogram patches may overlook the intrinsic oscillatory organization of electroencephalographic (EEG) activity. To address this limitation, we propose AMST-Former, an adaptive mode-wise synchrosqueezing Transformer for patient-independent epileptic seizure detection. Each EEG channel is first decomposed into oscillatory modes using Adaptive Local Iterative Filtering (ALIF), after which the Synchrosqueezing Transform (SST) is applied independently to each mode. This decomposition-before-synchrosqueezing strategy reduces cross-component interference in instantaneous-frequency estimation while preserving mode-specific time–frequency dynamics. The resulting time–frequency patches are embedded together with channel, mode-frequency, and positional information. A hierarchical factorized-attention mechanism then models token relevance across time–frequency regions, oscillatory modes, and EEG channels before a Transformer encoder captures their interactions. Evaluation using a repeated patient-independent five-fold cross-validation protocol on the CHB-MIT database (22 subjects) yields an F1-score of 70.76% and an area under the precision–recall curve (AUPRC) of 0.870. At the event level, AMST-Former achieves a sensitivity of 81.4% at an average false detection rate of 1.39 false detections per 24 h. Ablation experiments show that mode-wise SST provides more effective representations than direct SST, per-mode Hilbert spectra, and fixed filter-bank decomposition. Synthetic experiments confirm the cross-component bias predicted by the analysis and shows that the SST of a mode remains accurate when separation is imperfect, whereas its Hilbert instantaneous frequency does not. Furthermore, the factorized-attention mechanism provides mode, time–frequency, and channel-level explanations, whose faithfulness is assessed through a deletion analysis. These results support adaptive mode-wise time–frequency tokenization as a promising strategy for interpretable, patient-independent EEG seizure detection.

MathematicsVol. 14(21)
Jouf University (SA), University of Jeddah (SA)
Al Jouf University
Good health and well-being
Openalex Percentile: Top 14%
EEG and Brain-Computer Interfaces
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon