Abstract

Wearable actimeters have the potential to greatly improve our understanding sleep in natural environments and in long-term experiments. Current technologies have served the sleep community well, but they have known weaknesses that introduce errors that can compromise reliable and relevant clinical and research sleep and wakefulness profiles from these data. Newer data collection technologies, such as microelectromechanical systems (MEMS), offer opportunities to gather movement data in different forms and at higher frequencies, making new analytical methods possible and potentially advantageous.

We have developed a novel statistical algorithm, called the Wasserstein Algorithm for Classifying Sleep and Wakefulness (WACSAW), that is based on optimal transport statistics and uses MEMS data as its input. WACSAW segments group data into periods with similar movement patterns and uses optimal transport methods to generate a Wasserstein profile for each segment. The second utilization of optimal transport methodology measures the difference between each segment profile and a hypothetical segment of idealized sleep. Characteristic functions, derived from individual activity segments, were clustered and classified the segment as sleep or wakefulness. WACSAW was initially developed on a 6-person cohort and applied to an additional 16 independent participants. WACSAW returned >95% overall accuracy in sleep and wakefulness assignments validated against participant logs. Compared to the Actiwatch Spectrum Plus, WACSAW delivered a ∼10% improvement in accuracy, sensitivity, and selectivity and showed a reduced standard error between participants, indicating WACSAW conformed to individualized data. In addition, we directly compared WACSAW to GGIR, a current used algorithm designed to accept MEMS data. WACSAW showed an improvement in overall statistics and handled the time series and segmentation differently, which may contribute unique information to activity recordings. Here, we provide novel statistical approach to actimetry that improves sleep/wakefulness designations, adapts to individuals, provides interim metrics that further interpretations and is open source for modification.

Start Date

April 2025

Department(s)

Mathematics and Statistics

Second Department

Biological Sciences

Document Type

Data

File Format

text

Language(s)

English

Rights

© 2025 The Authors, All rights reserved

Publication Date

April 2025

WACSAW Code 2.0.zip (172 kB)
WACSAW Data.zip (383740 kB)

Share

 
COinS