Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Efficient Training of Audio Transformers with Patchout

About

The great success of transformer-based models in natural language processing (NLP) has led to various attempts at adapting these architectures to other domains such as vision and audio. Recent work has shown that transformers can outperform Convolutional Neural Networks (CNNs) on vision and audio tasks. However, one of the main shortcomings of transformer models, compared to the well-established CNNs, is the computational complexity. In transformers, the compute and memory complexity is known to grow quadratically with the input length. Therefore, there has been extensive work on optimizing transformers, but often at the cost of degrading predictive performance. In this work, we propose a novel method to optimize and regularize transformers on audio spectrograms. Our proposed models achieve a new state-of-the-art performance on Audioset and can be trained on a single consumer-grade GPU. Furthermore, we propose a transformer model that outperforms CNNs in terms of both performance and training speed. Source code: https://github.com/kkoutini/PaSST

Khaled Koutini, Jan Schl\"uter, Hamid Eghbal-zadeh, Gerhard Widmer• 2021

Related benchmarks

TaskDatasetResultRank
Audio ClassificationESC-50
Accuracy97
325
Audio ClassificationUrbansound8K
Accuracy89.1
116
Audio ClassificationESC-50 (test)
Accuracy96.8
84
Audio ClassificationAudioSet 2M
mAP47.1
79
Musical Instrument ClassificationNSynth
Accuracy72.9
75
Audio ClassificationESC50
Top-1 Acc95.5
64
Environmental Sound ClassificationFSD50K
mAP65.6
60
ClassificationAudioSet (test)
mAP49.6
57
Audio ClassificationGTZAN
Accuracy87.4
54
Musical Instrument ClassificationOpenMIC (test)
mAP84.3
37
Showing 10 of 20 rows

Other info

Code

Follow for update