Music Representation Learning Based on Editorial Metadata from Discogs

Pablo Alonso-Jiménez, Xavier Serra, Dmitry BogdanovISMIR 2022

Abstract

Researchers from Universitat Pompeu Fabra have developed a novel approach to training music AI models by leveraging objective editorial metadata from the Discogs database. By using attributes such as artist, record label, and release information as supervisory signals within a contrastive learning framework, the study demonstrates that music representations can be learned that rival or outperform those trained on traditional, subjective genre labels. This method provides a scalable and objective alternative to human-annotated datasets in Music Information Retrieval (MIR).

Introduction

The field of Music Information Retrieval (MIR) has long relied on human-labeled datasets to teach models to recognize genres, moods, and instrumentation. However, human labels are notoriously subjective, inconsistent, and expensive to acquire at scale. While self-supervised learning (SSL) offers a path toward scalability by allowing models to learn from the audio itself, it often fails to capture the high-level semantic nuances that human context provides.

This paper explores the use of editorial metadata—structured, objective information like artist names and record labels—as a "middle ground" supervisory signal. By utilizing the vast Discogs database, the authors investigate whether these "free" facts can effectively guide a model toward a deeper understanding of musical style and structure.

Methods

The researchers adapted the Contrastive Learning for Audio (COLA) framework to incorporate metadata associations. In a standard contrastive setup, a model learns by identifying that two snippets from the same audio file are "the same." This study expands that definition of "sameness" across four distinct metadata-driven associations:

  1. Track: Snippets from the same song (standard SSL).
  2. Release: Snippets from different songs on the same album.
  3. Artist: Snippets from different releases by the same artist.
  4. Label: Snippets from different artists on the same record label.

The architecture employs an EfficientNet-B0 backbone to process mel-spectrograms. The model is trained to maximize similarity between "positive pairs" (e.g., two tracks by the same artist) while minimizing similarity with other samples in the training batch.

Single-task (left) and multi-task (right) contrastive learning architectures using metadata-based pair generation.

Datasets and Evaluation

The models were pre-trained on a massive in-house collection of 3.3 million tracks linked to Discogs metadata. To evaluate the quality of the learned representations, the authors tested the models on several downstream benchmarks, including MTG-Jamendo (for genre, instrument, and mood), MagnaTagATune (MTAT), and FMA-small.

Key Results and Insights

The experiments revealed several critical insights into how metadata informs music understanding:

  • Artist as a Style Proxy: The "Artist" association was the top performer for semantic tasks, achieving an 87.7% ROC-AUC on the MTG-Jamendo Genre task. This suggests that an artist's unique sonic signature is a highly effective proxy for learning musical style.
  • Metadata vs. Human Tags: Representations learned via metadata outperformed baseline models trained on 400 popular music style tags, indicating that objective metadata can be "cleaner" and more reliable than crowd-sourced labels.
  • The Label Challenge: Learning from record labels proved the most difficult task during pre-training. This is likely because many labels represent a diverse array of styles, making it harder for the model to find a consistent "similarity" signal compared to the more focused "Track" or "Artist" signals.
  • Complementary Strengths: Different associations captured different musical aspects. While "Track" associations were best for identifying popular hits (Top50), "Artist" associations were superior for high-level tasks like Genre and Mood classification.
Validation accuracy across training epochs for the four metadata associations, highlighting the relative difficulty of the proxy tasks.

Conclusion and Future Work

This research demonstrates that editorial metadata is a powerful and underutilized resource for music representation learning. By moving away from subjective human tags toward objective metadata, models can be trained more efficiently on larger datasets. Future work may involve exploring more complex relationships within the metadata, such as artist collaborations or remix connections, to further refine the learned representations.

Summary updated

BibTeX
@inproceedings{alonsojimenez2022music,
  author = {Pablo Alonso-Jiménez and Xavier Serra and Dmitry Bogdanov},
  title = {{Music Representation Learning Based on Editorial Metadata from Discogs}},
  booktitle = {ISMIR},
  year = {2022},
}
Figure