TL;DR
This paper explores using clustering to automatically group similar or dissimilar music mood/theme labels for ensemble machine learning. While their clustering-based ensemble approach showed some promise, particularly with VGG models, it didn't consistently outperform simpler baseline methods on the MediaEval 2021 task.
What Problem Does This Paper Address?
The MediaEval 2021 "Emotions and Themes in Music" task challenges researchers to assign one or more of 56 mood and theme labels to music tracks based on their audio properties. A key difficulty is the multi-label nature of the problem, where songs can have multiple tags. Last year, the authors found success using ensemble methods where different neural networks were trained on distinct subsets of labels. This year, they aim to improve upon this by automatically generating these label subsets using clustering, hypothesizing that grouping similar or dissimilar labels could lead to more effective ensembles than manual or linear splits.
Methods
The core of this work lies in their ensemble approach and the novel method for generating label partitions.
- Ensemble Strategy: Instead of training a single model on all 56 labels, they train multiple models, each responsible for a disjoint subset of labels. The final prediction is a combination of these individual model outputs.
- Neural Network Architectures: They experimented with two architectures: a VGG model and a ResNet-18 model, both common choices for audio classification.
- Label Partitioning (The Novelty):
- k-means Clustering: To group similar labels, they used the standard k-means algorithm. They mapped each label to a vector representation by computing the centroid of feature vectors (extracted using Essentia) of songs assigned that label. The elbow method was used to determine the optimal number of clusters (k=4).
- dk-means (Dissimilar k-means): To group dissimilar labels, they proposed a custom algorithm. It starts with random seeds and iteratively adds the point (label) furthest from the current cluster centroid to that cluster, aiming to create maximally separated groups.
- Data Preprocessing: Mel-spectrograms of equal length (1366 from the center of each song) were extracted for the neural network models, following prior work.
Datasets
- MTG-Jamendo Dataset: This is the primary dataset used for training and evaluation, as provided for the MediaEval 2021 task. It contains audio tracks annotated with mood and theme labels.
Key Insights and Ideas
- Clustering Similar Labels Can Help (Sometimes): For VGG models, using k-means clustering to group similar labels led to a noticeable improvement in PR-AUC compared to linear splits, suggesting that specialized models for related concepts can be beneficial.
- Dissimilar Clustering Didn't Pay Off: The custom "dk-means" algorithm, designed to group dissimilar labels, did not yield performance improvements over linear splits for either VGG or ResNet-18 models.
- Model Architecture Matters: The effectiveness of clustering seemed to depend on the underlying neural network. VGG models benefited more from the clustering approach than ResNet-18 models, which performed better with simpler linear splits.
- Ensembling Doesn't Guarantee Improvement Over Baselines: Despite the ensemble strategy and novel partitioning methods, their submitted runs generally performed at or slightly below the single-model baselines, indicating that the ensemble setup might not have been optimally configured or that the label partitioning wasn't sufficiently advantageous.
Key Results
The paper reports performance using ROC-AUC, PR-AUC, F1 (micro), and F1 (macro) metrics.
- The best performing submitted run (Run #2: k-means clustering with ResNet-18) achieved a PR-AUC of 0.091.
- The best PR-AUC achieved by any of their submitted runs was 0.109 (Run #4: k-means clustering and VGG models), which was slightly better than the baseline PR-AUC of 0.097 for the VGG linear split.
- However, the single-model baselines (resnet18_all and vgg_all) achieved ROC-AUC scores of 0.715 and 0.707 respectively, and F1 (micro) scores of 0.107 and 0.107. Their ensemble approaches generally did not surpass these baseline F1 scores.
Limitations and Future Work
- Limitations:
- The ensemble approach, while conceptually sound, did not consistently outperform single-model baselines, suggesting potential issues with label partitioning or ensemble combination.
- The "dk-means" algorithm for dissimilar clustering did not prove effective.
- Future Work:
- Combine Past Approaches: Integrate their previous work on random sampling for data augmentation and generating more balanced datasets with the current clustering-based ensemble.
- Overlapping Label Sets: Explore using overlapping label sets in the ensemble, as training on disjoint subsets seemed to lead to performance degradation. This could allow models to learn more nuanced relationships between labels.
Summary updated