[Paper Review] Large-Scale Music Annotation and Retrieval: Learning to Rank in Joint Semantic Spaces
This paper proposes Muslse, a multi-task learning framework that jointly embeds audio, artist names, and tags into a shared low-dimensional semantic space for large-scale music annotation and retrieval. By optimizing for precision@k across multiple tasks simultaneously, the model achieves superior performance, faster inference, and lower memory usage than baselines like one-vs-rest and cosine similarity, especially on sparse data.
Music prediction tasks range from predicting tags given a song or clip of audio, predicting the name of the artist, or predicting related songs given a song, clip, artist name or tag. That is, we are interested in every semantic relationship between the different musical concepts in our database. In realistically sized databases, the number of songs is measured in the hundreds of thousands or more, and the number of artists in the tens of thousands or more, providing a considerable challenge to standard machine learning techniques. In this work, we propose a method that scales to such datasets which attempts to capture the semantic similarities between the database items by modeling audio, artist names, and tags in a single low-dimensional semantic space. This choice of space is learnt by optimizing the set of prediction tasks of interest jointly using multi-task learning. Our method both outperforms baseline methods and, in comparison to them, is faster and consumes less memory. We then demonstrate how our method learns an interpretable model, where the semantic space captures well the similarities of interest.
Motivation & Objective
- Address the challenge of data sparsity in large-scale music databases, where many artists and songs have limited user-provided labels (e.g., tags, ratings).
- Develop a unified model that can jointly solve diverse music retrieval and annotation tasks—such as artist prediction, song recommendation, and tag prediction—using a single shared embedding space.
- Improve model generalization and performance on low-resource (tail) items by leveraging multi-task learning across related semantic tasks.
- Design a lightweight, scalable model with low memory and fast inference to enable real-time deployment in production music systems.
Proposed method
- Learn a joint low-dimensional embedding space (dimension d) where audio features, artist names, and tags are mapped using shared model parameters.
- Train the model via multi-task learning, optimizing for precision@k across multiple tasks (e.g., artist prediction, similar songs) using a margin-based ranking objective.
- Use a recently developed embedding algorithm (from vision) adapted to music, where each entity (audio, tag, artist) is represented as a vector in the shared space.
- Optimize the embedding parameters to minimize ranking loss, ensuring that semantically similar items (e.g., a song and its correct tag) are close in the embedding space.
- Apply feature engineering using MFCC and SAI (spectral audio features) to represent audio input, and use sparse representations for tags and artists.
- Balance model capacity via low-dimensional embeddings (d=100–800) to reduce overfitting on sparse data while maintaining high performance.
Experimental results
Research questions
- RQ1Can a single, unified embedding space effectively model semantic relationships across diverse music entities (audio, tags, artists) in large-scale datasets?
- RQ2Does multi-task learning across music annotation and retrieval tasks improve performance compared to training each task in isolation?
- RQ3Can a low-capacity embedding model generalize well to sparse data (e.g., obscure artists or songs with no tags) by sharing representations across tasks?
- RQ4How does the proposed method compare to standard baselines (e.g., one-vs-rest, cosine similarity) in terms of precision@k, inference speed, and memory efficiency?
Key findings
- Muslse outperforms one-vs-rest and cosine similarity baselines on all tasks, achieving a precision@1 of 0.1110 for artist prediction and 0.0940 for song prediction on the Big-data set.
- Multi-task training improves performance across all tasks: precision@1 for artist prediction increases from 0.0958 (single task) to 0.1110 (joint training), and similar gains are seen in other tasks.
- The model achieves a 45x speedup in inference time (0.045s vs. 2.007s) and reduces memory usage from 1.85 GB to 27.7 MB on the Big-data set compared to one-vs-rest.
- Increasing the embedding dimension (d) from 100 to 800 improves performance on TagATune, with precision@15 rising from 0.153 (d=100) to 0.181 (d=800) for MFCC+SAI features.
- The learned embedding space captures meaningful semantic structure: semantically similar entities (e.g., 'synth' and 'electronic' tags) are found close together in the vector space.
- Using MFCC+SAI features instead of MFCC alone improves precision@15 by 28% (from 0.153 to 0.181) when d=800, indicating that richer audio features enhance representation quality.
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.