Skip to main content

ORIGINAL RESEARCH article

Front. Comput. Neurosci.

Volume 19 - 2025 | doi: 10.3389/fncom.2025.1569828

This article is part of the Research Topic Advancements in Smart Diagnostics for Understanding Neurological Behaviors and Biosensing Applications View all 8 articles

Decentralized EEG-Based Detection of Major Depressive Disorder via Transformer Architectures and Split Learning

Provisionally accepted
  • 1 Multimedia University, Cyberjaya, Selangor Darul Ehsan, Malaysia
  • 2 Prince Mohammad bin Fahd University, Khobar, Saudi Arabia
  • 3 King Khalid University, Abha, Saudi Arabia
  • 4 Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia
  • 5 Örebro University, Örebro, Örebro, Sweden
  • 6 Edinburgh Napier University, Edinburgh, United Kingdom

The final, formatted version of the article will be published soon.

    Major Depressive Disorder (MDD) remains a critical mental health concern, necessitating accurate detection. This study utilizes EEG signals to classify MDD and healthy individuals through a combination of machine learning, deep learning, and split learning approaches. Multiple classifiers, including Random Forest, Support Vector Machine, and Gradient Boosting, as well as advanced architectures such as Transformers and Autoencoders, are evaluated. Results demonstrate a commendable classification performance with certain ensemble methods, and a Transformer-Random Forest combination achieved 99% accuracy. In addition, to address data-sharing constraints, a split learning framework is implemented across three clients, yielding high accuracy (over 95%) while preserving privacy. The best client recorded 96.23% accuracy, underscoring the robustness of combining Transformers with Random Forest under resourceconstrained conditions. These findings demonstrate that distributed deep learning pipelines can deliver precise MDD detection from EEG data without compromising data security.

    Keywords: Split Learning, transformers, Autoencoder, EEG, Major Depressive Disorder, smart diagnostic, neurological behaviour

    Received: 01 Feb 2025; Accepted: 25 Mar 2025.

    Copyright: © 2025 Umair, Ahmad, Alasbali, Saidani, Hanif, Khattak and Khan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Muhammad Hanif, Örebro University, Örebro, 701 82, Örebro, Sweden

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

    Research integrity at Frontiers

    Man ultramarathon runner in the mountains he trains at sunset

    95% of researchers rate our articles as excellent or good

    Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


    Find out more