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

AST: Audio Spectrogram Transformer

About

In the past decade, convolutional neural networks (CNNs) have been widely adopted as the main building block for end-to-end audio classification models, which aim to learn a direct mapping from audio spectrograms to corresponding labels. To better capture long-range global context, a recent trend is to add a self-attention mechanism on top of the CNN, forming a CNN-attention hybrid model. However, it is unclear whether the reliance on a CNN is necessary, and if neural networks purely based on attention are sufficient to obtain good performance in audio classification. In this paper, we answer the question by introducing the Audio Spectrogram Transformer (AST), the first convolution-free, purely attention-based model for audio classification. We evaluate AST on various audio classification benchmarks, where it achieves new state-of-the-art results of 0.485 mAP on AudioSet, 95.6% accuracy on ESC-50, and 98.1% accuracy on Speech Commands V2.

Yuan Gong, Yu-An Chung, James Glass• 2021

Related benchmarks

TaskDatasetResultRank
Audio ClassificationESC-50
Accuracy95.6
325
Audio ClassificationAudioSet 20K
mAP34.7
128
Audio ClassificationUrbansound8K
Accuracy85.5
116
Audio ClassificationESC-50 (test)
Accuracy95.6
84
Audio ClassificationAudioSet 2M
mAP45.9
79
Musical Instrument ClassificationNSynth
Accuracy73.2
75
Keyword SpottingGoogle Speech Commands v1 (test)
Accuracy95.5
68
Audio ClassificationSPC V2
Accuracy98.1
65
Audio ClassificationESC50
Top-1 Acc88.8
64
Keyword SpottingSpeech Commands V2
Accuracy98.11
61
Showing 10 of 74 rows
...

Other info

Code

Follow for update