Computer and Modernization ›› 2024, Vol. 0 ›› Issue (01): 80-86.doi: 10.3969/j.issn.1006-2475.2024.01.013

Previous Articles     Next Articles

A DNN Compression Method for Environmental Sound Classification on Microcontroller Unit

  

  1. (School of Computer and Information Technology, Beijing Jiaotong University, Beijing 100044, China)
  • Online:2024-01-23 Published:2024-02-26

Abstract: Abstract: Environmental Sound Classification (ESC) is known as one of the most important topics of the non-speech audio classification task. In recent years, deep neural networks (DNNs) have made a lot of progress in ESC. However, DNNs are computationally and memory-intensive, and cannot be directly deployed on IoT devices based on microcontroller units (MCU). To address this problem, this paper proposes a DNN compression method for highly resource-constrained devices. Since DNNs have a large number of parameters, which cannot be directly deployed, so this paper proposes to use the pruning method for substantial compression. Afterwards, aiming at the problem of accuracy loss caused by this operation, we design a knowledge distillation based on the feature information of multiple intermediate layers. Tests are carried out on public datasets (UrbanSound8K, ESC-50) using the STM32F746ZG device. The experimental results demonstrate that proposed method can achieve up to 97% compression rate while maintaining good inference performance and speed.

Key words: Key words: environmental sound classification, edge computing, microcontroller unit, pruning, knowledge distillation, quantization

CLC Number: