A Frequency-Band Siamese Network With Dual Functional Connectivity Metrics for Subject-Independent EEG Depression Detection
Abstract
Major depressive disorder (MDD) is associated with measurable disruptions in neural synchronization that may serve as objective biomarkers for automated detection from electroencephalography (EEG). However, most EEG-based methods rely on a single connectivity metric, treat frequency bands independently, and employ epoch-level cross-validation that permits intersubject data leakage, limiting clinical generalizability. This article proposes FB-Siam, a frequency-band-specific Siamese network that jointly models temporal and spatial features of EEG functional connectivity across four bands (delta, theta, alpha, beta) under two complementary metrics: phase-locking value (PLV) and magnitude-squared coherence. A dual-stream architecture combines a CNN–LSTM temporal branch with a frequency-specific graph convolutional spatial branch, trained via contrastive learning with hard negative mining and evaluated under strict subjectwise five-fold cross-validation with fully disjoint subject identities. A single architecture, applied without per-dataset retuning, is assessed across two datasets with markedly different acquisition protocols, with a separate model trained and evaluated on each: MODMA (128-channel, 250 Hz, 53 subjects) and PRED+CT (62-channel, 500 Hz, 119 subjects). FB-Siam achieves 92.32% <inline-formula> <tex-math notation="LaTeX">$\pm ~6.96$ </tex-math></inline-formula>% (PLV) and 88.69% <inline-formula> <tex-math notation="LaTeX">$\pm ~3.52$ </tex-math></inline-formula>% (coherence) accuracy on MODMA, and 82.36% <inline-formula> <tex-math notation="LaTeX">$\pm ~3.09$ </tex-math></inline-formula>% (coherence) and 81.59% <inline-formula> <tex-math notation="LaTeX">$\pm ~5.52$ </tex-math></inline-formula>% (PLV) on PRED+CT. Beta-band connectivity yields the highest single-band accuracy in all four dataset–metric configurations, with a flatter band ordering on PRED+CT than on MODMA. The results indicate that connectivity-based representations evaluated under subject-independent protocols yield reproducible performance across two markedly different acquisition configurations without per-dataset retuning.