cs.AIFeb 7, 2026

SleepMaMi: A Universal Sleep Foundation Model for Integrating Macro- and Micro-structures

Authors: Keondo Park, Younghoon Na, Yourim Choi, Hyunwoo Ryu, Hyun-Woo Shin, Hyung-Sin Kim

Organizations: Graduate School of Data Science, Seoul National University, Seoul, South Korea · Department of Biomedical Sciences, Seoul National University College of Medicine, Seoul, Republic of Korea · Obstructive Upper Airway Research (OUaR) Laboratory, Department of Pharmacology, Seoul National University College of Medicine, Seoul, Republic of Korea · Department of Otorhinolaryngology-Head and Neck Surgery, Seoul National University Hospital, Seoul, Republic of Korea

Abstract

While the shift toward unified foundation models has revolutionized many deep learning domains, sleep medicine remains largely restricted to task-specific models that focus on localized micro-structure features. These approaches often neglect the rich, multi-modal context of Polysomnography (PSG) and fail to capture the global macro-structure of a full night's sleep. To address this, we introduce SleepMaMi , a Sleep Foundation Model engineered to master both hour-long sleep architectures and fine-grained signal morphologies. Our framework utilizes a hierarchical dual-encoder design: a Macro-Encoder to model full-night temporal dependencies and a Micro-Encoder to capture short-term characteristics from biosignals. Macro-Encoder is trained via Demographic-Guided Contrastive Learning, which aligns overnight sleep patterns with objective subject metadata, such as age, sex and BMI to refine global representations. Micro-Encoder is optimized via a hybrid Masked Autoencoder (MAE) and multi-modal contrastive objective. Pre-trained on a massive corpus of >>20,000 PSG recordings (158K hours),SleepMaMi outperforms or matches state-of-the-art existing foundation models across a diverse suite of downstream tasks, demonstrating superior generalizability and label-efficient adaptation for clinical sleep analysis.

Figures & tables

Explore similar work

CardsList
  1. Omni-Sleep: A Sleep Foundation Model via Hierarchical Contrastive Learning of CNS-ANS Dynamics

    Jul 4, 2026Zhoujie Hou, Song Wang, Kexin Lou +3Sleep Stage ClassificationLatent Dynamics Modeling

  2. OSF: On Pre-training and Scaling of Sleep Foundation Models

    Feb 27, 2026Zitao Shuai, Zongzhe Xu, David Yang +2Self-Supervised Pre-TrainingScaling Laws

  3. Comparative Analysis of State-of-the-Art Foundation Models for Sleep Analysis Under Channel Reduction

    Aug 14, 2026Hassan Mehdi, Riku Klen, Ayse Kosal Bulbul +5Sleep Stage ClassificationEEG Foundation Models