Towards Out-of-core Neural Networks on Microcontrollers

被引:0
|
作者
Miao, Hongyu [1 ]
Lin, Felix Xiaozhu [2 ]
机构
[1] Purdue ECE, W Lafayette, IN 47907 USA
[2] Univ Virginia, Charlottesville, VA 22903 USA
基金
美国国家科学基金会;
关键词
tinyML; Edge Computing; On-device Machine; Learning;
D O I
10.1109/SEC54971.2022.00008
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
To run neural networks (NNs) on microcontroller units (MCUs), memory size is the major constraint. While algorithm-level techniques exist to reduce NN memory footprints, the resultant losses in NN accuracy and generality disqualify MCUs for many important use cases. To address the constraint, we investigate out-of-core execution of NNs on MCUs: dynamically swapping NN data tiles between an MCU's small SRAM and its large, low-cost external flash. Accordingly, we present a scheduler design that automatically schedules compute tasks and swapping IO tasks in order to minimize the IO overhead in swapping. Out-of-core NNs on MCUs raise multiple concerns: execution slowdown, storage wear out, energy consumption, and data security. Our empirical study shows that none of these concerns is a showstopper; the key benefit - MCUs being able to run large NNs with full accuracy/generality - trumps the overheads. Our findings suggest that MCUs can play a much greater role in edge intelligence.
引用
收藏
页码:1 / 13
页数:13
相关论文
共 50 条
  • [31] On the performance of parallel factorization of out-of-core matrices
    Caron, E
    Utard, G
    [J]. PARALLEL COMPUTING, 2004, 30 (03) : 357 - 375
  • [32] Out-of-core wavefront computations with reduced synchronization
    Clauss, Pierre-Nicolas
    Gustedt, Jens
    Suter, Frederic
    [J]. PROCEEDINGS OF THE 16TH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, 2008, : 293 - +
  • [33] Out-of-core rendering of large, unstructured grids
    Farias, R
    Silva, CT
    [J]. IEEE COMPUTER GRAPHICS AND APPLICATIONS, 2001, 21 (04) : 42 - 50
  • [34] Out-of-Core Multigrid Solver for Streaming Meshes
    Shi, Xiaohan
    Bao, Hujun
    Zhou, Kun
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2009, 28 (05): : 1 - 7
  • [35] Fast multithreaded out-of-core visualization technique
    Sulatycke, Peter D.
    Ghose, Kanad
    [J]. Proceedings of the International Parallel Processing Symposium, IPPS, 1999, : 569 - 575
  • [36] Out-of-core hydrodynamic simulations for cosmological applications
    Trac, H
    Pen, UL
    [J]. NEW ASTRONOMY, 2006, 11 (04) : 273 - 286
  • [37] Out-of-core and compressed level set methods
    Nielsen, Michael B.
    Nilsson, Ola
    Soderstrom, Andreas
    Museth, Ken
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2007, 26 (04):
  • [38] Out-of-core simplification of large polygonal models
    Lindstrom, P
    [J]. SIGGRAPH 2000 CONFERENCE PROCEEDINGS, 2000, : 259 - 262
  • [39] Towards a library of deep neural networks for experimenting with on-device training on microcontrollers
    Aatab, Soufiane
    Freitag, Felix
    [J]. 2023 IEEE 9TH WORLD FORUM ON INTERNET OF THINGS, WF-IOT, 2023,
  • [40] Out-of-core computing on mesh connected computers
    Rajasekaran, S
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2004, 64 (11) : 1311 - 1317