arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.08744cs.ARcs.OS
收藏

通过交换在微型微控制器上实现大型神经网络

Enabling Large Neural Networks on Tiny Microcontrollers with Swapping

Hongyu Miao, Felix Xiaozhu Lin

摘要:

在微控制器单元(MCU)上运行神经网络(NN)变得越来越重要,但由于MCU的SRAM尺寸很小,所以非常困难。先前的工作提出了许多算法级技术来减少NN内存占用,但都是以牺牲准确性和通用性为代价的,这使得MCU不适合许多重要的用例。我们研究了MCU在核心外执行NN的系统解决方案:在MCU的小型SRAM和大型低成本外部闪存之间动态交换NN数据块。MCU上的核外NN引起了多种担忧:执行速度减慢,存储磨损,能耗和数据安全性。我们提出的一项研究表明,没有一个是一个showstopper;关键的好处-MCU能够运行大型NN与完全准确性和通用性-战胜了开销。我们的研究结果表明,MCU可以在边缘智能中发挥更大的作用。

英文摘要:

Running neural networks (NNs) on microcontroller units (MCUs) is becoming increasingly important, but is very difficult due to the tiny SRAM size of MCU. Prior work proposes many algorithm-level techniques to reduce NN memory footprints, but all at the cost of sacrificing accuracy and generality, which disqualifies MCUs for many important use cases. We investigate a system solution for MCUs to execute NNs out of core: dynamically swapping NN data chunks between an MCU's tiny SRAM and its large, low-cost external flash. Out-of-core NNs on MCUs raise multiple concerns: execution slowdown, storage wear out, energy consumption, and data security. We present a study showing that none is a showstopper; the key benefit -- MCUs being able to run large NNs with full accuracy and generality -- triumphs the overheads. Our findings suggest that MCUs can play a much greater role in edge intelligence.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑