Time-step level sleep apnea detection using LSTM with adaptive thresholding in polysomnography
Sleep apnea is a prevalent disorder linked to severe health risks. Current diagnosis relies on manual polysomnographic (PSG) analysis, which is time-consuming and subjective. This study aims to develop an objective, automated framework for time-step level apnea detection. We proposed a Long Short-Term Memory (LSTM) network utilizing six PSG signals: PTAF, Thermistor, Thoracic/Abdominal effort, Snore, and SpO2. Approximately 7 h of PSG data were segmented into fixed windows (35 s, 40 s, 45 s), each sampled into 400 time steps. Apnea was classified by thresholding positive time steps (150, 200, 250). Individual signal and SHAP-based analyses identified PTAF, Thermistor, and SpO2 as the most influential features. The optimal configuration used a 40-s window with a threshold of 150, achieving a balanced performance with 88.51% accuracy, 87.9% sensitivity, and 88.79% specificity, outperforming other window sizes. The proposed LSTM-based model effectively generates a continuous probability-based signal for apnea detection. This automated labeling system has the potential to streamline diagnostic workflows, reduce manual workload for clinicians, and provide a consistent, objective framework for sleep apnea assessment.
Authors
- Dongwon Woo (ORCID: https://orcid.org/0000-0003-3524-7647)
- Jong-Geun Seo (ORCID: https://orcid.org/0000-0002-3944-5731)
- Sungmoon Jeong (ORCID: https://orcid.org/0000-0002-4579-3150)
- SANGWOOK KIM
Institutions
- Kyungpook National University Hospital (KR)
- Kyungpook National University (KR)
- Kyungpook National University Medical Center (KR)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-10-09
- DOI
- https://doi.org/10.1038/s41598-026-73457-z
- Primary Topic
- Obstructive Sleep Apnea Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00