[Paper Review] Metric Learning vs Classification for Disentangled Music Representation Learning
This paper proposes a unified framework comparing metric learning and classification for disentangled music representation learning on multi-label music data. By integrating disentanglement and normalization, the authors show that classification-based models outperform metric learning across most tasks—especially auto-tagging—achieving state-of-the-art performance, while metric learning excels in triplet prediction due to its inherent design for similarity triplets.
Deep representation learning offers a powerful paradigm for mapping input data onto an organized embedding space and is useful for many music information retrieval tasks. Two central methods for representation learning include deep metric learning and classification, both having the same goal of learning a representation that can generalize well across tasks. Along with generalization, the emerging concept of disentangled representations is also of great interest, where multiple semantic concepts (e.g., genre, mood, instrumentation) are learned jointly but remain separable in the learned representation space. In this paper we present a single representation learning framework that elucidates the relationship between metric learning, classification, and disentanglement in a holistic manner. For this, we (1) outline past work on the relationship between metric learning and classification, (2) extend this relationship to multi-label data by exploring three different learning approaches and their disentangled versions, and (3) evaluate all models on four tasks (training time, similarity retrieval, auto-tagging, and triplet prediction). We find that classification-based models are generally advantageous for training time, similarity retrieval, and auto-tagging, while deep metric learning exhibits better performance for triplet-prediction. Finally, we show that our proposed approach yields state-of-the-art results for music auto-tagging.
Motivation & Objective
- To investigate the relationship between metric learning and classification in the context of disentangled music representation learning.
- To extend this relationship to multi-label music data, where multiple semantic concepts (e.g., genre, mood, instrumentation) co-occur.
- To evaluate both paradigms under disentangled representation learning for downstream tasks like retrieval, auto-tagging, and triplet prediction.
- To determine whether classification-based models, when enhanced with normalization and disentanglement, can outperform metric learning in real-world music applications.
Proposed method
- Propose a unified framework that applies disentanglement to three learning paradigms: triplet-based metric learning, proxy-based metric learning, and classification-based learning.
- Use a shared encoder network to extract embeddings, with separate subspaces for each semantic concept (e.g., genre, mood) to enable disentanglement.
- Apply normalization layers to classification-based models to improve similarity-based retrieval performance.
- Train models using multi-label supervision, where each song is associated with multiple tags, and use these labels to guide both metric and classification objectives.
- Use proxy-based training to accelerate metric learning by replacing pairwise comparisons with comparisons to class centroids.
- Evaluate models using four tasks: training time, similarity retrieval, auto-tagging, and triplet prediction, with ablation studies on normalization and disentanglement.
Experimental results
Research questions
- RQ1How do metric learning and classification-based representation learning compare in terms of performance and efficiency when applied to multi-label music data?
- RQ2Can disentangled representations improve the generalization of both metric learning and classification-based models across diverse music retrieval tasks?
- RQ3Does the inclusion of normalization in classification-based models enhance their performance on similarity-based retrieval tasks?
- RQ4Is triplet prediction a reliable proxy for real-world music retrieval performance, or do models optimized for it underperform on downstream tasks?
- RQ5Can a unified framework effectively compare and contrast the strengths of metric learning and classification in the context of disentangled music representation?
Key findings
- Classification-based models with normalization and disentanglement achieve state-of-the-art performance on music auto-tagging, outperforming all prior baselines.
- Classification-based models significantly outperform triplet-based metric learning in training time, similarity retrieval, and auto-tagging tasks.
- Triplet-based models perform best on triplet prediction, particularly when using track regularization, confirming their strength in this specific benchmark.
- The proxy-based and classification-based models show superior performance across all tasks except triplet prediction, due to their use of full multi-label supervision during training.
- Qualitative t-SNE visualization confirms that disentangled representations allow for meaningful clustering along specific semantic dimensions (e.g., female vocals, instrumentation), validating the disentanglement property.
- The study demonstrates that proxy-based training is theoretically and empirically equivalent to classification-based learning under certain conditions, reinforcing the link between the two paradigms.
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.