MAE-AST: Masked Autoencoding Audio Spectrogram Transformer

Alan Baade, Puyuan Peng, David Harwath
3/30/2022
154 citations
eess.AScs.AIcs.CL
transformer-attentioncontrastive-ssl

Official code: AlanBaade/MAE-AST-Public (93 stars, Python, last commit 2022-06-09).

Abstract

In this paper, we propose a simple yet powerful improvement over the recent Self-Supervised Audio Spectrogram Transformer (SSAST) model for speech and audio classification. Specifically, we leverage the insight that the SSAST uses a very high masking ratio (75%) during pretraining, meaning that the vast majority of self-attention compute is performed on mask tokens.

Show full abstract

We address this by integrating the encoder-decoder architecture from Masked Autoencoders are Scalable Vision Learners (MAE) into the SSAST, where a deep encoder operates on only unmasked input, and a shallow decoder operates on encoder outputs and mask tokens. We find that MAE-like pretraining can provide a 3x speedup and 2x memory usage reduction over the vanilla SSAST using current audio pretraining strategies with ordinary model and input sizes. When fine-tuning on downstream tasks, which only uses the encoder, we find that our approach outperforms the SSAST on a variety of downstream tasks. We further conduct comprehensive evaluations into different strategies of pretraining and explore differences in MAE-style pretraining between the visual and audio domains.

View on arXivView PDF

Code Implementations(1)

Public Code for the paper MAE-AST: Masked Autoencoding Audio Spectrogram Transformer

935PythonMay 25, 20224 years ago

Similar Papers

Cite this paper

@article{baade2022maeast,
  title  = {MAE-AST: Masked Autoencoding Audio Spectrogram Transformer},
  author = {Alan Baade and Puyuan Peng and David Harwath},
  year   = {2022},
  eprint = {2203.16691},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.16691}
}

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

Discussion