Recognizing Sleep Stages with Wearable Sensors in Everyday Settings

Ulrich Reimer, Sandro Emmenegger, Edith Maier, Zhongxing Zhang, Ramin Khatami


The paper presents results from the SmartSleep project which aims at developing a smartphone app that gives users individual advice on how to change their behaviour to improve their sleep. The advice is generated by identifying correlations between behaviour during the day and sleep architecture. To this end, the project addresses two sub-tasks: detecting a user’s daytime behaviour and recognising sleep stages in an everyday setting. The focus of the paper is on the second task. Various sensor devices from the consumer market were used in addition to the usual PSG sensors in a sleep lab. An expert assigned a sleep stage for every 30 seconds. Subsequently, a sleep stage classifier was learned from the resulting sensor data streams segmented into labelled sleep stages of 30 seconds each. Apart from handcrafted features we also experimented with unsupervised feature learning based on the deep learning paradigm. Our best results for correctly classified sleep stages are in the range of 90 to 91% for Wake, REM and N3, while the best recognition rate for N2 is 83%. The classification results for N1 turned out to be much worse, N1 being mostly confused with N2.


  1. Alsheikh, M. A., Selim, A., Niyato, D., Doyle, L., Lin, S., and Tan, H.-P. (2015). Deep activity recognition models with triaxial accelerometers. arXiv:1511.04664.
  2. Baglioni, C., Battagliese, G., Feige, B., Spiegelhalder, K., Nissen, C., Voderholzer, U., Lombardo, C., and Riemann, D. (2011). Insomnia as a predictor of depression: A meta-analytic evaluation of longitudinal epidemiological studies. Journal of Affective Disorders, 135(1-3):10-19.
  3. Behar, J., Roebuck, A., Domingos, J. S., Gederi, E., and Clifford, G. D. (2013). A review of current sleep screening applications for smartphones. Physiological measurement, 34(7):R29.
  4. Bengio, Y., Courville, A. C., and Vincent, P. (2012). Unsupervised feature learning and deep learning: A review and new perspectives. CoRR, abs/1206.5538.
  5. Borazio, M., Berlin, E., Kckyildiz, N., Scholl, P., and Laerhoven, K. V. (2014). Towards benchmarked sleep detection with wrist-worn sensing units. In 2014 IEEE Int. Conf. on Healthcare Informatics, pages 125-134.
  6. Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P., and Stal, M. (2013). Pattern-Oriented Software Architecture. A System of Patterns. Wiley.
  7. Carreira-Perpinan, M. A. and Hinton, G. E. (2005). On contrastive divergence learning. Artificial Intelligence and Statistics, 2005.
  8. Gu, W., Yang, Z., Shangguan, L., Sun, W., Jin, K., and Liu, Y. (2014). Intelligent sleep stage mining service with smartphones. In Proc. ACM Int. Joint Conf. on Pervasive and Ubiquitous Computing, pages 649-660.
  9. Herrera, L. J., Fernandes, C. M., Mora, A. M., Migotina, D., Largo, R., Guillén, A., and Rosa, A. C. (2013). Combination of heterogeneous EEG feature extraction methods and stacked sequential learning for sleep stage classification. International Journal of Neural Systems, 23(03):1350012.
  10. Hinton, G. E. (2002). Training products of experts by minimizing contrastive divergence. Neural Computation, 14(8):1771-1800.
  11. Hinton, G. E. (2012). A practical guide to training Restricted Boltzmann Machines. In Montavon, G., Orr, G. B., and Müller, K.-R., editors, Neural networks: tricks of the trade, pages 599-619. Springer.
  12. Hossain, J. L. and Shapiro, C. M. (2002). The prevalence, cost implications, and management of sleep disorders: an overview. Sleep and Breathing, 6(02):085-102.
  13. Keyvanrad, M. A. and Homayounpour, M. M. (2014). A brief survey on deep belief networks and introducing a new object oriented toolbox (DeeBNet). Technical Report, Laboratory for Intelligent Multimedia Processing, Computer Engineering and Information Technology Department, Amirkabir University of Technology, Tehran, Iran.
  14. Kolla, B. P., Mansukhani, S., and Mansukhani, M. P. (2016). Consumer sleep tracking devices: a review of mechanisms, validity and utility. Expert Review of Medical Devices, 13(5):497-506.
  15. Kurihara, Y. and Watanabe, K. (2012). Sleep-stage decision algorithm by using heartbeat and body-movement signals. IEEE Transactions on Systems, Man, and Cybernetics - Part A: Systems and Humans , 42(6):1450- 1459.
  16. Kwapisz, J. R., Weiss, G. M., and Moore, S. A. (2011). Activity recognition using cell phone accelerometers. SIGKDD Explorations Newsletter, 12(2):74-82.
  17. Längkvist, M., Karlsson, L., and Loutfi, A. (2012). Sleep stage classification using unsupervised feature learning. Advances in Artificial Neural Systems , 2012(3):1-9.
  18. O'Hare, E., Flanagan, D., Penzel, T., Garcia, C., Frohberg, D., and Heneghan, C. (2015). A comparison of radiofrequency biomotion sensors and actigraphy versus polysomnography for the assessment of sleep in normal subjects. Sleep and Breathing, 19(1):91-98.
  19. Panagiotou, C., Samaras, I., Gialelis, J., Chondros, P., and Karadimas, D. (2015). A comparative study between SVM and fuzzy inference system for the automatic prediction of sleep stages and the assessment of sleep quality. In Proc. 9th Int. Conf. on Pervasive Computing Technologies for Healthcare, pages 293-296.
  20. Panossian, L. A. and Avidan, A. Y. (2009). Review of sleep disorders. Medical Clinics of North America, 93(2):407-425.
  21. Radha, M., Garcia-Molina, G., Poel, M., and Tononi, G. (2014). Comparison of feature and classifier algorithms for online automatic sleep staging based on a single EEG signal. In Proc. 36th Annual Int. Conf. of the IEEE Engineering in Medicine and Biology Society, pages 1876-1880.
  22. Rahman, T., Adams, A. T., Ravichandran, R. V., Zhang, M., Patel, S. N., Kientz, J. A., and Choudhury, T. (2015).
  23. Reimer, U., Maier, E., Laurenzi, E., and Ulmer, T. (2017). Mobile stress recognition and relaxation support with SmartCoping: User adaptive interpretation of physiological stress parameters. In Proc. Hawaii Int. Conf. on System Sciences (HICSS-50).
  24. Shi, J., Liu, X., Li, Y., Zhang, Q., Li, Y., and Ying, S. (2015). Multi-channel EEG-based sleep stage classification with joint collaborative representation and multiple kernel learning. Journal of Neuroscience Methods, 254:94-101.
  25. Sohm, M. (2016). Erkennung von komplexen Aktivitäten anhand von tragbaren Sensoren. Master thesis, University of Applied Sciences, Vorarlberg.
  26. Subramanian, S., Hesselbacher, S. E., Aguilar, R., and Surani, S. R. (2011). The NAMES assessment: a novel combined-modality screening tool for obstructive sleep apnea. Sleep and Breathing, 15(4):819-826.
  27. Tinguely, G., Landolt, H.-P., and Cajochen, C. (2014). Schlafgewohnheiten, Schlafqualität und Schlafmittelkonsum der Schweizer Bevölkerung: Ergebnisse aus einer neuen Umfrage bei einer repräsentativen Stichprobe. Therapeutische Umschau, 71(11):637-646.

Paper Citation

in Harvard Style

Reimer U., Emmenegger S., Maier E., Zhang Z. and Khatami R. (2017). Recognizing Sleep Stages with Wearable Sensors in Everyday Settings . In Proceedings of the 3rd International Conference on Information and Communication Technologies for Ageing Well and e-Health - Volume 1: ICT4AWE, ISBN 978-989-758-251-6, pages 172-179. DOI: 10.5220/0006346001720179

in Bibtex Style

author={Ulrich Reimer and Sandro Emmenegger and Edith Maier and Zhongxing Zhang and Ramin Khatami},
title={Recognizing Sleep Stages with Wearable Sensors in Everyday Settings},
booktitle={Proceedings of the 3rd International Conference on Information and Communication Technologies for Ageing Well and e-Health - Volume 1: ICT4AWE,},

in EndNote Style

JO - Proceedings of the 3rd International Conference on Information and Communication Technologies for Ageing Well and e-Health - Volume 1: ICT4AWE,
TI - Recognizing Sleep Stages with Wearable Sensors in Everyday Settings
SN - 978-989-758-251-6
AU - Reimer U.
AU - Emmenegger S.
AU - Maier E.
AU - Zhang Z.
AU - Khatami R.
PY - 2017
SP - 172
EP - 179
DO - 10.5220/0006346001720179