Skip to main content
QUICK REVIEW

[Paper Review] Supervised and Unsupervised Learning of Audio Representations for Music Understanding

Matthew McCallum, Filip Korzeniowski|arXiv (Cornell University)|Oct 7, 2022
Music and Audio ProcessingComputer Science7 citations
TL;DR

This paper compares supervised and unsupervised pre-training of audio representations for music understanding, showing that supervised learning on large-scale expert-annotated music datasets achieves state-of-the-art performance across diverse music tagging tasks with models under 100M parameters. Unsupervised learning on music-specific data also achieves strong results, outperforming general-domain unsupervised models and demonstrating improved performance on key estimation and other tasks.

ABSTRACT

In this work, we provide a broad comparative analysis of strategies for pre-training audio understanding models for several tasks in the music domain, including labelling of genre, era, origin, mood, instrumentation, key, pitch, vocal characteristics, tempo and sonority. Specifically, we explore how the domain of pre-training datasets (music or generic audio) and the pre-training methodology (supervised or unsupervised) affects the adequacy of the resulting audio embeddings for downstream tasks. We show that models trained via supervised learning on large-scale expert-annotated music datasets achieve state-of-the-art performance in a wide range of music labelling tasks, each with novel content and vocabularies. This can be done in an efficient manner with models containing less than 100 million parameters that require no fine-tuning or reparameterization for downstream tasks, making this approach practical for industry-scale audio catalogs. Within the class of unsupervised learning strategies, we show that the domain of the training dataset can significantly impact the performance of representations learned by the model. We find that restricting the domain of the pre-training dataset to music allows for training with smaller batch sizes while achieving state-of-the-art in unsupervised learning -- and in some cases, supervised learning -- for music understanding. We also corroborate that, while achieving state-of-the-art performance on many tasks, supervised learning can cause models to specialize to the supervised information provided, somewhat compromising a model's generality.

Motivation & Objective

  • To evaluate how pre-training data domain (music vs. generic audio) and learning paradigm (supervised vs. unsupervised) affect audio representation quality for music understanding tasks.
  • To assess the scalability and performance of compact models (under 100M parameters) trained on large-scale music datasets without fine-tuning.
  • To investigate whether unsupervised learning on music-only data can match or exceed supervised performance on tasks like key and pitch estimation.
  • To analyze the trade-offs between performance and generalization, particularly in cases where supervised models may specialize to label distributions.
  • To determine the impact of batch size and data domain on unsupervised contrastive learning for music representation learning.

Proposed method

  • Pre-train audio models using supervised learning on magnitude log-mel spectrograms from the Musicset dataset, a large-scale expert-annotated music dataset.
  • Apply unsupervised contrastive learning (SimCLR loss) to the same audio data, excluding annotations, to learn representations without labels.
  • Train models on both music-specific (Musicset) and general audio (Audioset) datasets to compare domain-specific vs. general-domain pre-training.
  • Use different batch sizes (1920 and 256) to evaluate the impact of training dynamics on unsupervised representation quality.
  • Evaluate learned embeddings via linear probes on a wide range of downstream music tagging tasks, including genre, mood, key, pitch, and instrumentation.
  • Compare results across models using identical model architectures and inference protocols to ensure fair performance evaluation.

Experimental results

Research questions

  • RQ1Does supervised pre-training on expert-annotated music data lead to state-of-the-art performance across diverse music tagging tasks?
  • RQ2Can unsupervised learning on music-only datasets achieve competitive or superior performance compared to general-domain unsupervised pre-training?
  • RQ3How does restricting the pre-training dataset to music affect model performance, especially on tasks like key and pitch estimation?
  • RQ4To what extent do supervised models generalize to tasks not represented in their training labels, such as pitch and key detection?
  • RQ5What is the impact of batch size on the performance of unsupervised contrastive learning for music representation learning?

Key findings

  • The Musicset-Sup model achieves state-of-the-art performance across all multilabel music tagging tasks, including genre, mood, and instrumentation, with models under 100 million parameters.
  • Unsupervised learning on music-only data (Musicset-ULarge) achieves state-of-the-art results in unsupervised learning and matches or exceeds performance of some supervised models on tasks like key estimation.
  • Models pre-trained on music-specific data (Musicset-USmall) outperform those pre-trained on general audio (Audioset-USmall) across all evaluated tasks, indicating domain specificity improves representation quality.
  • Supervised models show performance degradation on pitch and key estimation tasks, confirming that models can specialize to the labels present in the training data and lose generalization capacity.
  • Unsupervised models trained on music data achieve strong performance even with smaller batch sizes (256), suggesting improved negative sampling efficiency due to spectral homogeneity in music.
  • The results demonstrate that compact models (under 100M parameters) trained on music-specific data can match or exceed larger models in performance, with significantly reduced training cost and inference requirements.

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.