arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.06128cs.SDcs.CV
收藏

剪枝与XNOR-Net:边缘设备上音频分类的深度学习综合研究

Pruning vs XNOR-Net: A Comprehensive Study of Deep Learning for Audio Classification on Edge-devices

Monash University(莫纳什大学)

Md Mohaimenuzzaman, Christoph Bergmeir, Bernd Meyer

摘要:

深度学习在许多与物联网(IoT)相关的应用领域取得了巨大的成功,例如计算机视觉和机器听力。这些技术最终必须直接应用于边缘,以充分利用物联网深度学习的力量。显而易见的挑战是,如果模型被彻底缩小,深度学习技术只能在资源严格受限的边缘设备上实现。这项任务依赖于不同的模型压缩技术,如网络修剪,量化,和XNOR网络的最新进展。本研究探讨这些技术的适用性,音频分类的微控制器。我们提出了一个应用程序的XNOR-Net端到端的原始音频分类和一个全面的实证研究比较这种方法与修剪和量化方法。我们表明,使用XNOR的原始音频分类在少量类别中产生与常规全精度网络相当的性能,同时将内存需求降低32倍,计算需求降低58倍。然而,随着类的数量显著增加,性能降低,并且基于修剪和量化的压缩技术作为能够满足相同空间约束但需要大约8倍以上计算的优选技术而接管。我们表明,这些见解是一致的原始音频分类和图像分类使用标准的基准集。据我们所知,这是第一项将XNOR应用于端到端音频分类并在替代技术的背景下对其进行评估的研究。所有代码都在GitHub上公开。

英文摘要:

Deep learning has celebrated resounding successes in many application areas of relevance to the Internet of Things (IoT), such as computer vision and machine listening. These technologies must ultimately be brought directly to the edge to fully harness the power of deep learning for the IoT. The obvious challenge is that deep learning techniques can only be implemented on strictly resource-constrained edge devices if the models are radically downsized. This task relies on different model compression techniques, such as network pruning, quantization, and the recent advancement of XNOR-Net. This study examines the suitability of these techniques for audio classification on microcontrollers. We present an application of XNOR-Net for end-to-end raw audio classification and a comprehensive empirical study comparing this approach with pruning-and-quantization methods. We show that raw audio classification with XNOR yields comparable performance to regular full precision networks for small numbers of classes while reducing memory requirements 32-fold and computation requirements 58-fold. However, as the number of classes increases significantly, performance degrades, and pruning-and-quantization based compression techniques take over as the preferred technique being able to satisfy the same space constraints but requiring approximately 8x more computation. We show that these insights are consistent between raw audio classification and image classification using standard benchmark sets. To the best of our knowledge, this is the first study to apply XNOR to end-to-end audio classification and evaluate it in the context of alternative techniques. All codes are publicly available on GitHub.

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

↑