arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.12157cs.SDcs.LGeess.AS
收藏

用于边缘环境声分类的微型Transformers

Tiny Transformers for Environmental Sound Classification at the Edge

Florida Institute of Technology(佛罗里达理工学院)

David Elliott, Carlos E. Otero, Steven Wyatt, Evan Martino

摘要:

随着物联网的发展和大数据的兴起,数据处理和机器学习应用正在向边缘的廉价、低尺寸、低重量和低功耗(SWaP)设备转移,通常以移动电话、嵌入式系统或微控制器的形式出现。网络物理测量和特征情报(MASINT)领域利用这些设备以其他方式无法分析和利用数据,从而提高数据质量,提高安全性并降低带宽。然而,在边缘处训练和部署模型的方法是有限的,并且具有足够精度的模型对于边缘设备来说通常太大。因此,显然需要在边缘创建高效AI/ML的技术。这项工作提出了在边缘环境声音分类领域的音频模型的训练技术。具体来说,我们设计并训练Transformers来对音频片段中的办公室声音进行分类。结果表明,在Mel频谱图上训练的基于BERT的Transformer可以使用少99.85%的参数胜过CNN。为了实现这一结果,我们首先测试了几种为Transformers设计的音频特征提取技术,使用ESC-50进行评估,以及各种增强。我们的最终模型在办公室声音数据集上的性能优于最先进的基于MFCC的CNN,使用了6,000多个参数-小到足以在微控制器上运行。

英文摘要:

With the growth of the Internet of Things and the rise of Big Data, data processing and machine learning applications are being moved to cheap and low size, weight, and power (SWaP) devices at the edge, often in the form of mobile phones, embedded systems, or microcontrollers. The field of Cyber-Physical Measurements and Signature Intelligence (MASINT) makes use of these devices to analyze and exploit data in ways not otherwise possible, which results in increased data quality, increased security, and decreased bandwidth. However, methods to train and deploy models at the edge are limited, and models with sufficient accuracy are often too large for the edge device. Therefore, there is a clear need for techniques to create efficient AI/ML at the edge. This work presents training techniques for audio models in the field of environmental sound classification at the edge. Specifically, we design and train Transformers to classify office sounds in audio clips. Results show that a BERT-based Transformer, trained on Mel spectrograms, can outperform a CNN using 99.85% fewer parameters. To achieve this result, we first tested several audio feature extraction techniques designed for Transformers, using ESC-50 for evaluation, along with various augmentations. Our final model outperforms the state-of-the-art MFCC-based CNN on the office sounds dataset, using just over 6,000 parameters -- small enough to run on a microcontroller.

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

↑