A new lightweight deep learning model optimized with pruning and dynamic quantization to detect freezing gait on wearable devices.
Journal:
Computers in biology and medicine
PMID:
40245688
Abstract
Freezing of gait (FoG) is a debilitating symptom of Parkinson's disease that severely impacts patients' mobility and quality of life. To minimize the risk of falls and injuries associated with FoG, it is crucial to develop highly accurate FoG detection systems for portable wearable devices that enable continuous and real-time monitoring. However, achieving high accuracy in deep learning (DL) models typically requires a large number of parameters and integrating multiple sensors, posing challenges for deployment on resource-constrained wearable devices. To address these challenges, we propose a novel lightweight DL model that combines a convolutional neural network and a gated recurrent unit with residual attention and efficient channel attention mechanisms. Additionally, we incorporate pruning and dynamic quantization techniques, along with an innovative feature selection method, to optimize the model for wearable applications. Experimental results demonstrate that our proposed DL model outperforms state-of-the-art supervised DL models, achieving an F1 score of 0.994 while utilizing 29.9 times fewer parameters than existing models. The model's maximum memory usage is only 420.91 KB, making it well-suited for wearable devices. Furthermore, optimizations through pruning and dynamic quantization further reduced the model size by an additional 7.84 times, resulting in a final size of just 44.04 KB without sacrificing accuracy. As a result, the proposed DL model achieves high accuracy in FoG detection with minimal memory usage, enabling real-time monitoring on wearable devices and providing a practical solution for managing FoG in Parkinson's patients.