[Paper Review] Contrastive Audio-Language Learning for Music
MusCALL proposes a contrastive audio-language learning framework for music that uses a dual-encoder architecture to align music audio with natural language descriptions, enabling zero-shot text-to-audio and audio-to-text retrieval. It achieves state-of-the-art performance on retrieval and generalizes effectively to zero-shot genre classification and auto-tagging tasks.
As one of the most intuitive interfaces known to humans, natural language has the potential to mediate many tasks that involve human-computer interaction, especially in application-focused fields like Music Information Retrieval. In this work, we explore cross-modal learning in an attempt to bridge audio and language in the music domain. To this end, we propose MusCALL, a framework for Music Contrastive Audio-Language Learning. Our approach consists of a dual-encoder architecture that learns the alignment between pairs of music audio and descriptive sentences, producing multimodal embeddings that can be used for text-to-audio and audio-to-text retrieval out-of-the-box. Thanks to this property, MusCALL can be transferred to virtually any task that can be cast as text-based retrieval. Our experiments show that our method performs significantly better than the baselines at retrieving audio that matches a textual description and, conversely, text that matches an audio query. We also demonstrate that the multimodal alignment capability of our model can be successfully extended to the zero-shot transfer scenario for genre classification and auto-tagging on two public datasets.
Motivation & Objective
- To bridge the semantic gap in Music Information Retrieval by enabling natural language-based music search.
- To develop a scalable, dual-encoder framework for cross-modal alignment between music audio and descriptive text.
- To enable zero-shot transfer to downstream MIR tasks such as genre classification and auto-tagging using textual labels.
- To evaluate the impact of data augmentation, loss weighting, and attention pooling on retrieval performance.
- To demonstrate the viability of using free-form language queries for music retrieval in real-world scenarios.
Proposed method
- MusCALL employs a dual-encoder architecture where audio and text are encoded independently using separate encoders, producing shared multimodal embeddings.
- The model uses contrastive learning to maximize similarity between positive (matched) audio-text pairs and minimize similarity for negative pairs.
- It applies data augmentation via random cropping and audio transformations to improve robustness and generalization during training.
- A content-aware loss weighting scheme is introduced to dynamically adjust the contribution of each negative sample based on its similarity to the anchor.
- Attention pooling is applied to audio embeddings to better capture long-range structural dependencies in music signals.
- The framework supports zero-shot transfer by using class labels as text prompts during inference, without fine-tuning.
Experimental results
Research questions
- RQ1Can contrastive audio-language learning effectively align music audio with free-form natural language descriptions for cross-modal retrieval?
- RQ2How do data augmentation and loss weighting strategies impact the performance of audio-text retrieval in MusCALL?
- RQ3To what extent can MusCALL generalize to zero-shot downstream tasks like genre classification and auto-tagging?
- RQ4Does attention pooling improve retrieval performance compared to average pooling, especially for longer audio inputs?
- RQ5Can MusCALL outperform existing baselines in both text-to-audio and audio-to-text retrieval benchmarks?
Key findings
- MusCALL achieves an mAP of 25.9% on text-to-audio retrieval using the full configuration, significantly outperforming baseline methods.
- Random cropping contributes most to performance, with a 13.7% drop in mAP when removed, while audio augmentations have a smaller but measurable impact.
- The use of attention pooling improves retrieval performance by 4.9% on average compared to average pooling, especially benefiting longer audio inputs.
- Loss weighting improves the distribution of positive pair similarities, reducing variance and increasing mean similarity, though it does not yield significant gains in mAP.
- MusCALL generalizes effectively to zero-shot tasks, achieving competitive performance on genre classification and auto-tagging without fine-tuning.
- Qualitative analysis shows that even in failure cases, MusCALL retrieves semantically related tracks, indicating robustness to semantic variation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.