HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Efficient Training of Audio Transformers with Patchout

Koutini Khaled ; Schlüter Jan ; Eghbal-zadeh Hamid ; Widmer Gerhard

Efficient Training of Audio Transformers with Patchout

Abstract

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

Code Repositories

kkoutini/passt
Official
pytorch
Mentioned in GitHub
kkoutini/passt_hear21
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
audio-classification-on-audiosetPaSST-S (Single)
Test mAP: 0.471
audio-classification-on-audiosetPaSST (Ensemble)
Test mAP: 0.496
audio-classification-on-fsd50kPaSST-N-S
mAP: 64.2
audio-classification-on-fsd50kPaSST-S
mAP: 65.55
audio-tagging-on-audiosetPaSST
mean average precision: 0.496
instrument-recognition-on-openmic-2018PaSST
mean average precision: 0.843

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Efficient Training of Audio Transformers with Patchout | Papers | HyperAI