Skip to main content
QUICK REVIEW

[Paper Review] A Novel Multi-Task Learning Method for Symbolic Music Emotion Recognition

Qiu Jibao, C. L. Philip Chen|arXiv (Cornell University)|Jan 15, 2022
Music and Audio ProcessingComputer Science9 citations
TL;DR

This paper proposes MT-SMNN, a novel multi-task learning framework for symbolic music emotion recognition (SMER) that jointly trains emotion recognition with key and velocity classification as auxiliary tasks. By leveraging intrinsic music structure—key signatures and velocity values—without requiring additional manual annotations, the method achieves state-of-the-art performance, improving accuracy by 4.17% on EMOPIA and 1.97% on VGMIDI.

ABSTRACT

Symbolic Music Emotion Recognition(SMER) is to predict music emotion from symbolic data, such as MIDI and MusicXML. Previous work mainly focused on learning better representation via (mask) language model pre-training but ignored the intrinsic structure of the music, which is extremely important to the emotional expression of music. In this paper, we present a simple multi-task framework for SMER, which incorporates the emotion recognition task with other emotion-related auxiliary tasks derived from the intrinsic structure of the music. The results show that our multi-task framework can be adapted to different models. Moreover, the labels of auxiliary tasks are easy to be obtained, which means our multi-task methods do not require manually annotated labels other than emotion. Conducting on two publicly available datasets (EMOPIA and VGMIDI), the experiments show that our methods perform better in SMER task. Specifically, accuracy has been increased by 4.17 absolute point to 67.58 in EMOPIA dataset, and 1.97 absolute point to 55.85 in VGMIDI dataset. Ablation studies also show the effectiveness of multi-task methods designed in this paper.

Motivation & Objective

  • Address the limitation of existing SMER methods that overlook music structural features critical to emotional expression.
  • Improve symbolic music emotion recognition by incorporating auxiliary tasks derived from intrinsic musical structure, such as key and velocity.
  • Develop a multi-task framework that requires only emotion labels for training, with auxiliary labels automatically extractable from symbolic music data.
  • Achieve state-of-the-art performance on public SMER benchmarks (EMOPIA and VGMIDI) using minimal additional parameters.
  • Establish a generalizable framework applicable to various pre-trained models for symbolic music representation.

Proposed method

  • Propose a multi-task learning framework, MT-SMNN, that jointly optimizes emotion recognition with two auxiliary tasks: key classification and velocity classification.
  • Use the Krumhansl-Kessler algorithm to automatically determine key signatures from symbolic music data, eliminating the need for manual labeling.
  • Extract velocity values directly from MIDI files as a proxy for loudness, leveraging known correlations between velocity and perceived loudness.
  • Integrate the auxiliary tasks into existing pre-trained models (e.g., MIDIBERT-Piano, MIDIGPT) by adding task-specific classifiers on shared representations.
  • Train the model end-to-end using a multi-task loss function combining cross-entropy losses for emotion, key, and velocity classification.
  • Apply early stopping and model checkpointing during training to prevent overfitting and ensure optimal performance.

Experimental results

Research questions

  • RQ1Can incorporating music structural features such as key and velocity improve symbolic music emotion recognition performance?
  • RQ2How do auxiliary tasks derived from intrinsic music structure affect the generalization and robustness of SMER models?
  • RQ3Does the proposed multi-task framework outperform single-task fine-tuning of pre-trained models on standard SMER benchmarks?
  • RQ4Is the improvement due to the multi-task learning mechanism or merely due to additional parameters?
  • RQ5Which auxiliary task—key classification or velocity classification—contributes more significantly to emotion recognition performance?

Key findings

  • The MT-SMNN framework achieves a new state-of-the-art accuracy of 67.58% on the EMOPIA dataset, representing a 4.17% absolute improvement over the previous SOTA.
  • On the VGMIDI dataset, the method achieves 55.85% accuracy, a 1.97% absolute improvement over the prior state-of-the-art.
  • Ablation studies confirm that both key and velocity classification tasks improve emotion recognition, with key classification contributing more significantly (3.6% gain) than velocity classification (1.3% gain).
  • The confusion matrix analysis shows that the framework particularly enhances classification performance in high valence categories (Q1: Happy, Q4: Calm), indicating improved sensitivity to positive emotions.
  • The performance gain is attributed to the multi-task learning mechanism rather than increased model capacity, as the additional classifiers add minimal parameters.
  • The framework is generalizable and can be applied to various pre-trained models (e.g., MIDIBERT-Piano, MIDIGPT) without architectural modification.

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.