mlsanityData to 7 Oct 2026

Tiny Transformers for Environmental Sound Classification at the Edge

arXiv 2103.12157 ↗First posted 22 Mar 2021cs.SD cs.LG eess.AScited by 4

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 28 of its 62 references that are in the map. First posted on arXiv 22 Mar 2021.

Builds on

28 of 62 references.

References · 28

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  7. 2017Neural Discrete Representation Learningcited by 4,650
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  9. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  10. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  11. 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
16 more
  1. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  2. 2020Jukebox: A Generative Model for Musiccited by 535
  3. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  4. 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 269
  5. 2018Handling Incomplete Heterogeneous Data using VAEscited by 148
  6. 2016Deep Convolutional Neural Networks and Data Augmentation for Environmental Sound Classificationcited by 84
  7. 2016Very Deep Convolutional Neural Networks for Raw Waveformscited by 68
  8. 2019Very Deep Self-Attention Networks for End-to-End Speech Recognitioncited by 46
  9. 2018Self-Attentional Acoustic Modelscited by 29
  10. 2017Knowledge Transfer from Weakly Labeled Audio using Convolutional Neural Network for Sound Events and Scenescited by 20
  11. 2019End-to-End Environmental Sound Classification using a 1D Convolutional Neural Networkcited by 20
  12. 2020Transformer based unsupervised pre-training for acoustic representation learningcited by 9
  13. 2020Weak-Attention Suppression For Transformer Based Speech Recognitioncited by 7
  14. 2017A Comparison of deep learning methods for environmental soundcited by 5
  15. 2020Translate Reverberated Speech to Anechoic Ones: Speech Dereverberation with BERTcited by 1
  16. 2020MusiCoder: A Universal Music-Acoustic Encoder Based on Transformerscited by 1

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 1.

4 papers.