TL;DR
This paper introduces a novel deep learning architecture for cross-modal music retrieval, enabling users to search for lyrics using audio snippets and vice-versa. By learning the temporal correlations between audio and lyrics, their method significantly improves retrieval accuracy compared to existing approaches.
What Problem Does This Paper Address?
Music is a rich multimodal experience, with audio and lyrics offering complementary information. However, effectively searching for music based on one modality (e.g., audio) when you only have information about the other (e.g., lyrics) has been a significant challenge. Existing cross-modal retrieval methods often struggle to capture the temporal dynamics inherent in both music and language. This paper addresses the gap in research by proposing a method that explicitly models the sequential correlation between audio and lyrics, aiming to enable more intuitive and effective music retrieval.
Methods
The core of the proposed solution is a Deep Cross-Modal Correlation Learning architecture. This architecture employs a two-branch neural network: one for processing audio and another for lyrics.
- Lyrics Branch: Utilizes a pre-trained Doc2vec model to generate compact textual feature vectors.
- Audio Branch: Explores two approaches:
- Separate Feature Extraction: Uses a pre-trained Convolutional Neural Network (CNN) to extract audio features, followed by fully-connected layers.
- End-to-End Training: A more integrated approach where a CNN is trained from scratch alongside the correlation learning component. This allows the CNN to learn audio features that are specifically optimized for cross-modal correlation.
- Cross-Modal Correlation: Both branches' features are mapped to a shared latent space. Deep Canonical Correlation Analysis (DCCA) is then employed as the objective function to maximize the correlation between these shared representations, effectively learning the temporal alignment between audio and lyrics. DCCA is chosen over traditional CCA because it can model non-linear relationships between modalities.
Datasets
The authors created a new dataset for their experiments:
- Audio-Lyrics Dataset: Consists of 10,000 pairs of audio and lyrics. Audio snippets (30 seconds) were sourced from YouTube, and lyrics were obtained from Musixmatch. The dataset was curated using Spotify's API, focusing on 20 mood categories to facilitate both instance-level and category-level retrieval tasks.
Key Insights and Ideas
- Temporal Structure is Crucial: The paper strongly emphasizes that simply learning joint representations isn't enough; capturing the temporal relationship between audio and lyrics is key to effective cross-modal retrieval.
- End-to-End Learning for Audio: Training the audio feature extractor (CNN) jointly with the DCCA objective significantly boosts performance, suggesting that audio features learned specifically for cross-modal correlation are more effective.
- DCCA Outperforms CCA: The use of DCCA, which handles non-linear relationships, leads to substantial improvements over traditional linear CCA-based methods.
- Lyrics as a Rich Source: While audio features are complex, lyrics provide a direct semantic link that, when properly correlated with audio, unlocks powerful retrieval capabilities.
Key Results
The proposed JointTrain-DCCA method, which trains the audio CNN end-to-end with DCCA, consistently outperformed baseline methods across various configurations.
- Instance-Level Retrieval: Achieved the highest Mean Reciprocal Rank (MRR1) scores, indicating better ranking of relevant results. For example, with 30 CCA components, JointTrain-DCCA achieved an MRR1 of 0.256 when searching lyrics with audio, and 0.256 when searching audio with lyrics. This significantly surpasses methods like Spotify-CCA (MRR1 ~0.034) and PretrainCNN-CCA (MRR1 ~0.054).
- Category-Level Retrieval: Similar improvements were observed in category-level retrieval, with JointTrain-DCCA achieving an MRR1 of 0.374 (audio to lyrics) and 0.375 (lyrics to audio) with 100 components.
- Robustness: The end-to-end trained model showed less sensitivity to the number of CCA components and training samples compared to other methods.
Limitations and Future Work
- Dataset Size: While the authors created a new dataset, they acknowledge that collecting more audio-lyrics pairs would further improve retrieval performance.
- Lyrics Branch Complexity: The current work primarily focuses on improving the audio branch and uses a pre-trained Doc2vec for lyrics. Future work could explore more sophisticated deep learning models for processing the hierarchical structure of lyrics (e.g., verses, choruses, bridges) using architectures like LSTMs.
- Personalized Recommendation: The authors suggest integrating different music modalities to build personalized music recommendation systems.
Summary updated