[Paper Review] Impact of Physical Activity on Sleep:A Deep Learning Based Exploration
This study proposes a deep learning approach to predict sleep quality from raw actigraphy data using wearable accelerometer sensors. By applying convolutional neural networks (CNNs) directly to unprocessed sensor data, the method improves sleep quality prediction accuracy by 8% over state-of-the-art classical models, eliminating the need for manual feature engineering and simplifying clinical workflows in sleep and physical activity research.
The importance of sleep is paramount for maintaining physical, emotional and mental wellbeing. Though the relationship between sleep and physical activity is known to be important, it is not yet fully understood. The explosion in popularity of actigraphy and wearable devices, provides a unique opportunity to understand this relationship. Leveraging this information source requires new tools to be developed to facilitate data-driven research for sleep and activity patient-recommendations. In this paper we explore the use of deep learning to build sleep quality prediction models based on actigraphy data. We first use deep learning as a pure model building device by performing human activity recognition (HAR) on raw sensor data, and using deep learning to build sleep prediction models. We compare the deep learning models with those build using classical approaches, i.e. logistic regression, support vector machines, random forest and adaboost. Secondly, we employ the advantage of deep learning with its ability to handle high dimensional datasets. We explore several deep learning models on the raw wearable sensor output without performing HAR or any other feature extraction. Our results show that using a convolutional neural network on the raw wearables output improves the predictive value of sleep quality from physical activity, by an additional 8% compared to state-of-the-art non-deep learning approaches, which itself shows a 15% improvement over current practice. Moreover, utilizing deep learning on raw data eliminates the need for data pre-processing and simplifies the overall workflow to analyze actigraphy data for sleep and physical activity research.
Motivation & Objective
- To investigate whether deep learning models can improve sleep quality prediction using raw wearable sensor data.
- To compare deep learning models (e.g., CNN, LSTM) with classical machine learning methods (e.g., logistic regression, random forest) on both pre-processed and raw actigraphy data.
- To evaluate the feasibility of eliminating data pre-processing and feature extraction by leveraging deep learning’s ability to handle high-dimensional raw inputs.
- To assess the clinical potential of deep learning in sleep and physical activity research using consumer-grade wearable devices.
- To demonstrate that deep learning can achieve higher predictive performance than current standard practices in sleep research.
Proposed method
- The study employs raw accelerometer data from wearable devices as input to various deep learning models, including CNNs, RNNs, LSTMs, and multilayer perceptrons (MLPs).
- A human activity recognition (HAR) pipeline is used to pre-process data into labeled activity features for comparison with raw data models.
- Convolutional neural networks (CNNs) are trained on raw time-series accelerometer data to detect spatial and temporal patterns predictive of sleep quality.
- Hyperparameters such as mini-batch size, dropout ratio, and hidden layer size are tuned for optimal performance across models.
- Performance is evaluated using standard metrics: AU-ROC, F1-score, precision, recall, accuracy, sensitivity, and specificity.
- The study compares models trained on both pre-processed HAR features and raw sensor data to isolate the impact of deep learning on raw inputs.
Experimental results
Research questions
- RQ1Can deep learning models trained on raw accelerometer data outperform classical machine learning models in predicting sleep quality?
- RQ2To what extent does using raw sensor data without feature engineering improve prediction performance compared to traditional HAR-based approaches?
- RQ3How do different deep learning architectures (CNN, RNN, LSTM, MLP) perform on raw actigraphy data for sleep quality prediction?
- RQ4What is the sensitivity and specificity of deep learning models in identifying individuals with good versus poor sleep patterns?
- RQ5Can deep learning eliminate the need for time-consuming data pre-processing in actigraphy-based sleep research?
Key findings
- The convolutional neural network (CNN) achieved the highest performance, with an AU-ROC of 0.9456, an F1-score of 0.9444, and an accuracy of 0.9286 on raw accelerometer data.
- Compared to the state-of-the-art classical approach, the CNN improved predictive performance by an additional 8% on raw data.
- The classical logistic regression model performed poorly on raw data, with an AU-ROC of only 0.6463, highlighting limitations of traditional models on unprocessed inputs.
- The CNN model demonstrated high sensitivity (0.9714) and specificity (0.8571), indicating strong ability to correctly identify both good and poor sleep patterns.
- The MLP model showed a 7% improvement in performance when using raw data versus HAR-processed features, indicating the value of raw input for deep learning.
- RNN and LSTM models showed moderate improvements over logistic regression but were limited by vanishing gradient issues due to sequential data complexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.