DRLFormer: A Data Rebalancing Loss-Constrained Light Transformer for OSA Detection
- 8 August 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Instrumentation and Measurement
- Vol. 73 (00189456) , 1-17
Abstract
Although Transformer-based methods have achieved significant success in Obstructive sleep apnea (OSA) detection, they suffer from higher computational costs, lower feature capturing ability in frequency domain, and class imbalance at the data level. To address these problems, this paper proposes a data rebalancing loss constrained light transformer for OSA detection, called DRLFormer. The core of the proposed method lies in the following two aspects: the development of the Additive Temporal-Frequency Fusion Attention (ATFA) module, and the propose of Data Re-balancing Loss (DRLoss) function. The purpose of the ATFA module is to fuse the frequency domain features extracted by the frequency domain enhancement module (FEM) with the important time domain features extracted by the learnable time domain attention (LTA) in a very low computational cost by novel using the summation strategy. The purpose of DRLoss is to solve the problem of imbalanced samples within batches which usually ignored by existing common used CrossEntropy loss (CELoss) . the novelty of the designing of DRLoss lies in by designing weight memory units (WMU), and allocatting different weights for correctly and incorrectly predicted samples to achieve prediction level balance through classification penalty item (CPI). Extensive experiments are conducted on the Apnea-ECG dataset, and compared with the state-of-the-art method. Our method achieving an improving by 0.44% in accuracy (from 91.68% improved to 92.12%) with a reduction of parameter size by 74% and FLOPs by 53%. Furthermore, the excellent performance was achieved on UCD, PhysioNet, and clinical XJ300 datasets, thoroughly verifying the effectiveness and clinical application potential of DRLFormer.Keywords
Funding Information
- National Natural Science Foundation of China (62076198)
- Key Natural Science Foundation of Shaanxi Province of China (2020GXLH-Y005)
- Natural Science Foundation of Shaanxi Province of China (2020JM-463)
This publication has 46 references indexed in Scilit:
- Detection of obstructive sleep apnea from single-channel ECG signals using a CNN-transformer architectureBiomedical Signal Processing and Control, 2023
- Detection of sleep apnea using deep neural networks and single-lead ECG signalsBiomedical Signal Processing and Control, 2022
- Classification of Obstructive Sleep Apnoea from single-lead ECG signals using convolutional neural and Long Short Term Memory networksBiomedical Signal Processing and Control, 2021
- AIOSA: An approach to the automatic identification of obstructive sleep apnea events based on deep learningArtificial Intelligence in Medicine, 2021
- SCNN: Scalogram-based convolutional neural network to detect obstructive sleep apnea using single-lead electrocardiogram signalsComputers in Biology and Medicine, 2021
- Deep learning approaches for automatic detection of sleep apnea events from an electrocardiogramComputer Methods and Programs in Biomedicine, 2019
- CBAM: Convolutional Block Attention Module2018
- Heart rate variability feature selection in the presence of sleep apnea: An expert system for the characterization and detection of the disorderComputers in Biology and Medicine, 2017
- An algorithm for sleep apnea detection from single-lead ECG using Hermite basis functionsComputers in Biology and Medicine, 2016
- Computer-aided obstructive sleep apnea detection using normal inverse Gaussian parameters and adaptive boostingBiomedical Signal Processing and Control, 2016