LogicSleep: a neurosymbolic-guided framework for explainable and personalized sleep staging
Sleep staging is important for diagnosing and managing sleep disorders. However, artificial intelligence-based models still struggle with explainability, sequence plausibility, and personalization across subjects. We propose LogicSleep , a neurosymbolic framework that integrates transition rules with deep learning models for explainable, physiologically valid, and subject-adaptive sleep staging. LogicSleep extracts multi-level evidence from raw polysomnography via a CNN-graph U-Net backbone, providing explainable patterns beyond classification. Sequence plausibility is enforced by combining Conditional Random Fields with Deep Learning with Differentiable Logics (DL2) rules, which discourage implausible transitions, promote physiologically valid ones, and regularize dwell times; the same rules also guide subject-specific test-time adaptation via entropy minimization. Across different datasets (i.e., ISRUC_S1, ISRUC_S3, and MASS_SS3 datasets), under both within- and cross-dataset settings, LogicSleep consistently outperforms strong baselines and improves sequence-level metrics. Ablations confirm complementary contributions of each component. LogicSleep advances sleep staging toward physiologically plausible, personalized, and explainable predictions.
Authors
- Jingying Ma
- Feng Wu (ORCID: https://orcid.org/0000-0001-7977-8306)
- Yucheng Xing
- Mengling Feng (ORCID: https://orcid.org/0000-0002-5338-6248)
- Qika Lin
- Ziyu Jia
Institutions
- National University of Singapore (SG)
- Chinese Academy of Sciences (CN)
- Fudan University (CN)
- Guangzhou Mechanical Engineering Research Institute (China) (CN)
- Institute of Automation (CN)
- National University Health System (SG)
Publication Details
- Journal
- npj Artificial Intelligence
- Published
- 2026-07-28
- DOI
- https://doi.org/10.1038/s44387-026-00132-z
- Primary Topic
- EEG and Brain-Computer Interfaces
- Type
- article
- Field-Weighted Citation Impact
- 0.00