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 条
  • [21] Out-of-core compression for gigantic polygon meshes
    Isenburg, M
    Gumhold, S
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2003, 22 (03): : 935 - 942
  • [22] Out-of-Core Parallel Frontier Search with MapReduce
    Reinefeld, Alexander
    Schuett, Thorsten
    [J]. HIGH PERFORMANCE COMPUTING SYSTEMS AND APPLICATIONS, 2010, 5976 : 323 - 336
  • [23] An efficient algorithm for out-of-core matrix transposition
    Suh, J
    Prasanna, VK
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2002, 51 (04) : 420 - 438
  • [24] Out-of-core simplification with guaranteed error tolerance
    Borodin, P
    Guthe, M
    Klein, R
    [J]. VISION, MODELING, AND VISUALIZATION 2003, 2003, : 309 - 316
  • [25] Out-of-core scheduling methods in cluster computing
    [J]. Zhou, Z. (zzhou0328@whu.edu.cn), 1600, Huazhong University of Science and Technology (41):
  • [26] Getting more from out-of-core columnsort
    Chaudhry, G
    Cormen, TH
    [J]. ALGORITHM ENGINEERING AND EXPERIMENTS, 2002, 2409 : 143 - 154
  • [27] The design of a new out-of-core multifrontal solver
    Reid, John K.
    Scott, Jennifer A.
    [J]. APPLIED PARALLEL COMPUTING: STATE OF THE ART IN SCIENTIFIC COMPUTING, 2007, 4699 : 598 - +
  • [28] Out-of-Core Solution of Eigenproblems for Macromolecular Simulations
    Aliaga, Jose I.
    Davidovic, Davor
    Quintana-Orti, Enrique S.
    [J]. PARALLEL PROCESSING AND APPLIED MATHEMATICS (PPAM 2013), PT I, 2014, 8384 : 490 - 499
  • [29] Out-of-core remeshing of large polygonal meshes
    Ahn, Minsu
    Guskov, Igor
    Lee, Seungyong
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2006, 12 (05) : 1221 - 1228
  • [30] Out-of-core SVD performance for document indexing
    Martin, Dian I.
    Martin, John C.
    Berry, Michael W.
    Browne, Murray
    [J]. APPLIED NUMERICAL MATHEMATICS, 2007, 57 (11-12) : 1230 - 1239