arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.04386cs.SDeess.AS
收藏

“不常见也没关系”:在具有不常见亚字节支持的硬件加速器上量化声音事件检测网络

"It is okay to be uncommon": Quantizing Sound Event Detection Networks on Hardware Accelerators with Uncommon Sub-Byte Support

Bose Corporation(博士公司)

Yushu Wu, Xiao Quan, Mohammad Rasool Izadi, Chuan-Che Huang

AI总结:

本文针对耳机端声音事件检测的资源约束,利用支持常见与不常见亚字节位宽的神经网络加速器,并通过可微神经架构搜索优化量化位宽,在保持浮点性能的同时显著降低内存、延迟与能耗。

摘要:

如果我们的降噪耳机能够理解我们的音频环境,它们就可以告知我们重要的声音事件,根据我们收听的内容类型调节均衡,并根据音频场景动态调整降噪参数,以进一步减少干扰。然而,在能量预算和片上内存有限的耳机上运行多个音频理解模型仍然是一项具有挑战性的任务。在这项工作中,我们识别出一类新的神经网络加速器(例如 GAP9 上的 NE16),它允许将网络权重量化为不同的常见位宽(例如 8 位)和不常见位宽(例如 3 位)。随后,我们在两个不同的声音事件检测任务上应用可微神经架构搜索,以搜索网络的最佳位宽;这两个任务对量化和预测粒度可能有不同要求(即分类与用于少样本学习的嵌入)。我们进一步在实际硬件上评估了量化模型,结果表明,与 8 位模型相比,我们将内存使用、推理延迟和能耗分别平均降低了 62%、46% 和 61%,同时保持了浮点性能。我们的工作揭示了当与适当的搜索方法相结合时,此类加速器在声音事件检测任务上的优势。

英文摘要:

If our noise-canceling headphones can understand our audio environments, they can then inform us of important sound events, tune equalization based on the types of content we listen to, and dynamically adjust noise cancellation parameters based on audio scenes to further reduce distraction. However, running multiple audio understanding models on headphones with a limited energy budget and on-chip memory remains a challenging task. In this work, we identify a new class of neural network accelerators (e.g., NE16 on GAP9) that allows network weights to be quantized to different common (e.g., 8 bits) and uncommon bit-widths (e.g., 3 bits). We then applied a differentiable neural architecture search to search over the optimal bit-widths of a network on two different sound event detection tasks with potentially different requirements on quantization and prediction granularity (i.e., classification vs. embeddings for few-shot learning). We further evaluated our quantized models on actual hardware, showing that we reduce memory usage, inference latency, and energy consumption by an average of 62%, 46%, and 61% respectively compared to 8-bit models while maintaining floating point performance. Our work sheds light on the benefits of such accelerators on sound event detection tasks when combined with an appropriate search method.

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

↑