Hostname: page-component-77f85d65b8-6pvrj Total loading time: 0 Render date: 2026-03-26T12:35:44.678Z Has data issue: false hasContentIssue false

Integrating medical rules to assist attention for sleep apnea detection

Published online by Cambridge University Press:  28 April 2023

Jianqiang Li
Affiliation:
College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
Xiaoxiao Song
Affiliation:
College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
Yanning Lin
Affiliation:
College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
Junya Wang
Affiliation:
College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
Dongying Guo
Affiliation:
Department of Respiratory and Critical Care Medicine, Shenzhen People’s Hospital, Shenzhen, China
Jie Chen*
Affiliation:
College of Computer Science and Software Engineering, Shenzhen University, Shenzhen, China
*
Corresponding author: Jie Chen; Email: chenjie@szu.edu.cn
Rights & Permissions [Opens in a new window]

Abstract

Sleep apnea is one of the most common sleep disorders. The consequences of undiagnosed sleep apnea can be very serious, increasing the risk of high blood pressure, heart disease, stroke, and Alzheimer’s disease over a long period of time. However, many people are often unaware of their condition. The gold standard for diagnosing sleep apnea is nighttime polysomnography monitoring in a specialized sleep laboratory. However, these diagnoses are expensive and the number of beds is limited, and there is insufficient monitoring in terms of time dimension. Existing methods for automated detection use no more than three physiological signals, but all other signals are also associated with the patient’s sleep. In addition, the limited amount of medical real annotation data, especially abnormal samples, lead to weak model generalization capability. The gap between model generalization capability and medical field needs still exists. In this paper, we propose a method for integrating medical interpretation rules into a long short-term memory neural network based on self-attention with multichannel respiratory signals as input. We obtain attention weights through a token-level attention mechanism and then extract key rules of medical interpretation to assist the weights, improving model generalization and reducing the dependence on data volume. Compared with the best prediction performance of existing methods, the average improvements of our method in accuracy, precision, and f1-score are 3.26%, 7.03%, and 1.78%, respectively. The algorithm tested the performance of our model on the Sleep Heart Health Study data set and found that the model outperformed existing methods and could help physicians make decisions in their practices.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Figure 1. In our architecture,the initial input $D$ is applied to the rule-assisted layer to obtain the auxiliary weight $\alpha _r$, and then $\alpha _r$ is combined with the self-attention weight $\alpha _s$ to obtain the final weight.

Figure 1

Figure 2. Integrating medical rules into models for apnea detection using PSG signals.

Figure 2

Algorithm 1. Rule-assisted layer

Figure 3

Figure 3. A demonstration of SA diagnosis using polysomnography (PSG).

Figure 4

Figure 4. Performance of parameters selection using Bayesian optimization.

Figure 5

Table I. Comparison of single signal and multiple signals: EEG, ECG, EOG, EMG, SpO2, heart rate (HR), thoracic respiration (TR), abdominal respiration (AR), nasal airflow (NA), three physician-recommended signals (TPRS).

Figure 6

Table II. Comparison with existing models.

Figure 7

Figure 5. The impact of data volume.