arXiv:2610.13918cs.NEOct 2026

Manuscript Offprint

arXiv:2610.13918

DyssomniaNN: Multi-Scale Spiking Neural Modeling of Human Sleep Disorders and Perceived Restedness

Daniel Szelogowski

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Clinical sleep medicine repeatedly documents profound divergences between objective sleep duration and subjective daytime impairment, notably exemplified by sleep state misperception in paradoxical insomnia and boundary instability in narcolepsy type 1. Here, we present DyssomniaNN: a multi-scale biophysical computational framework coupling Borbély's two-process regulation of sleep homeostasis and circadian drive with Saper's hypothalamic reciprocal flip-flop circuit and a recurrent corticothalamic leaky integrate-and-fire spiking neural network. We formalize five clinical cohorts across an identical 72-hour photoperiod: healthy control, circadian rhythm sleep-wake disorder (delayed-phase), chronic insomnia, paradoxical insomnia, and narcolepsy type 1. The synthetic local field potential converges closely with empirical human electroencephalography spectra from the PhysioNet Sleep-EDF database across all canonical frequency bands (spectral mean absolute error of 0.33–0.35). Furthermore, we introduce the Well-Rested Index to quantify restorative efficacy. Simulations reveal that sleep duration fails to predict restorative recovery: paradoxical insomnia achieves normal total sleep time (21.15 h) yet yields low restoration (37.6%) from unsuppressed cortical beta-band intrusion, whereas hypocretin deficiency in narcolepsy produces severe nocturnal fragmentation (781 min of wake after sleep onset) and 35 sleep-onset rapid eye movement periods. DyssomniaNN provides an in silico platform for mechanistic sleep research and virtual neuropharmacology.

1 Introduction

Sleep disorders affect an estimated 10%–30% of the global adult population, contributing substantially to cardiovascular disease, metabolic dysfunction, affective disorders, and cognitive decline [3, 30]. Clinical polysomnography (PSG) serves as the diagnostic benchmark for evaluating sleep pathology, categorizing sleep into discrete 30-second epochs comprising wakefulness, non-rapid eye movement (NREM) stages N1, N2, and N3 slow-wave sleep, and rapid eye movement (REM) sleep [3].

Despite the widespread clinical adoption of macroscale PSG metrics such as total sleep time (TST) and sleep efficiency (SE), these indices frequently fail to correlate with patients' perceived daytime impairment or neurocognitive recovery [14, 20]. This divergence is evident in paradoxical insomnia, clinically designated as sleep state misperception. Patients suffering from paradoxical insomnia report profound subjective insomnia and daytime exhaustion, despite objective overnight PSG recording normal sleep duration, normal sleep onset latency (SOL), and preserved macroarchitecture [14, 20]. Conversely, patients diagnosed with narcolepsy type 1 frequently accumulate equal or greater TST than healthy individuals over a 24-hour cycle, yet suffer from severe daytime somnolence (excessive daytime sleepiness and the inability to maintain consolidated wakefulness)

Project source code available at https://github.com/danielathome19/DyssomniaNN.

Preprint. Under review.

and cataplexy (sudden, transient loss of voluntary muscle tone — i.e., steady neurotransmitter release — triggered by strong emotions such as laughter, while consciousness remains preserved) [11, 34]. These symptoms arise from the selective loss of hypothalamic neurons producing hypocretin and orexin, which destabilizes transitions between wakefulness, NREM, and REM sleep [26, 11, 34].

Addressing these clinical discrepancies requires computational models capable of bridging microscopic synaptic and neuromodulatory mechanisms with macroscopic sleep architecture. Traditional computational models of sleep have largely existed in isolation: phenomenological differential equations modeling macroscopic circadian and homeostatic sleep propensity [5, 10, 1], lumped-rate models of hypothalamic switching [32, 33, 27], or biophysical spiking neural networks (SNNs) composed of leaky integrate-and-fire (LIF) neurons focused on local cortical oscillations during brief sleep spindles or slow waves [12, 17]. Prior modeling efforts have not united these biophysical scales into a continuous, multi-day simulation capable of reproducing distinct human dyssomnias within an identical environmental photoperiod (the structured daily cycle of ambient light and dark exposure, here configured as a 16-hour light/8-hour dark schedule).

In this work, we present DyssomniaNN, an end-to-end multi-scale biophysical computational framework implemented in PyTorch. Our contributions are summarized as follows:

  1. We formulate a hierarchical biophysical model coupling Borbély’s two-process regulation with Saper’s reciprocal hypothalamic flip-flop switch and a corticothalamic LIF network across continuous multi-day photoperiods (72.0 h).

  2. We parameterize five distinct clinical phenotypes: Healthy Normal Sleep, Circadian Rhythm Sleep-Wake Disorder (CRSWD) of the delayed-phase type, Chronic Psychophysiological Insomnia (abbreviated in this paper as simply “Chronic Insomnia”), Paradoxical Insomnia (Sleep State Misperception), and Narcolepsy Type 1.

  3. We validate emergent corticothalamic electroencephalography (EEG) spectra against empirical human PSG recordings from the PhysioNet Sleep-EDF database [18, 19], achieving quantitative spectral convergence across Delta, Theta, Alpha, Sigma, and Beta bands.

  4. We formulate the Well-Rested Index ( R∈[0,100%]\mathcal{R} \in [0, 100\%]), demonstrating that perceived sleep restoration is dissociated from TST and is governed by the preservation of slow-wave sleep against cortical hyperarousal and circadian phase misalignment.

References (38)