Skip to main content
QUICK REVIEW

[Paper Review] ASiT: Local-Global Audio Spectrogram vIsion Transformer for Event Classification

Sara Atito, Muhammad Awais|arXiv (Cornell University)|Nov 23, 2022
Music and Audio ProcessingComputer Science56 references8 citations
TL;DR

ASiT proposes a self-supervised Vision Transformer for audio representation learning that combines group masked model learning with teacher-student distillation using both global and local contrastive losses to improve audio spectrogram understanding. It achieves state-of-the-art performance on five audio and speech classification tasks, outperforming methods using external datasets or ImageNet pretraining.

ABSTRACT

Transformers, which were originally developed for natural language processing, have recently generated significant interest in the computer vision and audio communities due to their flexibility in learning long-range relationships. Constrained by the data hungry nature of transformers and the limited amount of labelled data, most transformer-based models for audio tasks are finetuned from ImageNet pretrained models, despite the huge gap between the domain of natural images and audio. This has motivated the research in self-supervised pretraining of audio transformers, which reduces the dependency on large amounts of labeled data and focuses on extracting concise representations of audio spectrograms. In this paper, we propose extbf{L}ocal- extbf{G}lobal extbf{A}udio extbf{S}pectrogram v extbf{I}sion extbf{T}ransformer, namely ASiT, a novel self-supervised learning framework that captures local and global contextual information by employing group masked model learning and self-distillation. We evaluate our pretrained models on both audio and speech classification tasks, including audio event classification, keyword spotting, and speaker identification. We further conduct comprehensive ablation studies, including evaluations of different pretraining strategies. The proposed ASiT framework significantly boosts the performance on all tasks and sets a new state-of-the-art performance in five audio and speech classification tasks, outperforming recent methods, including the approaches that use additional datasets for pretraining.

Motivation & Objective

  • To develop a self-supervised audio representation learning framework that effectively captures both local and global context in spectrograms.
  • To investigate whether group masked model learning, successful in vision, can be effectively adapted to audio spectrograms despite domain differences.
  • To improve upon standard masked autoencoder pretraining by integrating contrastive learning for better feature discrimination.
  • To evaluate the impact of pretraining strategy, model size, and initialization on downstream audio classification performance.

Proposed method

  • ASiT employs a vision transformer backbone to process audio spectrograms as 2D spatial inputs.
  • It uses group masked model learning (GMML) to randomly mask connected patches of spectrogram tokens and reconstruct them from context.
  • A teacher-student distillation framework is introduced, where the student model learns from the teacher via a contrastive loss on both global and local features.
  • Local similarity learning is implemented by aligning features from original and corrupted spectrograms to preserve fine-grained discriminative patterns.
  • The model is jointly trained using reconstruction loss (from masked autoencoder) and contrastive loss (from feature alignment).
  • Pretraining is performed on large-scale unlabeled audio data (AS-2M) to learn general audio representations without supervision.

Experimental results

Research questions

  • RQ1Can group masked model learning, originally designed for images, be effectively applied to audio spectrograms despite their 1D signal nature and structural differences from images?
  • RQ2Does combining reconstruction loss with contrastive learning improve audio representation learning compared to reconstruction alone?
  • RQ3Is local similarity learning, in addition to global contrastive learning, necessary for effective multilabel audio event classification?
  • RQ4How does pretraining on in-domain audio data compare to initialization from ImageNet in terms of downstream performance?
  • RQ5What is the optimal pretraining duration, masking ratio, and patch alignment strategy for audio spectrogram representation learning?

Key findings

  • ASiT achieves state-of-the-art performance on five benchmark audio and speech classification tasks, including audio event classification, keyword spotting, and speaker identification.
  • Longer pretraining (up to 100 epochs) leads to systematic performance gains, with mAP steadily improving on the AS-20K dataset.
  • Optimal masking ratios for pretraining lie between 60% and 80%, as this balance encourages context-based reconstruction without overfitting.
  • Pretraining converges faster and generalizes better when masking is not aligned with patch boundaries, especially in early training stages.
  • Larger model sizes (e.g., ViT-Base) yield better downstream performance, confirming ASiT's scalability with capacity.
  • Pretraining on in-domain audio data (AS-2M) significantly outperforms ImageNet pretraining, and initializing from ImageNet degrades performance compared to audio-only pretraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.