Enriched Music Representations with Multiple Cross-modal Contrastive Learning

Andres Ferraro, Xavier Favory, Konstantinos Drossos, Yuntae Kim, Dmitry Bogdanov
4/1/2021
cs.SDcs.IRcs.MM
contrastive-ssl

Official code: andrebola/contrastive-mir-learning (15 stars, Python, MIT, last commit 2023-06-22).

Abstract

Modeling various aspects that make a music piece unique is a challenging task, requiring the combination of multiple sources of information. Deep learning is commonly used to obtain representations using various sources of information, such as the audio, interactions between users and songs, or associated genre metadata.

Show full abstract

Recently, contrastive learning has led to representations that generalize better compared to traditional supervised methods. In this paper, we present a novel approach that combines multiple types of information related to music using cross-modal contrastive learning, allowing us to learn an audio feature from heterogeneous data simultaneously. We align the latent representations obtained from playlists-track interactions, genre metadata, and the tracks' audio, by maximizing the agreement between these modality representations using a contrastive loss. We evaluate our approach in three tasks, namely, genre classification, playlist continuation and automatic tagging. We compare the performances with a baseline audio-based CNN trained to predict these modalities. We also study the importance of including multiple sources of information when training our embedding model. The results suggest that the proposed method outperforms the baseline in all the three downstream tasks and achieves comparable performance to the state-of-the-art.

View on arXivView PDF

Code Implementations(1)

MIT

This repo contains the code to reproduce the paper: "Enriched Music Representations with Multiple Cross-modal Contrastive Learning"

156PythonJan 29, 20213 years agoMIT
contrastive-learningmusic-information-retrievalrecommender-system

Similar Papers

Cite this paper

@article{ferraro2021enriched,
  title  = {Enriched Music Representations with Multiple Cross-modal Contrastive Learning},
  author = {Andres Ferraro and Xavier Favory and Konstantinos Drossos and Yuntae Kim and Dmitry Bogdanov},
  year   = {2021},
  eprint = {2104.00437},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.00437}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.00437.svg)](https://codeofpaper.com/paper/2104.00437)

Discussion