Obstructive sleep apnea (OSA) is widespread, under-recognized, and under-treated, impacting the health and quality of life for millions. The current gold standard for sleep apnea testing is based on the in-lab sleep study, which is costly, cumbersome, not readily available and represents a well-known roadblock to managing this huge societal burden. Assessment of neuromuscular function involved in the upper airway using electromyography (EMG) has shown potential to characterize and diagnose sleep apnea, while the development of transmembranous electromyography (tmEMG), a painless surface probe, has made this opportunity practical and highly feasible. However, experience and ability to interpret electrical signals from the upper airway are scarce, and much of the pertinent information within the signal is likely difficult to detect visually. To overcome this issue, we explored the use of transformers, a deep learning (DL) model architecture with attention mechanisms, to model tmEMG data and distinguish between electromyographic signals from a cohort of control, neurogenic, and sleep apnea patients. Our approach involved three strategies to train a generalizable model on a relatively small dataset including, (1) transfer learning using an audio spectral transformer (AST), (2) the use of 6,000 simulated EMG recordings, converted to spectrograms and using standard backpropagation for fine-tuning, and (3) application of regularization to prevent overfitting and enhance generalizability. This DL approach was tested using 177 transoral EMG recordings from a prior study's database that included six healthy controls, five moderate to severe OSA patients, and five amyotrophic lateral sclerosis (ALS) patients with evidence of bulbar involvement (neurogenic injury). Sensitivity and specificity for classifying neurogenic cases from controls were 98% and 73%, respectively, while classifying OSA from controls were 88% and 64%, respectively. Notably, by averaging the predicted probabilities of each segment for individual patients, the model correctly classified up to 82% of control and OSA patients. These results not only suggest a potential to diagnose OSA patients accurately, but also to identify OSA endotypes that involve neuromuscular pathology, which has major implications for clinical management, patient outcomes, and research.
Keywords: Audio spectral transformer; Deep learning in medicine; Quantitative electromyography; Sleep apnea diagnosis; Transmembranous EMG.
© 2024. The Author(s).