A Study on the Application of TensorFlow Compression Techniques to Human Activity Recognition

被引:9
|
作者
Contoli, Chiara [1 ]
Lattanzi, Emanuele [1 ]
机构
[1] Univ Urbino, Dept Pure & Appl Sci, I-61029 Urbino, Italy
关键词
Compression techniques; deep learning; dynamic quantization; ESP32; full integer quantization; human activity recognition; microcontrollers; pruning;
D O I
10.1109/ACCESS.2023.3276438
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the human activity recognition (HAR) application domain, the use of deep learning (DL) algorithms for feature extractions and training purposes delivers significant performance improvements with respect to the use of traditional machine learning (ML) algorithms. However, this comes at the expense of more complex and demanding models, making harder their deployment on constrained devices traditionally involved in the HAR process. The efficiency of DL deployment is thus yet to be explored. We thoroughly investigated the application of TensorFlow Lite simple conversion, dynamic, and full integer quantization compression techniques. We applied those techniques not only to convolutional neural networks (CNNs), but also to long short-term memory (LSTM) networks, and a combined version of CNN and LSTM. We also considered two use case scenarios, namely cascading compression and stand-alone compression mode. This paper reports the feasibility of deploying deep networks onto an ESP32 device, and how TensorFlow compression techniques impact classification accuracy, energy consumption, and inference latency. Results show that in the cascading case, it is not possible to carry out the performance characterization. Whereas in the stand-alone case, dynamic quantization is recommended because yields a negligible loss of accuracy. In terms of power efficiency, both dynamic and full integer quantization provide high energy saving with respect to the uncompressed models: between 31% and 37% for CNN networks, and up to 45% for LSTM networks. In terms of inference latency, dynamic and full integer quantization provide comparable performance.
引用
收藏
页码:48046 / 48058
页数:13
相关论文
共 50 条
  • [21] Human Activity Recognition in WSN: A Comparative Study
    Awan, Muhammad Arshad
    Guangbin, Zheng
    Kim, Cheong-Ghil
    Kim, Shin-Dug
    INTERNATIONAL JOURNAL OF NETWORKED AND DISTRIBUTED COMPUTING, 2014, 2 (04) : 221 - 230
  • [22] Human Activity Recognition in Smart Home using Deep Learning Techniques
    Kolkar, Ranjit
    Geetha, V
    PROCEEDINGS OF 2021 13TH INTERNATIONAL CONFERENCE ON INFORMATION & COMMUNICATION TECHNOLOGY AND SYSTEM (ICTS), 2021, : 230 - 234
  • [23] A review of state-of-the-art techniques for abnormal human activity recognition
    Dhiman, Chhavi
    Vishwakarma, Dinesh Kumar
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2019, 77 : 21 - 45
  • [24] Exploring Techniques to Improve Activity Recognition using Human Pose Skeletons
    Raj, Bharath N.
    Subramanian, Anand
    Ravichandran, Kashyap
    Venkateswaran, N.
    2020 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION WORKSHOPS (WACVW), 2020, : 165 - 172
  • [25] A New Approach to Human Activity Recognition Using Machine Learning Techniques
    Marinho, Leandro B.
    de Souza Junior, A. H.
    Reboucas Junior, P. P.
    INTELLIGENT SYSTEMS DESIGN AND APPLICATIONS (ISDA 2016), 2017, 557 : 529 - 538
  • [26] The State-of-the-Art Sensing Techniques in Human Activity Recognition: A Survey
    Bian, Sizhen
    Liu, Mengxi
    Zhou, Bo
    Lukowicz, Paul
    SENSORS, 2022, 22 (12)
  • [27] A review and categorization of techniques on device-free human activity recognition
    Hussain, Zawar
    Sheng, Quan Z.
    Zhang, Wei Emma
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2020, 167
  • [28] A Comprehensive Review of Recent Deep Learning Techniques for Human Activity Recognition
    Viet-Tuan Le
    Kiet Tran-Trung
    Vinh Truong Hoang
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [29] TensorFlow-Based Semantic Techniques for Multi-cloud Application Portability and Interoperability
    Kaur, Tanveer
    Kaur, Kiranbir
    INVENTIVE COMMUNICATION AND COMPUTATIONAL TECHNOLOGIES, ICICCT 2019, 2020, 89 : 13 - 21
  • [30] The Hidden Markov Model and its Application to Human Activity Recognition
    Shaily, Shagun
    Mangat, Veenu
    2015 2ND INTERNATIONAL CONFERENCE ON RECENT ADVANCES IN ENGINEERING & COMPUTATIONAL SCIENCES (RAECS), 2015,