HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Efficient Large-scale Audio Tagging via Transformer-to-CNN Knowledge Distillation

Florian Schmid Khaled Koutini Gerhard Widmer

Efficient Large-scale Audio Tagging via Transformer-to-CNN Knowledge Distillation

Abstract

Audio Spectrogram Transformer models rule the field of Audio Tagging, outrunning previously dominating Convolutional Neural Networks (CNNs). Their superiority is based on the ability to scale up and exploit large-scale datasets such as AudioSet. However, Transformers are demanding in terms of model size and computational requirements compared to CNNs. We propose a training procedure for efficient CNNs based on offline Knowledge Distillation (KD) from high-performing yet complex transformers. The proposed training schema and the efficient CNN design based on MobileNetV3 results in models outperforming previous solutions in terms of parameter and computational efficiency and prediction performance. We provide models of different complexity levels, scaling from low-complexity models up to a new state-of-the-art performance of .483 mAP on AudioSet. Source Code available at: https://github.com/fschmid56/EfficientAT

Code Repositories

fschmid56/efficientat
Official
pytorch
Mentioned in GitHub
fschmid56/efficientat_hear
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
audio-classification-on-audiosetmn40_as (Single)
Test mAP: 0.483
audio-classification-on-audiosetmn40_as (Ensemble)
Test mAP: 0.498
audio-classification-on-esc-50mn40_as
Accuracy (5-fold): 97.45
PRE-TRAINING DATASET: AudioSet
Top-1 Accuracy: 97.45
audio-tagging-on-audiosetmn40_as (Single)
mean average precision: 0.483
audio-tagging-on-audiosetmn40_as (Ensemble)
mean average precision: 0.498

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