Towards Out-of-core Neural Networks on Microcontrollers
Towards Out-of-core Neural Networks on Microcontrollers
复制标题
DOI:
10.1109/sec54971.2022.00008
复制
发表时间:
2022-12
期刊:
影响因子:
--
通讯作者:
Hongyu Miao;F. Lin
中科院分区:
文献类型:
--
作者:
Hongyu Miao;F. Lin
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: dynam-ically 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.