HyPoNet: Fine-Grained Sleep Posture Recognition from a Single Abdominal Accelerometer

Dieu Hoang Vu, Duc-Nghia Tran, Quang Huy Pham, Duc-Tan Tran

Abstract


Fine-grained sleep posture recognition is essential for the non-invasive management of conditions such as gastroesophageal reflux disease (GERD) and obstructive sleep apnea (OSA). Traditional systems typically recognize only a limited set of coarse sleep positions, thereby restricting their clinical effectiveness in real-world scenarios. This study presents HyPoNet, a lightweight deep learning model designed to classify twelve distinct sleep postures using data from a single wearable sensor system. The proposed hardware platform consists of a tri-axial accelerometer (ADXL345) positioned on the abdomen, interfaced with a low-power microcontroller unit (ESP32) for real-time signal acquisition and wireless data transmission. Acceleration signals along the x, y, and z axes were collected from ten healthy participants performing twelve predefined sleep positions under controlled conditions. The collected data were segmented using a sliding window method, and a subject-independent evaluation strategy was applied: data from eight participants were used for training and validation (in an 80:20 split), while data from the remaining two participants were reserved for testing. HyPoNet employs a hybrid neural network architecture combining one-dimensional convolutional layers for spatial feature extraction with bidirectional long short-term memory (BiLSTM) units to model temporal dependencies in the acceleration signals. The model achieved a mean accuracy of 97.29% and an average F1-score of 90.72%, outperforming baseline models including CNN, GRU, and Transformer-based approaches. With its low computational footprint and high classification performance, HyPoNet offers a promising solution for embedded sleep posture monitoring in home-based and clinical settings.

References


K. Zovko, L. Šeri´c, T. Perkovi´c, H. Belani, and P. Šoli´c, “Iot and health monitoring wearable devices as enabling technologies for sustainable enhancement of life quality in smart environments,” Journal of Cleaner Production, vol. 413, p. 137506, Aug. 2023.

L. S. Dhingra, A. Aminorroaya, E. K. Oikonomou, A. A. Nargesi, F. P. Wilson, H. M. Krumholz, and R. Khera, “Use of wearable devices in individuals with or at risk for cardiovascular disease in the us, 2019 to 2020,” JAMA Network Open, vol. 6, no. 6, p. e2316634, Jun. 2023.

D. Jyotishi and S. Dandapat, “An lstm-based model for person identification using ecg signal,” IEEE Sensors Letters, vol. 4, no. 8, pp. 1–4, Aug. 2020.

F. Salis, S. Bertuletti, T. Bonci, M. Caruso, K. Scott, L. Alcock, E. Buckley, E. Gazit, C. Hansen, L. Schwickert, K. Aminian, C. Becker, P. Brown, A.-E. Carsin, B. Caulfield, L. Chiari, I. D’Ascanio, S. Del Din, B. M. Eskofier, J. Garcia-Aymerich, J. M. Hausdorff, E. C. Hume, C. Kirk, F. Kluge, S. Koch, A. Kuederle, W. Maetzler, E. M. Micó-Amigo, A. Mueller, I. Neatrour, A. Paraschiv-Ionescu, L. Palmerini, A. J. Yarnall, L. Rochester, B. Sharrack, D. Singleton, B. Vereijken, I. Vogiatzis, U. Della Croce, C. Mazzà, A. Cereatti, and for the Mobilise-D consortium,

“A multi-sensor wearable system for the assessment of diseased gait in real-world conditions,” Frontiers in Bioengineering an Biotechnology, vol. 11, Apr. 2023.

T.-H. Dao, H.-Y. Hoang, V.-N. Hoang, D.-T. Tran, and D.-N. Tran, “Human activity recognition system for moderate performance microcontroller using accelerometer data and random forest algorithm,” EAI Endorsed Transactions on Industrial Networks and Intelligent Systems, vol. 9, no. 4, p. e4, Nov. 2022.

N. T. Thu, T.-H. Dao, B. Q. Bao, D.-N. Tran, P. V. Thanh, and D.-T. Tran, “Real-time wearable-device based activity recognition using machine learning methods,” International Journal of Computing and Digital Systems, vol. 12, no. 1, pp. 321–333, Jul. 2022.

E. P. Doheny, M. M. Lowery, A. Russell, and S. Ryan, “Estimation of respiration rate and sleeping position using a wearable accelerometer,” 2020 42nd Annual International Conference of the IEEE Engineering in Medicine and Biology Society EMBC, pp. 4668–4671, Jul. 2020.

R. S. Abdulsadig, S. Singh, Z. Patel, and E. Rodriguez-Villegas, “Sleep posture detection using an accelerometer placed on the neck,” 2022 44th Annual International Conference of the IEEE Engineering in Medicine amp Biology Society (EMBC), pp. 2430–2433, Jul. 2022.

R. S. Abdulsadig and E. Rodriguez-Villegas, “Sleep posture monitoring using a single neck- situated accelerometer: A proof-of-concept,” IEEE Access, vol. 11, pp. 17693–17706, Jan. 2023.

P. Jeng and L.-C. Wang, “An accurate, low-cost, easy-to-use sleep posture monitoring system,” 2017 International Conference on Applied System Innovation (ICASI), pp. 903–905, May 2017.

P. Vonk, M. Ravesloot, and N. de Vries, “Positional therapy for positional obstructive sleep apnea: What is new?” Current Sleep Medicine Reports, vol. 3, no. 3, pp. 113–121, Aug. 2017.

J. P. van Maanen and N. de Vries, “Long-term effectiveness and compliance of positional therapy with the sleep position trainer in the treatment of positional obstructive sleep apnea syndrome,” Sleep, vol. 37, no. 7, pp. 1209–1215, Jul. 2014.

J. M. Schuitenmaker, T. Kuipers, R. A. Oude Nijhuis, M. P. Schijven, A. J. M. Smout, P. Fockens, and A. J. Bredenoord, “Sleep positional therapy for nocturnal gastroesophageal reflux: A double-blind, randomized, sham-controlled trial,” Clinical Gastroenterology and Hepatology, vol. 20, no. 12, pp. 2753–2762.e2, Dec. 2022.

P. Dave, “Factors contributing to sleep disorders among young adults,” Asian Journal of Dental and Health Sciences, vol. 4, no. 2, pp. 26–31, Jun. 2024.

P. R. Srijithesh, R. Aghoram, A. Goel, and J. Dhanya, “Positional therapy for obstructive sleep apnoea,” Cochrane Database of Systematic Reviews, vol. 2019, no. 11, May 2019.

S. Kiranyaz, O. Avci, O. Abdeljaber, T. Ince, M. Gabbouj, and D. J. Inman, “1d convolutional neural networks and applications: A survey,” Mechanical Systems and Signal Processing, vol. 151, p. 107398, Apr. 2021.

M. Khan, H. Wang, A. Riaz, A. Elfatyany, and S. Karim, “Bidirectional lstm-rnn-based hybrid deep learning frameworks for univariate time series classification,” The Journal of Supercomputing, vol. 77, no. 7, pp. 7021–7045, Jan. 2021.

H.-D. Vu, D.-N. Tran, H.-H. Pham, D.-D. Pham, K.-L. Can, T.-H. Dao, and D.-T. Tran, “Human sleep position classification using a lightweight model and acceleration data,” Sleep and Breathing, vol. 29, no. 1, Feb. 2025.

S. Ioffe and C. Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” International Conference on Machine Learning, pp. 448–456, Jul. 2015.

A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention is all you need,” Proceedings of the 31st International Conference on Neural Information Processing Systems, p. 6000–6010, Dec. 2017.

N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, vol. 15, no. 56, pp. 1929–1958, Jun. 2014.




DOI: http://dx.doi.org/10.21553/rev-jec.411

Copyright (c) 2025 REV Journal on Electronics and Communications


ISSN: 1859-378X

Copyright © 2011-2025
Radio and Electronics Association of Vietnam
All rights reserved