Learning Contextual Tag Embeddings for Cross-Modal Alignment of Audio and Tags

Xavier Favory, Konstantinos Drossos, Tuomas Virtanen, Xavier Serra
10/27/2020
cs.SDcs.IRcs.LG
transformer-attentioncontrastive-ssl

Official code: xavierfav/ae-w2v-attention (3 stars, Python, MIT, last commit 2021-01-27).

Abstract

Self-supervised audio representation learning offers an attractive alternative for obtaining generic audio embeddings, capable to be employed into various downstream tasks. Published approaches that consider both audio and words/tags associated with audio do not employ text processing models that are capable to generalize to tags unknown during training.

Show full abstract

In this work we propose a method for learning audio representations using an audio autoencoder (AAE), a general word embeddings model (WEM), and a multi-head self-attention (MHA) mechanism. MHA attends on the output of the WEM, providing a contextualized representation of the tags associated with the audio, and we align the output of MHA with the output of the encoder of AAE using a contrastive loss. We jointly optimize AAE and MHA and we evaluate the audio representations (i.e. the output of the encoder of AAE) by utilizing them in three different downstream tasks, namely sound, music genre, and music instrument classification. Our results show that employing multi-head self-attention with multiple heads in the tag-based network can induce better learned audio representations.

View on arXivView PDF

Code Implementations(1)

MIT
31PythonOct 22, 20205 years agoMIT

Similar Papers

Cite this paper

@article{favory2020learning,
  title  = {Learning Contextual Tag Embeddings for Cross-Modal Alignment of Audio and Tags},
  author = {Xavier Favory and Konstantinos Drossos and Tuomas Virtanen and Xavier Serra},
  year   = {2020},
  eprint = {2010.14171},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.14171}
}

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/2010.14171.svg)](https://codeofpaper.com/paper/2010.14171)

Discussion