Tiny machine learning (TinyML) aims to run ML models on small devices and is increasingly favored for its enhanced privacy, reduced latency, and low cost. Recently, the advent of tiny AI accelerators has revolutionized the TinyML field by significantly enhancing hardware processing power. These accelerators, equipped with multiple parallel processors and dedicated per-processor memory instances, offer substantial performance improvements over traditional microcontroller units (MCUs). However, their limited data memory often necessitates downsampling input images, resulting in accuracy degradation. To address this challenge, we propose Data channel EXtension (DEX), a novel approach for efficient CNN execution on tiny AI accelerators. DEX incorporates additional spatial information from original images into input images through patch-wise even sampling and channel-wise stacking, effectively extending data across input channels. By leveraging underutilized processors and data memory for channel extension, DEX facilitates parallel execution without increasing inference latency. Our evaluation with four models and four datasets on tiny AI accelerators demonstrates that this simple idea improves accuracy on average by 3.5%p while keeping the inference latency the same on the AI accelerator. The source code is available at https://github.com/Nokia-Bell-Labs/data-channel-extension.
Weight, Block or Unit? Exploring Sparsity Tradeoffs for Speech Enhancement on Tiny Neural Accelerators
Bose Corp.(博士音响公司);University of Oldenburg(奥尔登堡大学)
我们探索网络稀疏化策略,目的是将神经语音增强(SE)压缩到新一代基于低功耗微控制器的神经加速器(microNPU)的最佳配置。我们研究了三种独特的稀疏结构:权重修剪,块修剪和单元修剪,并讨论了它们的优点和缺点时,适用于SE。我们专注于计算吞吐量,内存占用和模型质量之间的相互作用。我们的方法支持上述所有三种结构,并联合学习整数量化权重和稀疏性。此外,我们展示了离线幅度为基础的修剪整数量化模型作为性能基线。虽然有效的语音增强是一个活跃的研究领域,我们的工作是第一个应用块修剪SE和第一个解决SE模型压缩的microNPU的上下文中。使用权重修剪,我们表明我们能够将已经紧凑的模型的内存占用从3.7MB压缩到87kB,同时仅损失0.1 dB SDR的性能。我们还显示了6.7倍的计算加速比,使用块修剪时相应的SDR下降仅为0.59 dB SDR。
AnalogNAS: A Neural Network Design Framework for Accurate Inference with Analog In-Memory Computing
Univ. Polytechnique Hauts-de-France(上法兰西理工大学);IBM Research Europe(IBM欧洲研究院);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);IBM Research Almaden(IBM阿尔马登研究中心)
ShadowNet: A Secure and Efficient On-device Model Inference System for Convolutional Neural Networks
Google(谷歌);Florida International University(佛罗里达国际大学);Northeastern University(东北大学);University of California, San Diego(加州大学圣地亚哥分校);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)