Skip to main content
QUICK REVIEW

[Paper Review] BEATs: Audio Pre-Training with Acoustic Tokenizers

Sanyuan Chen, Yu Wu|arXiv (Cornell University)|Dec 18, 2022
Music and Audio ProcessingComputer Science40 citations
TL;DR

BEATs introduces an iterative framework that jointly learns acoustic tokenizers and an audio SSL model, using discrete label prediction to achieve state-of-the-art results on multiple audio/speech tasks without excessive data or parameters.

ABSTRACT

The massive growth of self-supervised learning (SSL) has been witnessed in language, vision, speech, and audio domains over the past few years. While discrete label prediction is widely adopted for other modalities, the state-of-the-art audio SSL models still employ reconstruction loss for pre-training. Compared with reconstruction loss, semantic-rich discrete label prediction encourages the SSL model to abstract the high-level audio semantics and discard the redundant details as in human perception. However, a semantic-rich acoustic tokenizer for general audio pre-training is usually not straightforward to obtain, due to the continuous property of audio and unavailable phoneme sequences like speech. To tackle this challenge, we propose BEATs, an iterative audio pre-training framework to learn Bidirectional Encoder representation from Audio Transformers, where an acoustic tokenizer and an audio SSL model are optimized by iterations. In the first iteration, we use random projection as the acoustic tokenizer to train an audio SSL model in a mask and label prediction manner. Then, we train an acoustic tokenizer for the next iteration by distilling the semantic knowledge from the pre-trained or fine-tuned audio SSL model. The iteration is repeated with the hope of mutual promotion of the acoustic tokenizer and audio SSL model. The experimental results demonstrate our acoustic tokenizers can generate discrete labels with rich audio semantics and our audio SSL models achieve state-of-the-art results across various audio classification benchmarks, even outperforming previous models that use more training data and model parameters significantly. Specifically, we set a new state-of-the-art mAP 50.6% on AudioSet-2M for audio-only models without using any external data, and 98.1% accuracy on ESC-50. The code and pre-trained models are available at https://aka.ms/beats.

Motivation & Objective

  • Motivate discrete label prediction for general audio SSL to better capture high-level semantics.
  • Propose an iterative framework that alternates between learning an acoustic tokenizer and an audio SSL model.
  • Show that semantic-rich acoustic tokens improve downstream audio understanding.
  • Demonstrate state-of-the-art results on AudioSet-2M, AudioSet-2M-augmented, and ESC-50 without excessive data or parameters.

Proposed method

  • Introduce BEATs, an iterative bidirectional framework coupling an acoustic tokenizer with an audio Transformer SSL model.
  • Use a random-projection tokenizer in the first iteration to generate discrete targets for masked label prediction.
  • Train a self-distilled tokenizer in subsequent iterations by distilling semantic knowledge from the SSL model (teacher) to the tokenizer (student).
  • Adopt a Masked Audio Modeling objective where 75% of patches are masked and the model predicts discrete labels for the masked tokens.
  • Backbone SSL model is a ViT-based encoder with relative positional embeddings and DeepNorm, trained with a 75% masked prediction loss over discrete tokens.
  • Fine-tune downstream tasks with a linear classifier on top of the encoder representations.
  • Pre-train on AudioSet (AS-2M) for 3 iterations, with an optional supervised teacher for iteration+ (iter3+).

Experimental results

Research questions

  • RQ1Can discrete acoustic tokens learned iteratively provide semantic richness that improves general audio understanding?
  • RQ2Does mutual improvement between an acoustic tokenizer and an audio SSL model yield state-of-the-art results on diverse audio/speech benchmarks?
  • RQ3How does a self-distilled tokenizer compare to a random-projection tokenizer in data-scarce vs data-rich settings?
  • RQ4What gains arise when incorporating supervised fine-tuning within the BEATs iterative framework?
  • RQ5Is the BEATs framework robust to different SSL teacher models across iterations?

Key findings

  • BEATs achieves state-of-the-art results across six audio/speech tasks, notably 98.1% accuracy on ESC-50 and 50.6 mAP on AudioSet-2M for audio-only models without external data (iter3+).
  • The first iteration with a random-projection tokenizer already outperforms many prior methods on five of six tasks, underscoring the advantage of discrete label prediction over reconstruction.
  • Iterative training with self-distilled tokenizers yields additional gains, especially on audio classification tasks, showing that tokenizers improve semantic content.
  • Fine-tuning with supervised data in iteration+ (iter3+) further boosts AS-2M/AS-20K performance, surpassing previous SOTA by large margins with fewer parameters (90M vs. 304M).
  • BEATs iterates converge quickly (similar performance by iter3) while allowing the supervised teacher to provide substantial downstream gains in iteration+.
  • The learned acoustic tokens are robust to disturbances and align well with audio semantics.

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.