一款采用SRAM内计算和片上学习定制功能的14μJ/决策关键词识别加速器
A 14uJ/Decision Keyword Spotting Accelerator with In-SRAM-Computing and On Chip Learning for Customization
AI总结:
针对关键词识别的低功耗与用户定制需求,本文提出一款采用SRAM内存计算和片上学习的加速器,通过偏置补偿、误差缩放等技术解决IMC非理想与低精度训练问题,实现14μJ/决策的高能效与96.71%的定制后精度。
摘要:
近年来,关键词识别作为一种与消费电子设备交互的自然方式日益流行。然而,由于其始终在线的特性以及语音的多样性,需要低功耗设计同时支持用户定制功能。本文介绍了一款低功耗、高能效的关键词识别加速器,采用基于SRAM的内存计算(IMC)技术,并集成片上学习功能以支持用户定制。但IMC受限于宏单元尺寸、有限的精度以及非理想效应。为解决上述问题,本文提出了偏置补偿和微调方法,采用适配IMC的模型设计。此外,由于在低精度边缘设备上进行学习时,量化会导致误差和梯度值为零,本文提出了误差缩放和小梯度累积方法,可达到与理想模型训练相同的精度。仿真结果表明,通过用户定制,我们借助补偿和微调将精度损失从51.08%恢复至89.76%,再通过定制进一步提升至96.71%。该芯片实现可成功运行模型,每次决策仅需14μJ。与现有前沿工作相比,本文提出的设计能效更高,还额外具备片上模型定制能力以实现更高精度。
英文摘要:
Keyword spotting has gained popularity as a natural way to interact with consumer devices in recent years. However, because of its always-on nature and the variety of speech, it necessitates a low-power design as well as user customization. This paper describes a low-power, energy-efficient keyword spotting accelerator with SRAM based in-memory computing (IMC) and on-chip learning for user customization. However, IMC is constrained by macro size, limited precision, and non-ideal effects. To address the issues mentioned above, this paper proposes bias compensation and fine-tuning using an IMC-aware model design. Furthermore, because learning with low-precision edge devices results in zero error and gradient values due to quantization, this paper proposes error scaling and small gradient accumulation to achieve the same accuracy as ideal model training. The simulation results show that with user customization, we can recover the accuracy loss from 51.08\% to 89.76\% with compensation and fine-tuning and further improve to 96.71\% with customization. The chip implementation can successfully run the model with only 14$uJ$ per decision. When compared to the state-of-the-art works, the presented design has higher energy efficiency with additional on-chip model customization capabilities for higher accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。