» Articles » PMID: 39863774

Explainable Vision Transformer for Automatic Visual Sleep Staging on Multimodal PSG Signals

Overview
Journal NPJ Digit Med
Date 2025 Jan 25
PMID 39863774
Authors
Affiliations
Soon will be listed here.
Abstract

Polysomnography (PSG) is crucial for diagnosing sleep disorders, but manual scoring of PSG is time-consuming and subjective, leading to high variability. While machine-learning models have improved PSG scoring, their clinical use is hindered by the 'black-box' nature. In this study, we present SleepXViT, an automatic sleep staging system using Vision Transformer (ViT) that provides intuitive, consistent explanations by mimicking human 'visual scoring'. Tested on KISS-a PSG image dataset from 7745 patients across four hospitals-SleepXViT achieved a Macro F1 score of 81.94%, outperforming baseline models and showing robust performances on public datasets SHHS1 and SHHS2. Furthermore, SleepXViT offers well-calibrated confidence scores, enabling expert review for low-confidence predictions, alongside high-resolution heatmaps highlighting essential features and relevance scores for adjacent epochs' influence on sleep stage predictions. Together, these explanations reinforce the scoring consistency of SleepXViT, making it both reliable and interpretable, thereby facilitating the synergy between the AI model and human scorers in clinical settings.

References
1.
Yoon D, Shin H . Sleep Tests in the Non-Contact Era of the COVID-19 Pandemic: Home Sleep Tests Versus In-Laboratory Polysomnography. Clin Exp Otorhinolaryngol. 2020; 13(4):318-319. PMC: 7669320. DOI: 10.21053/ceo.2020.01599. View

2.
Berry R, Brooks R, Gamaldo C, Harding S, Lloyd R, Quan S . AASM Scoring Manual Updates for 2017 (Version 2.4). J Clin Sleep Med. 2017; 13(5):665-666. PMC: 5406946. DOI: 10.5664/jcsm.6576. View

3.
Horie K, Ota L, Miyamoto R, Abe T, Suzuki Y, Kawana F . Automated sleep stage scoring employing a reasoning mechanism and evaluation of its explainability. Sci Rep. 2022; 12(1):12799. PMC: 9329306. DOI: 10.1038/s41598-022-16334-9. View

4.
Cappuccio F, DElia L, Strazzullo P, Miller M . Quantity and quality of sleep and incidence of type 2 diabetes: a systematic review and meta-analysis. Diabetes Care. 2009; 33(2):414-20. PMC: 2809295. DOI: 10.2337/dc09-1124. View

5.
Quan S, Howard B, Iber C, Kiley J, Nieto F, OConnor G . The Sleep Heart Health Study: design, rationale, and methods. Sleep. 1998; 20(12):1077-85. View