Adaptive weighted dual MAML: Proposing a novel method for the automated diagnosis of partial sleep deprivation

S Soraya Khanmohmmadi T Toktam Khatibi G Golnaz Tajeddin E Elham Akhondzadeh A Amir Shojaee

Abstract

Introduction Sleep disorders significantly disrupt normal sleep patterns and pose serious health risks. Traditional diagnostic methods, such as questionnaires and polysomnography, often require extensive time and are susceptible to errors. This highlights the need for automated detection systems to enhance diagnostic efficiency. This study proposes a novel method for the automated diagnosis of partial sleep deprivation utilizing electroencephalogram (EEG) signals. Materials and methods We utilized time-frequency images obtained from continuous wavelet transforms applied to two EEG channels for the automated diagnosis of sleep disorders. Although convolutional neural networks (CNNs) are commonly used for detecting these conditions, their performance is inadequate when applied to our heterogeneous and limited-scale EEG data. To overcome these limitations, we developed a Few-Shot Learning-based Model-Agnostic Meta-Learning (FSL-based MAML) approach aimed at improving classification accuracy and generalization abilities. Our method, Adaptive Weighted Dual MAML, combines two base models—a ResNet and a CNN-Transformer—within the MAML framework, which leverages multi-shot tasks to improve the EEG signal classification, Results Our findings demonstrated that the FSL-based MAML method, with a combined base model, achieves an average classification accuracy of 99% and an F1 score of 99%. Additionally, the proposed model achieved a more stable range of evaluation metrics, resulting in reduced performance fluctuations across tasks compared to the conventional MAML. This indicates stronger robustness and improved generalization to unseen tasks, Conclusions The results confirm the efficacy of our proposed approach as a robust solution for diagnosing partial sleep deprivation with enhanced accuracy and efficiency in an automated manner. This model provides a groundwork for addressing various sleep disorders through advanced EEG analysis techniques.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 6
Published June 13, 2025
Pages e0325288
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (5)

S

Soraya Khanmohmmadi

T

Toktam Khatibi

G

Golnaz Tajeddin

E

Elham Akhondzadeh

A

Amir Shojaee