AnalogNets:ML-HW协同设计抗噪声TinyML模型和始终在线模拟内存计算加速器
AnalogNets: ML-HW Co-Design of Noise-robust TinyML Models and Always-On Analog Compute-in-Memory Accelerator
摘要:
物联网应用中始终在线的TinyML感知任务需要非常高的能效。使用非易失性存储器(NVM)的模拟内存计算(CiM)承诺高效率,并且还提供自包含的片上模型存储。然而,模拟CiM引入了新的实际考虑因素,包括电导漂移、读/写噪声、固定模数(ADC)转换器增益等。必须解决这些额外的限制,以实现可以在模拟CiM上部署的模型,并具有可接受的精度损失。这项工作描述了$\textit{AnalogNets}$:TinyML模型的流行始终在线的应用程序的关键字发现(KWS)和视觉唤醒词(VWW)。该模型架构是专门为模拟CiM设计的,我们详细介绍了一种全面的训练方法,以保持在面对模拟非理想的准确性,并在推理时低精度数据转换器。我们还描述了AON-CiM,一个可编程的,最小面积的相变存储器(PCM)的模拟CiM加速器,与一个新的层串行的方法,以消除与全流水线设计相关的复杂互连的成本。我们在校准的模拟器以及真实硬件上评估了AnalogNets,发现KWS/VWW的PCM漂移(8位)24小时后,精度下降仅限于0.8 $\%$ /1.2 $\%$。在14 nm AON-CiM加速器上运行的模拟网络在使用8位激活时分别为KWS/VWW工作负载展示了8.58/4.37 TOPS/W,并在使用$4$位激活时增加到57.39/25.69 TOPS/W。
英文摘要:
Always-on TinyML perception tasks in IoT applications require very high energy efficiency. Analog compute-in-memory (CiM) using non-volatile memory (NVM) promises high efficiency and also provides self-contained on-chip model storage. However, analog CiM introduces new practical considerations, including conductance drift, read/write noise, fixed analog-to-digital (ADC) converter gain, etc. These additional constraints must be addressed to achieve models that can be deployed on analog CiM with acceptable accuracy loss. This work describes $\textit{AnalogNets}$: TinyML models for the popular always-on applications of keyword spotting (KWS) and visual wake words (VWW). The model architectures are specifically designed for analog CiM, and we detail a comprehensive training methodology, to retain accuracy in the face of analog non-idealities, and low-precision data converters at inference time. We also describe AON-CiM, a programmable, minimal-area phase-change memory (PCM) analog CiM accelerator, with a novel layer-serial approach to remove the cost of complex interconnects associated with a fully-pipelined design. We evaluate the AnalogNets on a calibrated simulator, as well as real hardware, and find that accuracy degradation is limited to 0.8$\%$/1.2$\%$ after 24 hours of PCM drift (8-bit) for KWS/VWW. AnalogNets running on the 14nm AON-CiM accelerator demonstrate 8.58/4.37 TOPS/W for KWS/VWW workloads using 8-bit activations, respectively, and increasing to 57.39/25.69 TOPS/W with $4$-bit activations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。