Skip to main content
QUICK REVIEW

[Paper Review] Exploiting Synchronized Lyrics And Vocal Features For Music Emotion Detection

Loreto Parisi, Simone Francia|arXiv (Cornell University)|Jan 15, 2019
Music and Audio ProcessingComputer Science6 citations
TL;DR

This paper introduces the Synchronized Lyrics Emotion Dataset and proposes a novel approach to music emotion recognition by leveraging temporally aligned lyrics and vocal features. Using a Wave-U-Net for vocal separation and comparing deep learning models on both text and audio, the study finds that using only vocal tracks improves audio-based emotion classification accuracy by 4 percentage points, while a Bilinear LSTM with fastText embeddings outperforms CNNs on lyrics-based classification.

ABSTRACT

One of the key points in music recommendation is authoring engaging playlists according to sentiment and emotions. While previous works were mostly based on audio for music discovery and playlists generation, we take advantage of our synchronized lyrics dataset to combine text representations and music features in a novel way; we therefore introduce the Synchronized Lyrics Emotion Dataset. Unlike other approaches that randomly exploited the audio samples and the whole text, our data is split according to the temporal information provided by the synchronization between lyrics and audio. This work shows a comparison between text-based and audio-based deep learning classification models using different techniques from Natural Language Processing and Music Information Retrieval domains. From the experiments on audio we conclude that using vocals only, instead of the whole audio data improves the overall performances of the audio classifier. In the lyrics experiments we exploit the state-of-the-art word representations applied to the main Deep Learning architectures available in literature. In our benchmarks the results show how the Bilinear LSTM classifier with Attention based on fastText word embedding performs better than the CNN applied on audio.

Motivation & Objective

  • To develop a new dataset that synchronizes lyrics with their corresponding audio segments for improved music emotion recognition.
  • To investigate whether combining lyrics and vocal features enhances emotion classification beyond using audio or text alone.
  • To evaluate the impact of using only vocal tracks versus full audio mixtures on emotion classification performance.
  • To compare various word embedding techniques and deep learning architectures for lyrics-based emotion classification.
  • To explore the effectiveness of contextual embeddings like BERT and ELMo in the context of music emotion recognition.

Proposed method

  • Constructed the Synchronized Lyrics Emotion Dataset by aligning lyric segments with their corresponding audio timestamps and assigning emotion labels.
  • Applied Wave-U-Net to separate vocal tracks from mixed audio, enabling isolation of vocal-only inputs for classification.
  • Trained a CNN on mel-spectrograms derived from both mixed audio and isolated vocal tracks for audio-based emotion classification.
  • Employed multiple word embedding techniques—fastText, ELMo, and BERT—combined with deep learning models (LSTM, BiLSTM, CNN) for lyrics-based emotion classification.
  • Used sample weighting during training to address class imbalance in the emotion label distribution.
  • Evaluated models using precision, recall, and F1-score, with confusion matrices to analyze per-class performance.

Experimental results

Research questions

  • RQ1Does using only vocal tracks instead of full audio mixtures improve music emotion classification performance?
  • RQ2Which word embedding technique (fastText, ELMo, BERT) yields the best performance for lyrics-based emotion classification?
  • RQ3How do different deep learning architectures (LSTM, CNN, Bilinear LSTM) compare in classifying emotions from lyrics?
  • RQ4Can contextual embeddings like BERT be effectively applied to music lyrics for emotion recognition, or do they underperform on this task?
  • RQ5How does the synchronization between lyrics and audio improve the temporal alignment and performance of emotion recognition models?

Key findings

  • Using only vocal tracks as input to the CNN improved the overall F1-score from 32% (mixed audio) to 36% (vocals only), indicating a significant performance gain.
  • The Bilinear LSTM classifier with fastText word embeddings achieved the highest F1-score among all lyrics-based models, outperforming CNNs.
  • The precision, recall, and F1-score for sadness were the highest across all emotion classes, with F1 reaching 41.12% in the mixed audio experiment and 42.12% in the vocals-only experiment.
  • BERT-based models underperformed compared to fastText and ELMo, suggesting that contextual embeddings may not yet be optimal for this specific music emotion classification task.
  • The confusion matrix revealed that anger and fear were the most misclassified emotions, especially in the mixed audio setup, with low precision and recall values.
  • The dataset showed significant class imbalance, with sadness appearing in 43.9% of samples and disgust in only 2.1%, leading to the exclusion of the latter for training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.