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

HTS-AT: A Hierarchical Token-Semantic Audio Transformer for Sound Classification and Detection

About

Audio classification is an important task of mapping audio samples into their corresponding labels. Recently, the transformer model with self-attention mechanisms has been adopted in this field. However, existing audio transformers require large GPU memories and long training time, meanwhile relying on pretrained vision models to achieve high performance, which limits the model's scalability in audio tasks. To combat these problems, we introduce HTS-AT: an audio transformer with a hierarchical structure to reduce the model size and training time. It is further combined with a token-semantic module to map final outputs into class featuremaps, thus enabling the model for the audio event detection (i.e. localization in time). We evaluate HTS-AT on three datasets of audio classification where it achieves new state-of-the-art (SOTA) results on AudioSet and ESC-50, and equals the SOTA on Speech Command V2. It also achieves better performance in event localization than the previous CNN-based models. Moreover, HTS-AT requires only 35% model parameters and 15% training time of the previous audio transformer. These results demonstrate the high performance and high efficiency of HTS-AT.

Ke Chen, Xingjian Du, Bilei Zhu, Zejun Ma, Taylor Berg-Kirkpatrick, Shlomo Dubnov• 2022

Related benchmarks

TaskDatasetResultRank
Audio ClassificationESC-50
Accuracy97
325
Audio ClassificationUrbansound8K
Accuracy85.3
116
Audio ClassificationESC-50 (test)
Accuracy97
84
Audio ClassificationAudioSet 2M
mAP47.1
79
Musical Instrument ClassificationNSynth
Accuracy73.3
75
Audio ClassificationSPC V2
Accuracy98
65
Keyword SpottingSpeech Commands V2
Accuracy98
61
Environmental Sound ClassificationFSD50K
mAP59.4
60
ClassificationAudioSet (test)
mAP47.1
57
Audio ClassificationGTZAN
Accuracy85.9
54
Showing 10 of 31 rows

Other info

Code

Follow for update