Controlling Perceived Emotion in Symbolic Music Generation with Monte Carlo Tree Search
Not on the map. Why?
Abstract (arXiv)
This paper presents a new approach for controlling emotion in symbolic music generation with Monte Carlo Tree Search. We use Monte Carlo Tree Search as a decoding mechanism to steer the probability distribution learned by a language model towards a given emotion. At every step of the decoding process, we use Predictor Upper Confidence for Trees (PUCT) to search for sequences that maximize the average values of emotion and quality as given by an emotion classifier and a discriminator, respectively. We use a language model as PUCT's policy and a combination of the emotion classifier and the discriminator as its value function. To decode the next token in a piece of music, we sample from the distribution of node visits created during the search. We evaluate the quality of the generated samples with respect to human-composed pieces using a set of objective metrics computed directly from the generated samples. We also perform a user study to evaluate how human subjects perceive the generated samples' quality and emotion. We compare PUCT against Stochastic Bi-Objective Beam Search (SBBS) and Conditional Sampling (CS). Results suggest that PUCT outperforms SBBS and CS in almost all metrics of music quality and emotion.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 12 of its 33 references that are in the map. First posted on arXiv 10 Aug 2022.
Builds on
12 of 33 references.
References · 12
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2018Music Transformercited by 211
- 2017MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic Music Generation and Accompanimentcited by 151
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 110
- 2021EMOPIA: A Multi-Modal Pop Piano Dataset For Emotion Recognition and Emotion-based Music Generationcited by 53
- 2020MusPy: A Toolkit for Symbolic Music Generationcited by 37
- 2019Deep Music Analogy Via Latent Representation Disentanglementcited by 31
- 2021Learning to Generate Music With Sentimentcited by 29
- 2020Computer-Generated Music for Tabletop Role-Playing Gamescited by 23
- 2014Generating Music from Literaturecited by 6
- 2019On large-scale genre classification in symbolically encoded music by automatic identification of repeating patternscited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 6; 2024: 3; 2025: 1.
11 papers.
- 2023MuseCoco: Generating Symbolic Music from Textcited by 52
- 2023AI-Based Affective Music Generation Systems: A Review of Methods, and Challengescited by 9
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generationcited by 5
- 2024Emotion-driven Piano Music Generation via Two-stage Disentanglement and Functional Representationcited by 5
- 2024The NES Video-Music Database: A Dataset of Symbolic Video Game Music Paired with Gameplay Videoscited by 4
- 2023Emotion-Conditioned Melody Harmonization with Hierarchical Variational Autoencodercited by 2
- 2023Situated Natural Language Explanationscited by 2
- 2023EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation with the Musical Feature Templatecited by 1
- 2022Artificial ASMR: A Cyber-Psychological Approachcited by 0
- 2024Addressing Emotion Bias in Music Emotion Recognition and Generation with Frechet Audio Distancecited by 0
- 2025Explicit Tonal Tension Conditioning via Dual-Level Beam Search for Symbolic Music Generationcited by 0
- 2025Explicit Tonal Tension Conditioning via Dual-Level Beam Search for Symbolic Music Generation24 Nov 2025
- 2024Addressing Emotion Bias in Music Emotion Recognition and Generation with Frechet Audio Distance23 Sep 2024
- 2024Emotion-driven Piano Music Generation via Two-stage Disentanglement and Functional Representation30 Jul 2024
- 2024The NES Video-Music Database: A Dataset of Symbolic Video Game Music Paired with Gameplay Videos5 Apr 2024
- 2023EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation with the Musical Feature Template23 Sep 2023
- 2023Situated Natural Language Explanations27 Aug 2023
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generation3 Jul 2023
- 2023Emotion-Conditioned Melody Harmonization with Hierarchical Variational Autoencoder6 Jun 2023
- 2023MuseCoco: Generating Symbolic Music from Text31 May 2023
- 2023AI-Based Affective Music Generation Systems: A Review of Methods, and Challenges10 Jan 2023
- 2022Artificial ASMR: A Cyber-Psychological Approach25 Oct 2022