NEXT-GEN-SOMNUS


New generation machine learning algorithms for the analysis of medical sleep recordings

Grant PID2023-147422OB-I00 funded by:



Latest publications

Analysis of federated learning on non-independent and identically distributed sleep data

[Journal] Physiological Measurement

Anido-Alonso, Adriana; Alvarez-Estevez, Diego

Objective. We investigate the application of federated learning (FL) across heterogeneous, non-independent and identically distributed (non-IID) sleep data. We evaluate three algorithms-federated stochastic gradient descent, federated averaging, and federated proximal (FedProx)-in a realistic setting where non-IID characteristics arise from distinct sensor configurations, varying acquisition protocols, and diverse patient populations across independent sleep cohort datasets. Approach. We employ a dual-layered evaluation framework. First, we systematically analyze the impact of local training epochs (E={1,30}) and aggregation schemes (weighted and unweighted) on model convergence. Second, we introduce and adapt a generalized sub-sampling strategy designed to mitigate model drift caused by heterogeneous data distribution and volume imbalances across participating clients. To ensure robust external generalization, our evaluation utilizes six independent databases in a leave-one-database-out cross-validation scheme. Main results. Our analysis has evidenced that increasing the number of local training epochs adversely affects performance across all evaluated federated schemes. This confirms that extended local training exacerbates client drift, hindering global convergence. Furthermore, weighted aggregation consistently under-performs unweighted approaches, suggesting that disproportionate client contributions bias the global data representation. While the inclusion of a proximal term partially mitigates this instability by constraining local updates, the proposed sub-sampling strategy proves most effective. This approach yields consistent generalization results across all algorithms and minimizes performance downgrading, while significantly reducing computational overhead. Significance. This work addresses critical privacy concerns in centralized automated sleep staging by validating FL in realistic, multi-center scenarios. We provide evidence that decentralized strategies can achieve performance comparable to centralized methods, effectively overcoming data silos. Ultimately, this approach enables robust collaborative training while strictly maintaining data privacy-a fundamental requirement for widespread clinical implementation.
Quantum Fuzzy Inference Systems: Implementation and a Case Study on Sleep Apnea Detection

[Conference] Pacific Rim International Conference Series on Artificial Intelligence 2025

Magaz-Romero, Samuel; Mosqueira-Rey, Eduardo; Alvarez-Estevez, Diego; Moret-Bonillo, Vicente

We present a new method for implementing FIS with quantum circuits, named Quantum Fuzzy Inference Systems, providing the definitions for the logical operators and implication. We propose a practical application in sleep medicine diagnosis, more specifically for the detection of apneic events. Our results show that we are able to replicate the behavior of the classical model using the quantum proposal, up to a similarity of 99.97%.
Performance Analysis of Quantum Support Vector Classifiers and Quantum Neural Networks

[Conference] International Joint Conference on Neural Networks 2025

Villalba-Ferreiro, Tomás; Mosqueira-Rey, Eduardo; Alvarez-Estevez, Diego

This study explores the performance of Quantum Support Vector Classifiers (QSVCs) and Quantum Neural Networks (QNNs) in comparison to classical models for machine learning tasks. We find that quantum models tend to outperform classical approaches as the problem complexity increases, as QNNs exhibit superior performance in higher-complexity tasks due to their increased quantum load. These findings highlight the potential of Quantum Machine Learning (QML) for complex classification problems and provide insights into model selection and optimization strategies.

Latest news

  • Presenting quantum fuzzy inference for sleep diagnosis

    Post thumbnail
    Post thumbnail
    The Pacific Rim International Conference on Artificial Intelligence (PRICAI) is an annual international event dedicated to exploring AI theories, technologies, and applications across areas of scientific, social, and economic importance for the Pacific Rim. PRICAI 2025 took place in Wellington, New Zealand, and this year included, among many other topics... [Read More]
  • Analyzing the performance of various Quantum Machine Learning models

    Post thumbnail
    Post thumbnail
    This year, the International Joint Conference on Neural Networks (IJCNN) took place in Rome, Italy, from June 30th to July 5th. There, Eduardo Mosqueira-Rey (PI in NEXT-GEN-SOMNUS), had the oportunity to present new work about exploring the performance of Quantum Support Vector Classifiers (QSVCs) and Quantum Neural Networks (QNNs) in... [Read More]