Optimizing Convolutional Neural Networks for Image Classification on Resource-Constrained Microcontroller Units

被引:2
|
作者
Brockmann, Susanne [1 ]
Schlippe, Tim [1 ]
机构
[1] IU Int Univ Appl Sci, D-99084 Erfurt, Germany
关键词
TinyML; image classification; microcontroller units;
D O I
10.3390/computers13070173
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Running machine learning algorithms for image classification locally on small, cheap, and low-power microcontroller units (MCUs) has advantages in terms of bandwidth, inference time, energy, reliability, and privacy for different applications. Therefore, TinyML focuses on deploying neural networks on MCUs with random access memory sizes between 2 KB and 512 KB and read-only memory storage capacities between 32 KB and 2 MB. Models designed for high-end devices are usually ported to MCUs using model scaling factors provided by the model architecture's designers. However, our analysis shows that this naive approach of substantially scaling down convolutional neural networks (CNNs) for image classification using such default scaling factors results in suboptimal performance. Consequently, in this paper we present a systematic strategy for efficiently scaling down CNN model architectures to run on MCUs. Moreover, we present our CNN Analyzer, a dashboard-based tool for determining optimal CNN model architecture scaling factors for the downscaling strategy by gaining layer-wise insights into the model architecture scaling factors that drive model size, peak memory, and inference time. Using our strategy, we were able to introduce additional new model architecture scaling factors for MobileNet v1, MobileNet v2, MobileNet v3, and ShuffleNet v2 and to optimize these model architectures. Our best model variation outperforms the MobileNet v1 version provided in the MLPerf Tiny Benchmark on the Visual Wake Words image classification task, reducing the model size by 20.5% while increasing the accuracy by 4.0%.
引用
收藏
页数:18
相关论文
共 50 条
  • [41] An automatic fire detection system based on deep convolutional neural networks for low-power, resource-constrained devices
    Pedro Vinícius A. B. de Venâncio
    Adriano C. Lisboa
    Adriano V. Barbosa
    Neural Computing and Applications, 2022, 34 : 15349 - 15368
  • [42] Lightweight CNN-based malware image classification for resource-constrained applications
    Hota, Ashlesha
    Panja, Subir
    Nag, Amitava
    INNOVATIONS IN SYSTEMS AND SOFTWARE ENGINEERING, 2022,
  • [43] Optimizing Convolutional Neural Networks for Tomato Leaf Disease Classification
    Septiarini, Anindita
    Puspitasari, Novianti
    Kamila, Vina Zahrotun
    Hamdani, Hamdani
    Wati, Masna
    Latifa, Alda
    9TH INTERNATIONAL CONFERENCE ON MECHATRONICS ENGINEERING, ICOM 2024, 2024, : 442 - 447
  • [44] Lightweight CNN-based malware image classification for resource-constrained applicationsLightweight CNN-based malware image classification for resource-constrained applicationsA. Hota et al.
    Ashlesha Hota
    Subir Panja
    Amitava Nag
    Innovations in Systems and Software Engineering, 2025, 21 (1) : 1 - 14
  • [45] Improved Convolutional Neural Networks for Hyperspectral Image Classification
    Kalita, Shashanka
    Biswas, Mantosh
    RECENT DEVELOPMENTS IN MACHINE LEARNING AND DATA ANALYTICS, 2019, 740 : 397 - 410
  • [46] Bag of Tricks for Image Classification with Convolutional Neural Networks
    He, Tong
    Zhang, Zhi
    Zhang, Hang
    Zhang, Zhongyue
    Xie, Junyuan
    Li, Mu
    2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 558 - 567
  • [47] Mirror invariant convolutional neural networks for image classification
    Lu, Shufang
    Li, Yan
    Wang, Minqian
    Gao, Fei
    IET IMAGE PROCESSING, 2022, 16 (06) : 1626 - 1635
  • [48] Analysis of Convolutional Neural Networks for Document Image Classification
    Tensmeyer, Chris
    Martinez, Tony
    2017 14TH IAPR INTERNATIONAL CONFERENCE ON DOCUMENT ANALYSIS AND RECOGNITION (ICDAR), VOL 1, 2017, : 388 - 393
  • [49] Hyperspectral Image Classification using Convolutional Neural Networks
    Shambulinga, M.
    Sadashivappa, G.
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2021, 12 (06) : 702 - 708
  • [50] Deformable Convolutional Neural Networks for Hyperspectral Image Classification
    Zhu, Jian
    Fang, Leyuan
    Ghamisi, Pedram
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2018, 15 (08) : 1254 - 1258