Time-series visual representations for sleep stages classification
Rebeca Padovani Ederli1, Didier A Vega-Oliveros2, Aurea Soriano-Vargas3
1Institute of Computing, University of Campinas (Unicamp), Campinas, SP, Brazil.
Plos One
|May 21, 2025
Summary
Smartwatch data transformed into visual representations, like Gramian Angular Fields, significantly improves sleep stage classification accuracy compared to traditional methods. This offers a more accessible and effective approach to sleep monitoring and health insights.
Area of Science:
- Biomedical Engineering
- Sleep Science
- Artificial Intelligence
Background:
- Polysomnography (PSG) is the gold standard for sleep stage classification but is expensive and impractical for home use.
- Smartwatches offer a convenient, non-invasive, and cost-effective alternative for continuous sleep monitoring.
- Traditional AI methods for smartwatch sleep analysis often use raw or extracted time-series data.
Purpose of the Study:
- To investigate the efficacy of transforming time-series smartwatch data into visual representations for improved sleep stage classification.
- To compare the performance of visual representation methods against traditional approaches for sleep stage classification using smartwatch data.
Main Methods:
- Time-series data from smartwatch accelerometer and heart rate sensors were converted into visual formats (Gramian Angular Field, Recurrence Plots, Markov Transition Field, spectrograms).
- Two-dimensional convolutional neural networks were applied to these visual representations.
- Image patching and ensemble methods were utilized to enhance classification performance.
Main Results:
- Gramian Angular Field, combined with patching and ensemble techniques, achieved the highest performance.
- The proposed method demonstrated superior accuracy, exceeding 82% for two-stage and 62% for three-stage sleep classification.
- This approach showed significant improvements over traditional methods, up to 8-9 percentage points.
Conclusions:
- Visual representations of smartwatch time-series data are highly effective for sleep stage classification.
- This method surpasses traditional approaches, offering a competitive and reliable alternative for sleep monitoring.
- The findings support the use of visual representations for enhanced health monitoring and timely interventions.
Related Concept Videos
Stages of Sleep
161
Sleep progresses through distinct stages, each characterized by specific brain wave patterns and physiological responses ranging from wakefulness to stages of non-rapid eye movement, known as non-REM, to rapid eye movement, referred to as REM. Understanding these stages helps in recognizing how sleep supports various bodily and cognitive functions.
Before sleep begins, in wakefulness, the brain exhibits primarily beta waves, which are high in frequency and low in amplitude, indicating alertness...
Before sleep begins, in wakefulness, the brain exhibits primarily beta waves, which are high in frequency and low in amplitude, indicating alertness...
161
Sleep-Wake Cycles
1.2K
Sleep is an essential physiological process vital to maintaining overall well-being. The reticular activating system (RAS), a network of neurons in the brainstem, regulates wakefulness and sleep. While it may seem passive, sleep consists of distinct cycles, each with its unique characteristics and functions. Two key sleep phases are non-rapid eye movement (NREM) and rapid eye movement (REM).
NREM Sleep
NREM sleep comprises four progressive stages that seamlessly merge:
NREM Sleep
NREM sleep comprises four progressive stages that seamlessly merge:
1.2K
Time-Series Graph
4.3K
A time-series graph is a line graph with repeated measurements taken at successive intervals of time. It is also called a time series chart. To construct a time-series graph, one must look at both pieces of a paired data set. The horizontal axis is used to plot the time increments, and the vertical axis is used to plot the values of the variable that one is measuring. By using the axes in this way, each point on the graph will correspond to time and a measured quantity. The points on the graph...
4.3K
Understanding Sleep
214
Sleep, an essential biological state, involves significant reductions in physical activity, sensory awareness, and interaction with the environment. This complex physiological process is primarily regulated by specific brain regions, notably the hypothalamus and pons, which govern the sleep-wake cycle or circadian rhythm.
The circadian rhythm, a nearly 24-hour cycle, is deeply influenced by environmental light cues. Light exposure directly affects the hypothalamus, which in turn regulates...
The circadian rhythm, a nearly 24-hour cycle, is deeply influenced by environmental light cues. Light exposure directly affects the hypothalamus, which in turn regulates...
214
Nightmares and Night Terrors
68
Nightmares and night terrors represent two distinct types of sleep disturbances that differ in timing, characteristics, and the sleeper's recall of the event. Nightmares are vivid, disturbing dreams that usually awaken the sleeper from REM sleep, a stage of sleep where brain activity is high, and dreams are most frequent. Upon awakening, individuals often have detailed recollections of their nightmares, which can include themes of threats to survival, security, or self-esteem.
Nightmares...
Nightmares...
68


