MAST: Multiscale Audio Spectrogram Transformers

Sreyan Ghosh, Ashish Seth, S. Umesh, Dinesh Manocha
11/2/2022
eess.AScs.AIcs.CL
transformer-attentioncontrastive-ssl

Official code: Sreyan88/LAPE (29 stars, Python, last commit 2024-07-09).

Abstract

We present Multiscale Audio Spectrogram Transformer (MAST) for audio classification, which brings the concept of multiscale feature hierarchies to the Audio Spectrogram Transformer (AST). Given an input audio spectrogram, we first patchify and project it into an initial temporal resolution and embedding dimension, post which the multiple stages in MAST progressively expand the embedding dimension while reducing the temporal resolution of the input.

Show full abstract

We use a pyramid structure that allows early layers of MAST operating at a high temporal resolution but low embedding space to model simple low-level acoustic information and deeper temporally coarse layers to model high-level acoustic information with high-dimensional embeddings. We also extend our approach to present a new Self-Supervised Learning (SSL) method called SS-MAST, which calculates a symmetric contrastive loss between latent representations from a student and a teacher encoder, leveraging patch-drop, a novel audio augmentation approach that we introduce. In practice, MAST significantly outperforms AST by an average accuracy of 3.4% across 8 speech and non-speech tasks from the LAPE Benchmark, achieving state-of-the-art results on keyword spotting in Speech Commands. Additionally, our proposed SS-MAST achieves an absolute average improvement of 2.6% over the previously proposed SSAST.

View on arXivView PDF

Code Implementations(1)

Sreyan88/LAPEOfficial100%

A unified framework for Low-resource Audio Processing and Evaluation (SSL Pre-training and Downstream Fine-tuning)

292PythonApr 11, 20232 years ago

Similar Papers

Cite this paper

@article{ghosh2022mast,
  title  = {MAST: Multiscale Audio Spectrogram Transformers},
  author = {Sreyan Ghosh and Ashish Seth and S. Umesh and Dinesh Manocha},
  year   = {2022},
  eprint = {2211.01515},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.01515}
}

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/2211.01515.svg)](https://codeofpaper.com/paper/2211.01515)

Discussion