All models

MusCALL

A dual-encoder model that aligns music audio with text descriptions through contrastive learning.

Multimodal · 388 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
40.8M
Operations
388
Framework
PyTorch
Recurrent
No
Published
2022
Cited by
37 (as of 16 November 2026)
Authors
Ilaria Manco, Emmanouil Benetos, Elio Quinton, György Fazekas
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18591
Graph hash
7af509bd8cc32cffe6a49c5257f226bb68c52e38f8376f451e1e997bb2a7914a
Skeleton hash
e71591cb44eb112a457571f583cb656f640e40fec8e734a1d2f77a640ff9e40d
Architecture hash
683190e1e072e17ea3c1ed2c17ccbb281af4af18b15b352d34a70c625a5c094c
Diagram SHA-256
9253d8c45d3ce2c7534cdf7f19dc1c4d811b3cf739d519df44a74af8eba68109
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MusCALL (Music Contrastive Audio-Language Learning) is a dual-encoder model that learns to align music audio with sentences that describe it. The multimodal embeddings it produces can be used directly for text-to-audio and audio-to-text retrieval.

The design borrows the contrastive dual-encoder approach of CLIP and adapts it to audio without any pre-training. The audio encoder is a ResNet-50 operating on mel spectrograms of the input, and an attention pooling mechanism turns its output into a fixed-length audio representation. The text encoder is a Transformer, which the authors downsize to 4 hidden layers. Two learned linear projections map the audio and text features onto a 512-dimensional multimodal embedding space, where the features are L2-normalized before their dot product enters the contrastive loss.

The authors train and evaluate on a dataset of 250k audio-text pairs created from a production music library. They also extend the model to zero-shot transfer for genre classification and auto-tagging on two public datasets. The code repository states that the paper was accepted to ISMIR 2022.

Key idea. MusCALL trains an audio encoder and a text encoder with a contrastive objective on music tracks paired with descriptions, producing embeddings usable for cross-modal retrieval and zero-shot music classification.

  • MusCALL
  • Music Contrastive Audio-Language Learning
  • contrastive audio-language learning for music
  • music text retrieval
  • text-to-audio retrieval
  • audio-to-text retrieval
  • zero-shot music classification
  • music auto-tagging
  • audio-text dual encoder

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{manco2022contrastiveaudiolanguagelearningmusic,
      title={Contrastive Audio-Language Learning for Music}, 
      author={Ilaria Manco and Emmanouil Benetos and Elio Quinton and György Fazekas},
      year={2022},
      eprint={2208.12208},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2208.12208}, 
}