Scientific Reports (Jun 2023)

A computationally efficient algorithm for wearable sleep staging in clinical populations

  • Pedro Fonseca,
  • Marco Ross,
  • Andreas Cerny,
  • Peter Anderer,
  • Fokke van Meulen,
  • Hennie Janssen,
  • Angelique Pijpers,
  • Sylvie Dujardin,
  • Pauline van Hirtum,
  • Merel van Gilst,
  • Sebastiaan Overeem

DOI
https://doi.org/10.1038/s41598-023-36444-2
Journal volume & issue
Vol. 13, no. 1
pp. 1 – 14

Abstract

Read online

Abstract This study describes a computationally efficient algorithm for 4-class sleep staging based on cardiac activity and body movements. Using an accelerometer to calculate gross body movements and a reflective photoplethysmographic (PPG) sensor to determine interbeat intervals and a corresponding instantaneous heart rate signal, a neural network was trained to classify between wake, combined N1 and N2, N3 and REM sleep in epochs of 30 s. The classifier was validated on a hold-out set by comparing the output against manually scored sleep stages based on polysomnography (PSG). In addition, the execution time was compared with that of a previously developed heart rate variability (HRV) feature-based sleep staging algorithm. With a median epoch-per-epoch κ of 0.638 and accuracy of 77.8% the algorithm achieved an equivalent performance when compared to the previously developed HRV-based approach, but with a 50-times faster execution time. This shows how a neural network, without leveraging any a priori knowledge of the domain, can automatically “discover” a suitable mapping between cardiac activity and body movements, and sleep stages, even in patients with different sleep pathologies. In addition to the high performance, the reduced complexity of the algorithm makes practical implementation feasible, opening up new avenues in sleep diagnostics.