TinyDéjàVu:用于传感器数据流的微控制器上更小RAM和更快推理的神经网络
TinyDéjàVu: Smaller RAM and Faster Inference with Neural Networks on MCUs for Sensor Data Streams
AI总结:
提出TinyDéjàVu框架,通过优化神经网络推理中的数据流,在微控制器上实现高达90%的RAM节省和相同计算延迟,用于传感器数据时间序列的推理。
摘要:
嵌入式智能的例子包括用于无线传感器和执行器上的各种微型神经网络,这些网络预期持续对感知数据的时间序列进行推理。为了满足电池供电时的寿命和能耗要求,此类硬件完全基于微控制器,并尽可能少的内存,例如128 kB的RAM。在此背景下,优化推理过程中神经网络层间的数据流变得至关重要。在本文中,我们介绍了一个新框架TinyDéjàVu以及我们设计的新算法,旨在大幅减少在典型微控制器硬件上使用各种神经网络模型对传感器数据时间序列进行推理所需的RAM预算。我们将TinyDéjàVu的实现开源,并在常见的微控制器硬件(Arm Cortex-M)上进行可重复的基准测试。我们表明,与先前工作(StreamiNNC)相比,在重叠滑动窗口输入上,TinyDéjàVu可以节省高达90%的RAM使用,同时计算延迟相同。
英文摘要:
Examples of embedded intelligence include a wide variety of tiny neural networks used on-board wireless sensors and actuators, which are expected to continuously perform inference on time-series of the data they sense. In order to fit lifetime and energy consumption requirements when operating on battery, such hardware is exclusively based on microcontroller with as little memory as possible, e.g., 128 kB of RAM. In this context, optimizing data flows during inference across neural network layers becomes crucial. In this paper, we introduce a new framework, TinyDéjàVu, and novel algorithms we designed to drastically reduce the RAM budget required by inference using various neural network models for sensor data time-series on typical microcontroller hardware. We publish the implementation of TinyDéjàVu as open source, and we perform reproducible benchmarks on common microcontroller hardware (Arm Cortex-M). We show that TinyDéjàVu can save up to 90\% of RAM usage with equal compute latency compared to prior work (StreamiNNC) on overlapping sliding window inputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。