NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MAST: Multiscale Audio Spectrogram Transformers

Sreyan Ghosh, Ashish Seth, Srinivasan Umesh, Dinesh ManochaICASSP 2022

TL;DR

This paper introduces MAST, a novel transformer architecture for audio classification that incorporates multiscale feature hierarchies, outperforming existing methods like AST. They also propose SS-MAST, a self-supervised learning approach that further boosts MAST's performance, especially in low-resource settings.

What Problem Does This Paper Address?

Audio signals, like speech, are inherently hierarchical, with information present at various timescales – from rapid phoneme changes to slower word and sentence structures. Traditional deep learning models often struggle to effectively capture these multiscale temporal dependencies. While the Audio Spectrogram Transformer (AST) has shown promise by applying transformer architectures to audio, it doesn't explicitly leverage the hierarchical nature of audio features, a characteristic that has benefited convolutional neural networks (CNNs) in the past. This paper aims to bridge this gap by introducing a transformer architecture that explicitly models multiscale audio features.

Methods

The core innovation is the Multiscale Audio Spectrogram Transformer (MAST). Unlike the standard AST, MAST's transformer blocks are designed to progressively increase the embedding dimension while decreasing the temporal resolution across stages. This creates a pyramid-like structure:

  • Early stages: Operate at high temporal resolution with low embedding dimensions, focusing on fine-grained, low-level acoustic features (e.g., spectral cues, prosody).
  • Deeper stages: Operate at lower temporal resolution with high embedding dimensions, capturing more complex, high-level acoustic information (e.g., semantics, emotion).

This multiscale processing is achieved by replacing the standard Multi-Head Attention (MHA) with Multi-Head Pooling Attention (MHPA). MHPA incorporates a pooling operation within the attention mechanism to reduce temporal resolution. Additionally, MAST uses relative position embeddings instead of absolute ones, which is crucial for tasks where the relative positioning of features is more important than their absolute location.

To further enhance performance, especially in low-resource scenarios, the authors introduce Self-Supervised MAST (SS-MAST). This method uses a contrastive learning approach between a "student" and a "teacher" encoder. Crucially, it employs a novel augmentation technique called patch-drop, which randomly drops a percentage of input patches, and a symmetric cross-contrastive loss.

Datasets

The paper utilizes the LAPE Benchmark for evaluating learned audio representations across various speech and non-speech tasks. For SSL pre-training, they use a combination of AudioSet and the entire FSD50K dataset. Downstream tasks for evaluation include:

  • VoxCeleb (VC) for speaker identification.
  • Speech Commands (SC) v1 and v2 for keyword spotting.
  • VoxForge (VF) for language identification.
  • IEMOCAP (IC) for speech emotion recognition.
  • NSynth for musical note instrument classification.
  • US8K for acoustic event classification.

Key Insights and Ideas

  • Hierarchical audio processing is key: The paper strongly advocates for explicitly modeling multiscale temporal hierarchies in audio, drawing parallels to successful CNN architectures and the nature of audio signals themselves.
  • MHPA for multiscale attention: The introduction of Multi-Head Pooling Attention is a clever way to adapt transformer architectures for multiscale feature extraction without resorting to purely convolutional layers.
  • Patch-drop for robust SSL: The novel patch-drop augmentation proves effective in improving self-supervised learning, suggesting that introducing controlled "missingness" can lead to more robust representations.
  • Symmetric contrastive loss: Using a symmetric cross-contrastive loss between student and teacher networks helps stabilize training and improve representation learning.

Key Results

  • MAST significantly outperforms the baseline AST by an average of 3.2% across 8 speech and non-speech tasks from the LAPE Benchmark.
  • MAST achieves state-of-the-art results on keyword spotting in Speech Commands.
  • SS-MAST, when used for pre-training, provides an average improvement of 2.6% over the previously proposed SSAST.
  • The proposed patch-drop augmentation, when used with SS-MAST, boosts performance by an average of 0.5% on top of other SSL methods.

Limitations and Future Work

  • Model Size: The authors mention using MViT-Base and ViT-Base384 architectures and suggest that exploring bigger models could yield further improvements.
  • SS-MAST on MAST: While they compare SS-MAST with AST and SSAST, they note that they did not implement SSAST on MAST because MAST's architecture (specifically the varying dimensions across stages) doesn't directly support SSAST's requirements. This suggests potential for further integration or adaptation of SSL methods.
  • Future Work: The paper implicitly suggests exploring larger models and potentially adapting other SSL techniques to the MAST architecture. The success of patch-drop also opens avenues for further research into novel audio augmentation strategies for self-supervised learning.

Summary updated

BibTeX
@inproceedings{ghosh2022mast,
  author = {Sreyan Ghosh and Ashish Seth and Srinivasan Umesh and Dinesh Manocha},
  title = {{MAST: Multiscale Audio Spectrogram Transformers}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=08SHQUsorP5},
}
Figure