Manuscript Offprint

arXiv:2610.17451

On Sleep-Wake Disorder Identification from Polysomnographic Representations

Alvise Dei Rossi, Luigi Fiorillo, Giuliana Monachino, Alessia Calzoni, Julia van der Meer, Markus H. Schmidt, Claudio L. A. Bassetti, Silvia Santini, Francesca Faraci

Alvise Dei Rossi

Faculty of Informatics, Università della Svizzera Italiana

MeDiTech, SUPSI

Lugano, Switzerland

alvise.dei.rossi@usi.ch

Luigi Fiorillo

MeDiTech, SUPSI

Ente Ospedaliero Cantonale (EOC)

Lugano, Switzerland

luigi.fiorillo@supsi.ch

Giuliana Monachino

MeDiTech, SUPSI

Lugano, Switzerland

giuliana.monachino@supsi.ch

Alessia Calzoni

Department of Information Engineering, University of Brescia

Brescia, Italy

alessia.calzoni@unibs.it

Julia van der Meer & Markus H. Schmidt & Claudio L.A. Bassetti

Sleep Wake Epilepsy Center, Department of Neurology, Inselspital

University of Bern

Bern, Switzerland

{julia.vandermeer, markus.schmidt, claudio.bassetti}@insel.ch

Silvia Santini

Faculty of Informatics, Università della Svizzera Italiana

Lugano, Switzerland

silvia.santini@usi.ch

Francesca Faraci

MeDiTech, SUPSI

Lugano, Switzerland

francesca.faraci@supsi.ch

Abstract

Self-supervised polysomnography foundation models (PSG FMs) aim to capture clinically useful information beyond sleep staging, yet are rarely compared with sleep-staging encoders pretrained at comparable scale and modality coverage. Using a common whole-night, missingness-aware state-space downstream modeling framework, we compared frozen representations from prominent large-scale, multi-cohort sleep-stage-supervised encoders and self-supervised PSG FMs for multilabel identification of six sleep-wake and circadian disorder groups in 7,906 PSGs from an unseen registry. Although PSG FMs outperformed an EEG-only, single-cohort supervised baseline, this ordering reversed when supervised pretraining approached comparable scale and modality coverage. Transfer learning from neural sleep scorers achieved higher overall performance while exhibiting greater downstream data efficiency. These findings underscore the need for scale- and modality-matched pretrained supervised baselines when assessing PSG FMs' downstream potential.

Preprint.

1 Introduction

Polysomnography (PSG), the reference standard for comprehensive overnight assessment of sleep physiology, is a central diagnostic tool across multiple sleep-wake-circadian disorders (SWCDs) and synchronously records brain (EEG), ocular (EOG), muscular (EMG), cardiac (ECG), and respiratory activity (RESP) [12, 14]. From a computational perspective, PSG represents both a multimodal and a long-sequence modeling problem: diagnostically relevant information ranges from transient waveform events to interactions among physiological signals and changes in sleep architecture unfolding over hours. Clinical interpretation renders this complexity actionable by assigning each 30-second segment to wake, N1, N2, N3, or REM sleep stages [3], annotating physiological events, and deriving night-level summary measures. These abstractions provide readily interpretable descriptions of sleep, but continuous, multimodal PSG signals may contain complementary information associated with SWCD phenotypes that discrete scores or aggregated metrics do not fully capture. Accordingly, we evaluate representations from currently available pretrained PSG encoders for SWCD identification, considering differences in pretraining strategy, scale, and physiological coverage.

Early computational approaches to PSG analysis relied predominantly on handcrafted time-, frequency-, and nonlinear-domain features combined with conventional classifiers [9, 24]. Deep learning progressively shifted the field toward end-to-end representation learning from raw signals or time–frequency inputs, initially driven largely by automatic sleep staging, i.e., the determination of the sequence of sleep stages across the night [19]. Together with the growing availability of large annotated PSG collections [26], this transition enabled sleep-staging models to learn from heterogeneous populations and recording configurations and to generalize to unseen cohorts [6, 7, 18].

Recent research on PSG representations has increasingly centered on models described as foundation models (FMs): encoders pretrained at scale, typically through self-supervised objectives, and intended for reuse across multiple downstream tasks [11]. Motivated by the cost and variability of expert annotations and by the aim of learning physiological structure beyond sleep staging, recent approaches use cross-modal contrastive learning, self-distillation, and autoregressive next-token prediction [4, 21, 23]. Their reported transfer across sleep staging, physiological-event detection, and prediction of a wide array of disorders has established self-supervised pretraining as a prominent direction for PSG representation learning.

However, the role of self-supervision itself for downstream transfer should be clarified; although self-supervision often enables scale when task-relevant annotations are scarce, PSG is unusual in this respect: research-accessible repositories, like the National Sleep Research Resource (NSRR) [26], contain abundant human-scored sleep-stage annotations for supervised pretraining across multiple cohorts. This places large-scale supervised efforts [6] within the same broad range as most recent PSG FMs in terms of data scale and diversity, with the exception of SleepFM, which was pretrained on roughly twice as much PSG data [23]. Moreover, neural sleep scorers can retain clinically relevant information beyond their discrete stage predictions: for instance, their latent representations, probabilistic outputs, and temporal dynamics have supported the identification of narcolepsy, obstructive sleep apnea, and the prediction of future cardiovascular risk [2, 8, 18, 22].

More fundamentally, recent work on the pretraining and scaling of PSG FMs identified robustness to missing channels, channel-invariant feature learning, pretraining scale, and multi-source data diversity as key determinants of downstream performance [21]. These properties are not unique to self-supervision and echo findings and design principles already established in automatic sleep staging: vulnerability to missing or changing channel configurations [19], the benefit of channel-agnostic training across variable sensor derivations [18], and the importance of data scale and cohort diversity for generalization [6, 16]. Nevertheless, transfer learning of latent representations from large, multi-cohort, sleep-stage-supervised encoders has rarely been evaluated alongside self-supervised FMs. Available comparisons have instead often used supervised architectures trained end-to-end on downstream labels, or demographic-only baselines, without including a supervised-pretraining condition [21, 23]. In other works, supervised models have been trained separately within each target cohort for staging itself [4]. When frozen supervised representations have been considered for broader downstream tasks, the evaluated checkpoints were pretrained on a single cohort, and the downstream evaluation considered EEG alone [13]. An important recent exception matched the architecture and pretraining corpus of self-supervised and sleep-stage-supervised models, finding stronger participant cross-night fingerprinting and finer-grained within-record latent organization after self-supervised pretraining [5]. However, its clearest downstream advantages over the supervised counterpart mostly

Figure

Figure 1: Recordings are processed by a pretrained encoder, yielding representations that are jointly modeled across time and streams over the complete night using a mask-aware state-space network.

concerned the prediction of demographic and anthropometric traits, leaving uncertain whether this additional information supports consistent gains across broader clinical outcomes.

Evaluation protocols also differ in temporal handling, including whole-recording mean embeddings [13], prediction from epoch-level outputs [4], and averaged predictions from independently processed segments [5]. These choices compound differences in pretraining scale and diversity, modality coverage, and encoder architecture, making comparisons across released models difficult to interpret. Fully factorial retraining across pretraining objectives and corpora, encoder architectures, modality configurations, and optimization regimes would be required to isolate their individual effects, but is infeasible at the scale of current PSG frameworks. In the present work we investigate the pragmatic question of how prominent supervised and self-supervised PSG encoders presently available to practitioners compare on the same unseen clinical cohort. We evaluate their representations for multilabel SWCD identification in a large clinical cohort, reducing avoidable downstream differences through a common sequential modeling framework, which leverages each encoder's temporally resolved whole-night output and, where available, its modality structure. Models are evaluated both with and without demographic covariates, and contextualized against baselines leveraging sleep summary metrics from manual and automated sleep staging, while key differences in pretraining scale and modality coverage are summarized. To our knowledge, this is the first large-scale evaluation of pretrained PSG representations for clinically adjudicated, co-occurring SWCDs, providing a clinically grounded assessment of whether current self-supervised sleep FMs offer greater downstream utility than large-scale, multi-cohort, sleep-stage-supervised encoders for SWCD identification.

References (24)