Efficient Fine-tuning of Audio Spectrogram Transformers via Soft Mixture of Adapters

Umberto Cappellazzo, Daniele Falavigna, Alessio Brutti
2/1/2024
eess.AScs.AI

No official code found. Best implementation: umbertocappellazzo/PETL_AST (41 stars, last commit 2024-07-31).

Abstract

Mixture of Experts (MoE) architectures have recently started burgeoning due to their ability to scale model's capacity while maintaining the computational cost affordable. Furthermore, they can be applied to both Transformers and State Space Models, the current state-of-the-art models in numerous fields. While MoE has been mostly investigated for the pre-training stage, its use in parameter-efficient transfer learning settings is under-explored. To narrow this gap, this paper attempts to demystify the use of MoE for parameter-efficient fine-tuning of Audio Spectrogram Transformers to audio and speech downstream tasks. Specifically, we propose Soft Mixture of Adapters (Soft-MoA). It exploits adapters as the experts and, leveraging the recent Soft MoE method, it relies on a soft assignment between the input tokens and experts to keep the computational time limited. Extensive experiments across 4 benchmarks demonstrate that Soft-MoA outperforms the single adapter method and performs on par with the dense MoA counterpart. We finally present ablation studies on key elements of Soft-MoA, showing for example that Soft-MoA achieves better scaling with more experts, as well as ensuring that all experts contribute to the computation of the output tokens, thus dispensing with the expert imbalance issue.

View on arXivView PDF

Code Implementations(1)

This is the official repository of the papers "Parameter-Efficient Transfer Learning of Audio Spectrogram Transformers" [IEEE MLSP 2025] and "Efficient Fine-tuning of Audio Spectrogram Transformers via Soft Mixture of Adapters" [Interspeech 2024].

414PythonDec 2, 20232 years ago
adapteraudio-processingaudio-spectrogram-transformerloramixture-of-adapters+4 more

Similar Papers

Cite this paper

@article{cappellazzo2024efficient,
  title  = {Efficient Fine-tuning of Audio Spectrogram Transformers via Soft Mixture of Adapters},
  author = {Umberto Cappellazzo and Daniele Falavigna and Alessio Brutti},
  year   = {2024},
  eprint = {2402.00828},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.00828v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.00828.svg)](https://codeofpaper.com/paper/2402.00828)

Discussion