Normative Deviation Modeling for EEG-based Depression Detection

Wan Jiang, Jingqi Cheng, Hui Zhang, Xu Zhao, Xiaojing Chen, Shengeng Tang, Jingjing Wu, Richang Hong

TL;DR

Instead of training a model to simply "find depression," this paper proposes modeling what a "healthy" brain looks like and identifying Major Depressive Disorder (MDD) as a deviation from that norm. By using VQ-VAEs and diffusion models to establish structural and distributional healthy references, the authors create a diagnostic framework that is significantly more robust to the "noise" of different subjects and recording setups.

What Problem Does This Paper Address?

Electroencephalography (EEG) is a promising tool for remote mental health screening, but it has a major generalization problem. EEG signals are notoriously non-stationary, noisy, and subject-dependent. Furthermore, different clinics use different hardware—one might use a 19-electrode cap while another uses 128.

Standard supervised learning models often "overfit" to the specific characteristics of a dataset (like acquisition artifacts) rather than learning universal disease markers. This makes them perform poorly when tested on data from a new source. While data augmentation (generating synthetic EEG) is a common fix, creating realistic synthetic brain waves is incredibly difficult and often fails to improve clinical reliability.

Methods

The authors introduce Normative Deviation Modeling. The core idea is to learn the "manifold" of healthy brain activity using only Healthy Control (HC) data. Any significant departure from this manifold is treated as a potential indicator of MDD.

They propose two distinct architectures (see Figure 2):

  1. S-NDD (Scalar-level): This model calculates scalar "deviation scores." It uses a VQ-VAE to measure structural reconstruction error and a Diffusion Model to measure distributional denoising error. These scores are then fused with deep EEG features for diagnosis.
  2. F-NDD (Feature-level): This version works with handcrafted features (spectral power and inter-electrode correlation). It preserves dimension-wise residuals (the specific ways a feature differs from the norm) and uses an attention mechanism to aggregate these residuals across different time windows.

To handle the "Variable-Montage" problem (different electrode counts), they use spherical spline interpolation to map all inputs to a standard 19-electrode system before processing.

Figure 2: Overview of S-NDD and F-NDD. Both methods establish structural and distributional healthy references in distinct representation spaces. S-NDD quantifies scalar normative deviations for deep EEG feature fusion, whereas F-NDD preserves feature-level residuals for deviation-guided diagnosis. Optional target HC-assisted calibration adjusts cross-dataset predictions.

Datasets

The study utilizes two public EEG datasets with very different configurations:

  • Mumtaz2016: 34 MDD and 30 HC subjects recorded with 19 electrodes.
  • MODMA: 24 MDD and 29 HC subjects recorded with a high-density 128-electrode system.

Key Insights and Ideas

  • Healthy as a Reference: By focusing on the "healthy" norm, the model creates a stable baseline. This acts as a filter, helping the system ignore individual physiological variations that are common among healthy people but irrelevant to depression.
  • Dual-Reference Modeling: The authors found that "structural" and "distributional" deviations capture different things. As seen in Figure 1, the correlation patterns between electrodes differ significantly between groups. VQ-VAEs catch "broken" patterns (structural), while Diffusion models catch "unlikely" patterns (distributional).
  • Calibration over Retraining: In cross-dataset scenarios, they use a small set of target-domain healthy recordings to "calibrate" the model's decision threshold. This simple shift (shown in Figure 6) significantly reduces false positives without needing to retrain the entire deep learning stack.
Figure 1: Inter-electrode correlation patterns in HC and MDD EEG recordings. (a) and (b) show the mean Pearson correla- tion matrices for HC and MDD, respectively. (c) and (d) show their signed and absolute differences (MDD−HC), respec- tively. All panels use the same electrode ordering derived from HC-based hierarchical clustering.

Key Results

  • State-of-the-Art Accuracy: On the Mumtaz2016 dataset, S-NDD achieved a window-level accuracy of 95.28%, outperforming the strongest discriminative baselines (like CWT-1D-CNN) by nearly 4 percentage points.
  • Superior Generalization: In cross-source testing (training on one dataset and testing on the other), S-NDD achieved an accuracy of 78.50%. This is a massive improvement over standard domain adaptation methods like DANN or Deep CORAL, which struggled to break the 60% mark in some settings.
  • Better than Augmentation: The normative approach consistently outperformed generative augmentation methods (like DiffMDD), suggesting that modeling the "norm" is more effective than trying to synthesize "fake" disease data.
Figure 3: Normative deviation visualization for selected HC and MDD cases on Mumtaz2016 under within-dataset evaluation. (a) S-NDD and (b) F-NDD illustrate structural and distributional deviation patterns. Deviation maps are normalized for visualization, with non-comparable color scales across methods.

Limitations and Future Work

While the spatial interpolation helps align different electrode layouts, it doesn't account for all acquisition-related differences (like different amplifier noise levels or sampling rates). The authors acknowledge that while their "zero-shot" transfer is strong, there is still a performance gap compared to within-source testing.

Future work will likely focus on combining this normative modeling with unsupervised domain adaptation to further bridge the gap between diverse clinical and consumer EEG data sources.

Summary updated

Abstract

Web-enabled digital health services are expanding access to physiological monitoring and mental health screening. However, electroencephalography (EEG)-based major depressive disorder (MDD) detection remains challenging across heterogeneous data sources, where individual variability and acquisition differences may affect disease-related representations. In this work, we investigate the use of healthy normative references for EEG-based MDD detection. Specifically, structural and distributional reference models are independently trained using healthy control (HC) recordings to characterize departures from healthy EEG patterns. We develop two diagnostic approaches that incorporate normative deviations at different representation levels. Scalar-level Normative Deviation-guided Diagnosis (S-NDD) summarizes structural and distributional deviations into scalar scores and integrates them with deep EEG representations. Feature-level Normative Deviation-guided Diagnosis (F-NDD) retains dimension-wise residuals and combines them with deep EEG representations through attention-based aggregation and auxiliary supervision. We also employ target HC-assisted score calibration for cross-source evaluation without updating the trained models. Experiments on two public EEG datasets examine both approaches under subject-independent within-source and bidirectional cross-source settings. The results demonstrate the effectiveness of normative deviation-guided diagnosis across different evaluation settings.
BibTeX
@misc{jiang2026normative,
  author = {Wan Jiang and Jingqi Cheng and Hui Zhang and Xu Zhao and Xiaojing Chen and Shengeng Tang and Jingjing Wu and Richang Hong},
  title = {{Normative Deviation Modeling for EEG-based Depression Detection}},
  year = {2026},
  eprint = {2610.37338},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.37338},
}
Figure