{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2602-09793","title":"Fully-automated sleep staging: multicenter validation of a generalizable deep neural network for Parkinson's disease and isolated REM sleep behavior disorder","arxiv_id":"2602.09793","date":"2026-02-10","proceeding":null,"authors":["Jesper Strøm","Casper Skjærbæk","Natasha Becker Bertelsen","Steffen Torpe Simonsen","Niels Okkels","David Bertram","Sinah Röttgen","Konstantin Kufer","Kaare B. Mikkelsen","Marit Otto","Poul Jørgen Jennum","Per Borghammer","Michael Sommerauer","Preben Kidmose"],"abstract":"Isolated REM sleep behavior disorder (iRBD) is a key prodromal marker of Parkinson's disease (PD), and video-polysomnography (vPSG) remains the diagnostic gold standard. However, manual sleep staging is particularly challenging in neurodegenerative diseases due to EEG abnormalities and fragmented sleep, making PSG assessments a bottleneck for deploying new RBD screening technologies at scale. We adapted U-Sleep, a deep neural network, for generalizable sleep staging in PD and iRBD. A pretrained U-Sleep model, based on a large, multisite non-neurodegenerative dataset (PUB; 19,236 PSGs across 12 sites), was fine-tuned on research datasets from two centers (Lundbeck Foundation Parkinson's Disease Research Center (PACE) and the Cologne-Bonn Cohort (CBC); 112 PD, 138 iRBD, 89 age-matched controls. The resulting model was evaluated on an independent dataset from the Danish Center for Sleep Medicine (DCSM; 81 PD, 36 iRBD, 87 sleep-clinic controls). A subset of PSGs with low agreement between the human rater and the model (Cohen's $κ$ < 0.6) was re-scored by a second blinded human rater to identify sources of disagreement. Finally, we applied confidence-based thresholds to optimize REM sleep staging. The pretrained model achieved mean $κ$ = 0.81 in PUB, but $κ$ = 0.66 when applied directly to PACE/CBC. By fine-tuning the model, we developed a generalized model with $κ$ = 0.74 on PACE/CBC (p < 0.001 vs. the pretrained model). In DCSM, mean and median $κ$ increased from 0.60 to 0.64 (p < 0.001) and 0.64 to 0.69 (p < 0.001), respectively. In the interrater study, PSGs with low agreement between the model and the initial scorer showed similarly low agreement between human scorers. Applying a confidence threshold increased the proportion of correctly identified REM sleep epochs from 85% to 95.5%, while preserving sufficient (> 5 min) REM sleep for 95% of subjects.","url_abs":"https://arxiv.org/abs/2602.09793","url_pdf":"https://arxiv.org/pdf/2602.09793","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.09793","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.09793"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD","reach":null}],"summary":{"ran":5,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":6,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":6,"samples":[{"code_sha256_prefix":"899aedae79d89d31","entry":"ConvBNELU","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"899aedae79d89d31"}},{"code_sha256_prefix":"75359b5da77a17b3","entry":"Decoder","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"75359b5da77a17b3"}},{"code_sha256_prefix":"8aa1db90898fee4f","entry":"Dense","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8aa1db90898fee4f"}},{"code_sha256_prefix":"685169af588bcccc","entry":"Encoder","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"685169af588bcccc"}},{"code_sha256_prefix":"0d15743dfb7f3f86","entry":"SegmentClassifier","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0d15743dfb7f3f86"}},{"code_sha256_prefix":"112108906b0d33ed","entry":"USleep","repo":"jesperstroem/U-Sleep-for-RBD-PD","repo_kind":"found_in_text","path":"ml_architectures/usleep/usleep.py","file_url":"https://github.com/jesperstroem/U-Sleep-for-RBD-PD/blob/HEAD/ml_architectures/usleep/usleep.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"112108906b0d33ed"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}