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 条
  • [21] Convolutional Neural Networks for Document Image Classification
    Kang, Le
    Kumar, Jayant
    Ye, Peng
    Li, Yi
    Doermann, David
    2014 22ND INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2014, : 3168 - 3172
  • [22] Image Classification Using Convolutional Neural Networks
    Filippov, S. A.
    AUTOMATIC DOCUMENTATION AND MATHEMATICAL LINGUISTICS, 2024, 58 (SUPPL3) : S143 - S149
  • [23] Preprocessing for Image Classification by Convolutional Neural Networks
    Pal, Kuntal Kumar
    Sudeep, K. S.
    2016 IEEE INTERNATIONAL CONFERENCE ON RECENT TRENDS IN ELECTRONICS, INFORMATION & COMMUNICATION TECHNOLOGY (RTEICT), 2016, : 1778 - 1781
  • [24] Hyperspectral Image Classification with Convolutional Neural Networks
    Slavkovikj, Viktor
    Verstockt, Steven
    De Neve, Wesley
    Van Hoecke, Sofie
    Van de Walle, Rik
    MM'15: PROCEEDINGS OF THE 2015 ACM MULTIMEDIA CONFERENCE, 2015, : 1159 - 1162
  • [25] Gated Recurrent Unit Neural Networks for Automatic Modulation Classification With Resource-Constrained End-Devices
    Utrilla, Ramiro
    Fonseca, Erika
    Araujo, Alvaro
    Dasilva, Luiz A.
    IEEE ACCESS, 2020, 8 : 112783 - 112794
  • [26] EFFICIENT MOVING TARGET DETECTION USING RESOURCE-CONSTRAINED NEURAL NETWORKS
    Milioris, Dimitris
    2023 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING WORKSHOPS, ICASSPW, 2023,
  • [27] DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networks
    Chen, Simin
    Haque, Mirazul
    Liu, Cong
    Yang, Wei
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [28] Model reduction of feed forward neural networks for resource-constrained devices
    Evangelia Fragkou
    Marianna Koultouki
    Dimitrios Katsaros
    Applied Intelligence, 2023, 53 : 14102 - 14127
  • [29] Model reduction of feed forward neural networks for resource-constrained devices
    Fragkou, Evangelia
    Koultouki, Marianna
    Katsaros, Dimitrios
    APPLIED INTELLIGENCE, 2023, 53 (11) : 14102 - 14127
  • [30] Image subset communication for resource-constrained applications in wireless sensor networks
    Nazir, Sajid
    Alzubi, Omar A.
    Kaleem, Mohammad
    Hamdoun, Hassan
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2020, 28 (05) : 2686 - 2701