Towards Learning Universal Audio Representations

Luyu Wang, Pauline Luc, Yan Wu, Adrià Recasens, Lucas Smaira, Andrew Brock, Andrew Jaegle, Jean-Baptiste Alayrac, Sander Dieleman, João Carreira, Aäron van den Oord

TL;DR

To build AI that understands all types of sound, researchers need better ways to evaluate universal audio representations. This paper introduces HARES, a holistic 12-task benchmark spanning speech, music, and environmental sounds, and proposes a novel normalizer-free architecture (Slowfast NFNet-F0). Trained with contrastive learning, this new model achieves state-of-the-art performance across all three audio domains.

What Problem Does This Paper Address?

Most audio representation learning is highly siloed. The AI community has developed excellent benchmarks and models for speech (SUPERB, Wav2Vec), music (NSynth), and environmental sounds (AudioSet). However, models trained on one domain rarely generalize to the others.

The authors tackle the challenge of learning universal audio representations—a single model capable of understanding a dog bark, a spoken command, and a piano chord. To achieve this, they first needed a unified way to measure success. Optimizing for a single massive dataset like AudioSet provides an incomplete picture of a model's general auditory understanding, so a new cross-domain evaluation suite was required to drive architectural improvements.

Methods

The authors first introduce the Holistic Audio Representation Evaluation Suite (HARES), a meta-benchmark of 12 downstream tasks. Armed with HARES, they conduct a massive empirical study comparing training objectives (supervised classification vs. self-supervised SimCLR) and architectures (CNNs, ViTs, Wav2Vec2.0, BYOL-A).

Based on their findings, they design a novel architecture: Slowfast NFNet-F0. It combines two powerful design principles:

  1. Slowfast Networks: Originally designed for video, this architecture uses two pathways to process audio at different temporal resolutions (a "slow" pathway for global features and a "fast" pathway for fine-grained temporal features). It also uses separable convolutions to treat time and frequency dimensions independently.
  2. NFNets (Normalizer-Free Networks): The authors discovered that standard Batch Normalization degrades transferability in audio models. They completely remove normalizers, replacing standard ResNet blocks with NFNet blocks, which rely on scaled weight standardization instead.

Datasets

  • Pretraining: AudioSet (1.9M clips) is used as the primary pretraining dataset for most models. LibriSpeech is used for specific baselines like Wav2Vec2.0.
  • HARES Benchmark (Evaluation): 12 datasets across three domains, evaluated via linear probing:
  • Environment: AudioSet, Birdsong, TUT18, ESC-50.
  • Speech: Speech Commands v1 & v2, Fluent Speech Commands, VoxForge, VoxCeleb.
  • Music: NSynth Instrument, NSynth Pitch, MagnaTagATune.

Key Insights and Ideas

  • AudioSet isn't everything: Performance on the widely used AudioSet benchmark does not strongly correlate with overall performance on HARES. Specifically, it fails to predict how well a model will understand speech.
  • Self-supervised > Supervised for transfer: Models trained with the SimCLR contrastive learning objective generalize significantly better to speech and music domains than models trained via supervised classification. Supervised labels likely bias the network toward extracting global features at the expense of local acoustic traits needed for other domains.
  • Spectrograms aren't just images: Vision architectures that treat time and frequency as equal spatial dimensions (like standard CNNs or ViTs) struggle with speech. Architectures that explicitly model time and frequency differently (like Slowfast's separable convolutions) perform much better.
  • Batch Norm hurts transferability: In Slowfast networks, Batch Normalization breaks independence between training examples and degrades downstream performance. Switching to Layer Norm, Instance Norm, or dropping normalizers entirely yields much better universal representations.

Key Results

  • The proposed Slowfast NFNet-F0 (trained with SimCLR) achieves state-of-the-art results on the HARES benchmark, scoring an average of 74.6 across all tasks (compared to 71.7 for the baseline Slowfast ResNet50).
  • It shows massive gains in the music domain, achieving an mAP of 39.5 on MagnaTagATune (beating the previous audio-only SOTA of 36.0).
  • It outperforms heavily-tuned, domain-specific models on their own turf. For example, it beats Wav2Vec2.0 (pretrained on LibriSpeech) on the VoxCeleb speaker identification task (64.9 vs 41.6).

Limitations and Future Work

  • Exclusion of Sequence-to-Sequence Tasks: HARES intentionally excludes tasks like Automatic Speech Recognition (ASR) because they require high temporal resolution outputs. This restricts the types of models that can be easily evaluated via simple linear probing.
  • Wav2Vec2.0 struggles with noisy data: The authors found that Wav2Vec2.0 performs poorly when pretrained on AudioSet. They hypothesize that its masked prediction objective struggles with the sheer complexity of environmental audio compared to clean speech.
  • Future Directions: The authors note that orthogonal techniques—like class-balanced data loading, model ensembling, or pretraining on large image datasets before audio fine-tuning—could further boost performance, leaving these as promising avenues for future exploration.

Summary updated

BibTeX
@inproceedings{wang2022towards,
  author = {Luyu Wang and Pauline Luc and Yan Wu and Adrià Recasens and Lucas Smaira and Andrew Brock and Andrew Jaegle and Jean-Baptiste Alayrac and Sander Dieleman and João Carreira and Aäron van den Oord},
  title = {{Towards Learning Universal Audio Representations}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=0a2kJ8Pw72s},
}

Loading related content...

Figure