[Paper Review] Human Activity Recognition using Continuous Wavelet Transform and Convolutional Neural Networks
This paper proposes a novel Human Activity Recognition (HAR) framework that combines Continuous Wavelet Transform (CWT) for 1D accelerometer signal-to-2D image conversion and Convolutional Neural Networks (CNNs), including residual networks (ResNets), for classification. By optimizing wavelet type, zero moment order, batch size, and network architecture, the method achieves 99.26% accuracy on the UniMiB-SHAR dataset, significantly outperforming prior work.
Quite a few people in the world have to stay under permanent surveillance for health reasons; they include diabetic people or people with some other chronic conditions, the elderly and the disabled.These groups may face heightened risk of having life-threatening falls or of being struck by a syncope. Due to limited availability of resources a substantial part of people at risk can not receive necessary monitoring and thus are exposed to excessive danger. Nowadays, this problem is usually solved via applying Human Activity Recognition (HAR) methods. HAR is a perspective and fast-paced Data Science field, which has a wide range of application areas such as healthcare, sport, security etc. However, the currently techniques of recognition are markedly lacking in accuracy, hence, the present paper suggests a highly accurate method for human activity classification. Wepropose a new workflow to address the HAR problem and evaluate it on the UniMiB SHAR dataset, which consists of the accelerometer signals. The model we suggest is based on continuous wavelet transform (CWT) and convolutional neural networks (CNNs). Wavelet transform localizes signal features both in time and frequency domains and after that a CNN extracts these features and recognizes activity. It is also worth noting that CWT converts 1D accelerometer signal into 2D images and thus enables to obtain better results as 2D networks have a significantly higher predictive capacity. In the course of the work we build a convolutional neural network and vary such model parameters as number of spatial axes, number of layers, number of neurons in each layer, image size, type of mother wavelet, the order of zero moment of mother wavelet etc. Besides, we also apply models with residual blocks which resulted in significantly higher metric values. Finally, we succeed to reach 99.26 % accuracy and it is a worthy performance for this problem.
Motivation & Objective
- To improve the accuracy of Human Activity Recognition (HAR) for healthcare monitoring of at-risk populations such as the elderly and diabetics.
- To address the limitations of existing HAR methods, which often suffer from low accuracy and high computational cost.
- To develop a robust, end-to-end deep learning pipeline that transforms 1D accelerometer signals into 2D wavelet images for enhanced feature extraction.
- To evaluate and optimize key hyperparameters including wavelet type, zero moment order, batch size, and network architecture (CNN vs. ResNet).
- To achieve state-of-the-art performance on the UniMiB-SHAR benchmark dataset using a CWT-based deep learning approach.
Proposed method
- Converts 1D accelerometer signals into 2D time-frequency representations using Continuous Wavelet Transform (CWT) with various mother wavelets.
- Applies a custom Convolutional Neural Network (CNN) and Residual Neural Network (ResNet) architectures to classify the 2D wavelet images.
- Uses the DOG (Difference of Gaussians) family of wavelets, specifically evaluating Mexican Hat (2nd derivative), Paul, and Morlet wavelets.
- Optimizes model performance by varying hyperparameters: batch size, image resolution, number of convolutional/dense layers, and neuron count.
- Employs data augmentation via image cropping with sliding windows for ResNet models to improve generalization and accuracy.
- Evaluates wavelets with different zero moment orders (1 to 5) and combinations (e.g., 2nd and 4th order) to identify optimal feature extraction.
Experimental results
Research questions
- RQ1Does transforming 1D accelerometer signals into 2D wavelet images via CWT improve HAR classification accuracy compared to direct 1D signal processing?
- RQ2Which mother wavelet (Mexican Hat, Paul, Morlet) yields the highest classification accuracy in the CWT-CNN pipeline?
- RQ3How does the order of zero moment in the DOG mother wavelet affect model performance?
- RQ4Can residual networks (ResNet) outperform standard CNNs when applied to CWT-transformed accelerometer images?
- RQ5What hyperparameter settings (batch size, image size, number of layers) yield optimal accuracy in the proposed HAR framework?
Key findings
- The proposed CWT-CNN pipeline achieved a state-of-the-art test accuracy of 99.26% on the UniMiB-SHAR dataset, significantly outperforming the reference method (93.4%).
- The Mexican Hat wavelet (2nd derivative of Gaussian) yielded the highest accuracy, followed by Paul and then Morlet wavelets.
- Using a combination of wavelets (e.g., Mexican Hat and Morlet) did not improve performance and slightly reduced accuracy compared to using Mexican Hat alone.
- The optimal batch size for training was found to be 35, achieving 97.8% accuracy, though higher batch sizes were used in ResNet training for stability.
- ResNet50 achieved the highest accuracy (99.25%) among built-in Keras ResNet models, demonstrating the advantage of residual connections in this task.
- Increasing image resolution beyond the baseline did not improve performance and led to worse results due to increased parameters without proportional feature gain.
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.