SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.03979 · 2025

Towards Unified Music Emotion Recognition across Dimensional and Categorical Models

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
AMAAI-Lab/Music2Emotion canonical 4 of 5
FunctionStatusWhere it lives
get_audio_paths Ran AMAAI-Lab/Music2Emotion/utils/mir_eval_modules.py
code served (permissive licence) · get_code("8504ad451d886c64")
get_lab_paths Ran AMAAI-Lab/Music2Emotion/utils/mir_eval_modules.py
code served (permissive licence) · get_code("561d8d0de9adaf3b")
normalize_chord Ran AMAAI-Lab/Music2Emotion/music2emo.py
code served (permissive licence) · get_code("e9f99ab48d5eb206")
sanitize_key_signature Ran AMAAI-Lab/Music2Emotion/music2emo.py
code served (permissive licence) · get_code("1fefbb553a9045c7")
gather_all_results Not yet run AMAAI-Lab/Music2Emotion/trainer.py
code served (permissive licence) · get_code("f9380e30c46b4699")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

One of the most significant challenges in Music Emotion Recognition (MER) comes from the fact that emotion labels can be heterogeneous across datasets with regard to the emotion representation, including categorical (e.g., happy, sad) versus dimensional labels (e.g., valence-arousal). In this paper, we present a unified multitask learning framework that combines these two types of labels and is thus able to be trained on multiple datasets. This framework uses an effective input representation that combines musical features (i.e., key and chords) and MERT embeddings. Moreover, knowledge distillation is employed to transfer the knowledge of teacher models trained on individual datasets to a student model, enhancing its ability to generalize across multiple tasks. To validate our proposed framework, we conducted extensive experiments on a variety of datasets, including MTG-Jamendo, DEAM, PMEmo, and EmoMusic. According to our experimental results, the inclusion of musical features, multitask learning, and knowledge distillation significantly enhances performance. In particular, our model outperforms the state-of-the-art models, including the best-performing model from the MediaEval 2021 competition on the MTG-Jamendo dataset. Our work makes a significant contribution to MER by allowing the combination of categorical and dimensional emotion labels in one unified framework, thus enabling training across datasets.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2502.03979")
get_code_for_paper("2502.03979")
have("2502.03979")

Connect an agent — have() is free.