Machine Learning Fairness for Depression Detection Using EEG Data

Angus Man Ho Kwok, Jiaee Cheong, Sinan Kalkan, Hatice Gunes · DOI

TL;DR

This paper is the first to investigate fairness in machine learning models for depression detection using EEG data. The authors found that existing datasets and models exhibit gender bias, and while various bias mitigation techniques were tested, their effectiveness varied significantly, highlighting the complexity of achieving true fairness in this sensitive domain.

What Problem Does This Paper Address?

Major Depressive Disorder (MDD) is a significant global health concern. Machine learning, particularly deep learning, has shown promise in detecting MDD using electroencephalogram (EEG) data. However, a critical issue in machine learning is bias, where models unfairly discriminate against certain demographic groups based on sensitive attributes like gender. This is particularly concerning in healthcare applications like MDD detection, where fairness is paramount. While ML fairness has been explored in other domains, its application to EEG-based depression detection was previously unaddressed. This paper aims to fill this gap by evaluating existing gender bias in EEG datasets and ML models for MDD detection and assessing the effectiveness of various bias mitigation strategies.

Methods

The researchers approached MDD detection as a binary classification problem. They employed three distinct deep learning architectures: Deep-Asymmetry, GTSAN, and 1DCNN-LSTM, to process EEG data. To address potential biases, they implemented five bias mitigation strategies across different stages of the ML pipeline:

  • Pre-processing:
    • Data Augmentation (Mixup): Generating new synthetic samples by interpolating existing ones to balance the dataset, particularly for minority groups.
  • Massaging: Relabeling instances to create a more balanced distribution of favorable (depressed) and unfavorable (non-depressed) labels across demographic groups.
  • In-processing:
    • Reweighing: Modifying the loss function by assigning different weights to individual data points based on their demographic group and outcome.
  • Regularisation: Incorporating fairness constraints directly into the model's training objective, aiming to equalize True Positive Rates (TPR) and False Positive Rates (FPR) across groups.
  • Post-processing:
    • Reject Option Classification (ROC): Adjusting model predictions in a "critical region" around the decision boundary to improve fairness.

The effectiveness of these methods was evaluated using standard prediction metrics (Accuracy, Precision, F1-score) and a suite of fairness metrics, including Statistical Parity (MSP), Equal Opportunity (MEOpp), Equalised Odds (MEOdd), and Equal Accuracy (MEACC).

Datasets

The study utilized three publicly available EEG datasets:

  • Mumtaz: Contains EEG data from 58 participants (37 males, 21 females), with 30 diagnosed with depression. Females are the minority group.
  • MODMA: Includes EEG data from 53 participants (33 males, 20 females), with 24 diagnosed with depression. Females are the minority group.
  • Rest: Features EEG data from 121 participants (47 males, 74 females), with 46 diagnosed with depression. Males are the minority group.

These datasets differ in their size, number of channels, sampling rates, and participant demographics, providing a diverse evaluation environment.

Key Insights and Ideas

  • Bias is Pervasive: The study unequivocally demonstrates that bias exists in both the EEG datasets themselves (imbalanced gender representation) and in the baseline ML algorithms used for depression detection.
  • No Silver Bullet: No single bias mitigation technique proved universally effective across all datasets, models, and fairness metrics. This underscores the complexity of achieving fairness and the need for a nuanced approach.
  • Stricter Fairness Metrics are Challenging: Models often achieved better results on weaker fairness metrics like Equal Opportunity (MEOpp) and Equal Accuracy (MEACC) but struggled with stricter metrics like Equalised Odds (MEOdd). This highlights that satisfying one fairness criterion doesn't guarantee satisfaction of others.
  • Dataset Imbalance Matters: The paper suggests that class imbalance within datasets might exacerbate bias, a finding supported by prior research.
  • Context is Crucial: The effectiveness of mitigation strategies varied significantly depending on the specific dataset and the ML model being used.

Key Results

  • RQ1 (Bias Existence): All three datasets exhibited dataset bias (imbalanced gender distribution). Algorithmic bias was also present across various fairness measures (e.g., MSP, MEOdd) for baseline models.
  • RQ2 (Mitigation Effectiveness):
    • For Mumtaz, bias mitigation methods showed varied effectiveness. Data augmentation, massaging, reweighing, and regularization were effective for some metrics, but not all.
  • For MODMA, massaging, reweighing, and regularization were effective in mitigating bias for Deep-Asymmetry, GTSAN, and 1DCNN-LSTM, particularly for MEOdd.
  • For Rest, dataset bias was less pronounced. Data augmentation was effective for MEOdd with Deep-Asymmetry. However, overall, bias mitigation was less successful across MSP and MEOdd for Deep-Asymmetry and 1DCNN-LSTM. ROC showed some promise for MEOpp and MEACC with 1DCNN-LSTM.

Limitations and Future Work

  • Limited Scope of Bias: The study focused solely on gender bias. Future work could explore fairness across other sensitive attributes like age or race.
  • Dataset Size and Quality: The effectiveness of bias mitigation might be further impacted by the size and quality of the datasets. Larger, more balanced datasets could yield different results.
  • Hyperparameter Tuning: While hyperparameters were tuned for each dataset and algorithm, the interaction between bias mitigation techniques and hyperparameter optimization could be a subject for further research.
  • Need for Comprehensive Evaluation: The authors emphasize the need to use a wide range of fairness metrics to comprehensively assess bias, as different metrics capture different aspects of fairness. Future work should focus on developing more robust and universally effective bias mitigation strategies tailored for EEG-based depression detection.

Summary updated

BibTeX
@inproceedings{kwok2025machine,
  author = {Angus Man Ho Kwok and Jiaee Cheong and Sinan Kalkan and Hatice Gunes},
  title = {{Machine Learning Fairness for Depression Detection Using EEG Data}},
  booktitle = {ISBI},
  year = {2025},
  doi = {10.1109/isbi60581.2025.10980986},
}
Figure