Manuscript Offprint

arXiv:2611.08966

Concordance-Optimal Continuous Music Emotion Estimation: Variance Decomposition, Dual-Branch Temporal Fusion, and Conformal Prediction Intervals

Mohammad Faraz Akhtar, Aditya Parashar, Ayush Jain, Madhur Gupta, Ritesh Kumar, Soubhik Chakraborty

Abstract

Continuous music emotion recognition (MER) estimates how Arousal and Valence evolve within a song, yet the field’s standard metric, pooled frame-level correlation, is dominated by between-song differences and cannot distinguish a model that tracks emotional dynamics from one that only ranks songs by their average level. We decompose annotation variance into between- and within-song components and show that mean squared error (MSE) targets the former, while windowed Lin’s concordance correlation coefficient (CCC=r⋅CbCCC = r \cdot C_b) targets the latter by penalising the variance compression MSE induces. A single weight λ\lambda controls the trade-off: on 1,764 DEAM songs, raising λ\lambda from 0 to 1 lowers pooled Arousal rr from 0.843 to 0.810 while raising mean within-song rr from 0.204 to 0.368.

Building on this objective, we present MMAS (Multimodal Music Analysis System), an open-source model that predicts Arousal and Valence every 0.5 s from raw audio. It fuses frozen MERT-v1-95M embeddings with ten symbolic features from automatic transcription through a dual-branch temporal convolutional network with cross-modal attention. Because both branches are audio-derived, one model trains jointly on DEAM and PMEmo without domain conditioning. Under song-grouped 5-fold cross-validation (2,531 songs), pooled rr reaches 0.801/0.685 (Arousal/Valence) on DEAM and 0.742/0.746 on PMEmo. Against a ridge baseline on identical features, within-song Arousal rr roughly triples (0.344 vs. 0.125; n=353n = 353 songs, Wilcoxon p=1.7×10−21p = 1.7 \times 10^{-21}, d=0.56d = 0.56). Complete transcription failure costs at most 0.04 pooled rr. Split-conformal intervals attain 93.7 % (Arousal) and 90.0 % (Valence) marginal coverage at a 95 % target, with the shortfall traced to within-song dependence. MMAS is released as a pip-installable package.

Keywords: music emotion recognition; continuous/dynamic annotation; concordance correlation coefficient; variance decomposition; conformal prediction; temporal convolutional networks.

1 Introduction

Music emotion recognition (MER) is a core problem in Music Information Retrieval (MIR), with applications in playlist generation, affective computing, human-computer interaction, and music-psychology research [19, 21]. In the continuous (dynamic) formulation, the task is to predict time-varying Arousal and Valence aligned with per-second human annotations, capturing how a song moves rather than a single summary label. A recent meta-analysis of a decade of MER studies places the accuracy ceiling of the field's best models at arousal r≈0.81r \approx 0.81 and valence r≈0.67r \approx 0.67 [5], and recent surveys highlight multimodality and temporal modelling as the two most promising directions [15, 11].

The continuous formulation carries a statistical subtlety that the field's reporting conventions largely obscure, and which motivates this paper. Annotations are nested: each song contributes many frames, and the total variance of a corpus of annotations therefore splits into variation between songs, since songs differ in overall emotional level, and variation within songs, since emotion moves over time. These are different estimands, they are optimised by different loss functions, and the pooled correlation almost universally reported in this literature is dominated by whichever component is larger, which in practice is the between-song one. A model that predicts each song's mean level and nothing else can therefore post an excellent pooled correlation while tracking no dynamics whatsoever. Since the entire premise of continuous MER is that dynamics are the object of interest, this is a substantive measurement problem rather than a technicality. We make the decomposition explicit (Section 5.1), show which loss term optimises which component, and demonstrate empirically that a single hyperparameter moves a model between the two regimes while the features and the data are held fixed.

Turning to the modelling side, most MER systems predict emotion primarily from hand-crafted acoustic features such as spectral statistics, MFCCs, and energy measures [21]. These capture surface-level loudness and timbre but under-exploit symbolic musical properties (harmony, rhythm, melodic contour) that are known to predict perceived valence [6]. Transformer-based self-supervised models such as MERT [13], pre-trained on roughly 160 K hours of music, provide much richer acoustic representations, yet to our knowledge no released system combines pre-trained acoustic embeddings with symbolic MIDI-derived features and temporal cross-modal fusion in a single portable model. MMAS addresses this gap with a deliberately portable design: both feature branches are extracted from raw audio, so the same model trains and evaluates across datasets with different recording conditions and annotation protocols, without dataset-specific descriptors or a learned domain indicator.

References (25)