Abstract
Traditional music classification systems are often limited to a fixed set of genres or tags. This paper presents a zero-shot learning (ZSL) framework that enables models to classify audio into categories never encountered during training. By projecting audio features and semantic label information—such as instrument attributes or word embeddings—into a shared multidimensional space, the system can generalize to "unseen" labels and handle arbitrary user queries with high accuracy.
Introduction
Most contemporary music recommendation and tagging systems operate under a "closed-set" assumption. A model trained on 50 specific genres typically fails when encountering a 51st, such as a niche sub-genre or a subjective "vibe" keyword like "ethereal." This limitation hinders music retrieval in a landscape where new genres emerge constantly and user queries are highly varied.
To address this, the authors apply Zero-Shot Learning (ZSL) to the audio domain. ZSL facilitates the transfer of knowledge from seen categories to unseen ones by utilizing "side information"—semantic descriptions that define the relationships between different labels.
Methodology
The core of the proposed approach is a Deep Embedding Model designed to project both audio signals and textual labels into a joint mathematical space.
Model Components
- Audio Module: A Convolutional Neural Network (CNN) processes mel-spectrograms to generate high-dimensional "audio embeddings."
- Semantic Module: This module converts label-related "side information" into "semantic embeddings." Two types were evaluated: human-labeled instrument attributes and general word semantics using pre-trained GloVe vectors.
- Joint Embedding Space: The model is trained using a max-margin hinge loss. This objective ensures that the audio embedding of a specific track is closer to its corresponding semantic label vector than to unrelated ones.
Experimental Setup
The study utilized several benchmark datasets: the Free Music Archive (FMA) and OpenMIC-2018 for instrument-attribute experiments, and the Million Song Dataset (MSD) with Last.fm tags for general semantic experiments.
Data Split Scheme
A significant contribution is the development of a rigorous data split scheme for multi-label audio data. Because a single track often carries multiple tags—some seen and some unseen—the authors partitioned the data into three subsets:
- Subset A: Instances with only seen labels.
- Subset B: Instances with both seen and unseen labels.
- Subset C: Instances with only unseen labels.
This partitioning allows for a nuanced evaluation of how the model generalizes when encountering partially or entirely novel label combinations.
Results and Discussion
The researchers found that including Subset B (instances with mixed labels) during training significantly improved performance on unseen tasks. This suggests that co-occurrence with known labels provides vital context for learning new ones.
Furthermore, the deep embedding model outperformed traditional classifiers even on seen labels. This indicates that incorporating the semantic "meaning" of a label via word vectors is more robust than treating labels as independent identifiers. While general word embeddings like GloVe are effective, the model successfully adapted them to the musical context; for instance, correctly associating "bass" with "guitar" rather than its non-musical homonyms.
Performance Metrics
On the FMA dataset, the model achieved an Area Under the ROC Curve (AUC-i) of up to 0.92 for zero-shot tasks. Qualitative analysis showed the model could accurately tag tracks like Nirvana’s "Smells Like Teen Spirit" with "classicrock" and "punk" despite these tags being absent from the training set. In retrieval tasks, a query for "lovely" successfully returned tracks tagged with "50s" and "jazz," demonstrating an ability to capture the underlying "vibe" of a search term.
Conclusion
While successful, the authors noted that variations in label cardinality across datasets can influence results. Future work will explore using lyrics as a richer source of side information and training language models on music-specific corpora to better capture the nuances of musical sub-cultures and genres.
Summary updated