Lune

AAAI2024Top-tier venue

MusER: Musical Element-Based Regularization for Generating Symbolic Music with Emotion

Shulei Ji, Xinyu Yang

Abstract

Generating music with emotion is an important task in automatic music generation, in which emotion is evoked through a variety of musical elements (such as pitch and duration) that change over time and collaborate with each other. However, prior research on deep learning-based emotional music generation has rarely explored the contribution of different musical elements to emotions, let alone the deliberate manipulation of these elements to alter the emotion of music, which is not conducive to fine-grained element-level control over emotions. To address this gap, we present a novel approach employing musical element-based regularization in the latent space to disentangle distinct elements, investigate their roles in distinguishing emotions, and further manipulate elements to alter musical emotions. Specifically, we propose a novel VQ-VAE-based model named MusER. MusER incorporates a regularization loss to enforce the correspondence between the musical element sequences and the specific dimensions of latent variable sequences, providing a new solution for disentangling discrete sequences. Taking advantage of the disentangled latent vectors, a two-level decoding strategy that includes multiple decoders attending to latent vectors with different semantics is devised to better predict the elements. By visualizing latent space, we conclude that MusER yields a disentangled and interpretable latent space and gain insights into the contribution of distinct elements to the emotional dimensions (i.e., arousal and valence). Experimental results demonstrate that MusER outperforms the state-of-the-art models for generating emotional music in both objective and subjective evaluation. Besides, we rearrange music through element transfer and attempt to alter the emotion of music by transferring emotion-distinguishable elements.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs cites Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
  • Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs cites The Curious Case of Neural Text Degeneration
  • Is Symbolic Music a Specific Language? Exploring Inspiration-to-Structure Machine Composition via LLMs cites Compose with Me: Collaborative Music Inpainter for Symbolic Music Infilling
  • Is Symbolic Music a Specific Language? Exploring Inspiration-to-Structure Machine Composition via LLMs cites Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Personalized Dynamic Music Emotion Recognition with Dual-Scale Attention-Based Meta-LearningDengming Zhang, Weitao You, Ziheng Liu, Lingyun Sun et al.AAAI 2025 · 2 citations
  2. Compose with Me: Collaborative Music Inpainter for Symbolic Music InfillingZhejing Hu, Yan Liu, Gong Chen, Bruce X. B. YuAAAI 2025 · 2 citations
  3. Is Symbolic Music a Specific Language? Exploring Inspiration-to-Structure Machine Composition via LLMsZhejing Hu, Yan Liu, Zhi Zhang, Aiwei Zhang et al.AAAI 2026

Builds on4

  1. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  2. Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
  3. Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed HypergraphsWen-Yi Hsiao, Jen-Yu Liu, Yin-Cheng Yeh, Yi-Hsuan YangAAAI 2021 · 242 citations
  4. PopMAG: Pop Music Accompaniment GenerationYi Ren, Jinzheng He, Xu Tan, Tao Qin et al.ACM MM 2020 · 91 citations

Related papers

  1. Causal Discovery Inspired Unsupervised Domain Adaptation for Emotion-Cause Pair ExtractionYuncheng Hua, Yujin Huang, Shuo Huang, Tao Feng et al.EMNLP Findings 2024 · 3 citations
  2. Emotion-Based End-to-End Matching Between Image and Music in Valence-Arousal SpaceSicheng Zhao, Yaxian Li, Xingxu Yao, Weizhi Nie et al.ACM MM 2020 · 30 citations
  3. Music2Palette: Emotion-aligned Color Palette Generation via Cross-Modal Representation LearningJiayun Hu, Yueyi He, Tianyi Liang, Changbo Wang et al.ACM MM 2025 · 2 citations
  4. Sera: Separated Coarse-to-fine Representation Alignment for Cross-subject EEG-based Emotion RecognitionZhihao Jia, Meiyan Xu, Jingyuan Wang, Ziyu Jia et al.ACM MM 2025 · 2 citations
  5. Is Discourse Role Important for Emotion Recognition in Conversation?Donovan Ong, Jian Su, Bin Chen, Anh Tuan Luu et al.AAAI 2022 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines