Abstract
Polysomnography (PSG) is a fundamental diagnostical method for the detection of Obstructive Sleep Apnea Syndrome (OSAS). Historically, trained physicians have been manually identifying OSAS episodes in individuals based on PSG recordings. Such a task is highly important for stroke patients, since in such cases OSAS is linked to higher mortality and worse neurological deficits. Unfortunately, the number of strokes per day vastly outnumbers the availability of polysomnographs and dedicated healthcare professionals. The data in this work pertains to 30 patients that were admitted to the stroke unit of the Udine University Hospital, Italy. Unlike previous studies, exclusion criteria are minimal. As a result, data are strongly affected by noise, and individuals may suffer from several comorbidities. Each patient instance is composed of overnight vital signs data deriving from multi-channel ECG, photoplethysmography and polysomnography, and related domain expert's OSAS annotations. The dataset aims to support the development of automated methods for the detection of OSAS events based on just routinely monitored vital signs, and capable of working in a real-world scenario.
Introduction
Obstructive Sleep Apnea Syndrome (OSAS) is highly prevalent in stroke patients—affecting up to 91% of the population—and is directly linked to higher mortality rates and poorer neurological recovery. Despite its clinical significance, the "gold standard" for diagnosis, Polysomnography (PSG), is logistically challenging in acute stroke units. PSG is expensive, requires specialized staff, and utilizes a complex array of sensors that are difficult to maintain on neurologically impaired patients.
While existing datasets like the PhysioNet Apnea-ECG database provide high-quality signals, they often feature "idealized" conditions with healthy subjects and strict exclusion criteria. In contrast, real-world stroke units are "electrically hostile" environments characterized by signal noise, patient movement, and complex comorbidities. The OSASUD (Obstructive Sleep Apnea Stroke Unit Dataset) addresses this gap by providing a rare look at OSAS in acute stroke patients, enabling the development of AI models that can detect apnea using only standard, non-invasive bedside monitors.
Methodology
The researchers collected data from 30 patients admitted to the stroke unit at Udine University Hospital, Italy. A primary challenge involved synchronizing two independent systems: the PSG system (Embletta MPR), which recorded respiratory metrics, and the bedside monitor (Mindray iMec15), which recorded routine vitals like multi-lead ECG and photoplethysmography (PPG).
Because these devices utilize independent internal clocks, a cross-correlation approach was employed to align the data. By comparing heart rate and oxygen saturation (SpO2) time series from both devices, the team calculated the temporal shift required to maximize correlation. Once aligned, a trained sleep physician manually annotated the PSG recordings for apnea and hypopnea events at a high-resolution, one-second granularity.
The OSASUD Dataset
The resulting dataset comprises 961,357 rows of data at 1-second resolution across 30 patients. Each instance includes 18 columns featuring raw waveforms (ECG leads I, II, III and PPG) and derived metrics such as Heart Rate, SpO2, Respiratory Rate, Perfusion Index, and Premature Ventricular Contractions.
Unlike traditional datasets, OSASUD intentionally preserves noisy segments and artifacts. This "real-world" messiness is essential for training robust machine learning models capable of functioning outside controlled laboratory settings. Furthermore, the inclusion of patients with atrial fibrillation, diabetes, and cardiac disease makes the cohort significantly more representative of the actual clinical population encountered in stroke units.
Clinical Characteristics and Results
The dataset captures a wide clinical spectrum, with patient ages ranging from 33 to 87 and BMIs ranging from 16.8 to 45.0. The severity of OSAS within the cohort, measured by the Apnea-Hypopnea Index (AHI), ranges from 0 to 73, covering the full spectrum from healthy breathing to severe syndrome.
Technical validation of the dataset was performed through the development of a deep learning model (AIOSA). This model successfully predicted OSAS events using the OSASUD data, proving that the signal-to-noise ratio in these "dirty" real-world signals is sufficient for predictive modeling and automated detection.
Discussion and Future Work
While the OSASUD dataset serves as a high-quality pilot for clinical data science, it is limited by its relatively small sample size (30 patients) and the lack of electroencephalography (EEG) data. The use of a "Class III" PSG device meant that formal sleep staging and the identification of arousals without oxygen desaturation were not possible. Additionally, the data represents a single snapshot during early stroke recovery rather than a longitudinal study.
Future research will focus on expanding the dataset to multi-center cohorts and integrating EEG sensors. Such advancements will help clinicians better understand the complex relationship between sleep architecture, OSAS, and long-term stroke recovery.
Summary updated