mlsanityData to 7 Oct 2026

Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structure

arXiv 2102.09794 ↗First posted 19 Feb 2021cs.SD cs.LG eess.AScited by 12

Not on the map. Why?

Abstract (arXiv)

The rise of deep learning technologies has quickly advanced many fields, including that of generative music systems. There exist a number of systems that allow for the generation of good sounding short snippets, yet, these generated snippets often lack an overarching, longer-term structure. In this work, we propose CM-HRNN: a conditional melody generation model based on a hierarchical recurrent neural network. This model allows us to generate melodies with long-term structures based on given chord accompaniments. We also propose a novel, concise event-based representation to encode musical lead sheets while retaining the notes' relative position within the bar with respect to the musical meter. With this new data representation, the proposed architecture can simultaneously model the rhythmic, as well as the pitch structures in an effective way. Melodies generated by the proposed model were extensively evaluated in quantitative experiments as well as a user study to ensure the musical quality of the output as well as to evaluate if they contain repeating patterns. We also compared the system with the state-of-the-art AttentionRNN. This comparison shows that melodies generated by CM-HRNN contain more repeated patterns (i.e., higher compression ratio) and a lower tonal tension (i.e., more tonally concise). Results from our listening test indicate that CM-HRNN outperforms AttentionRNN in terms of long-term structure and overall rating.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 19 Feb 2021.

Builds on

14 of 34 references.

References · 14

  1. 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
  2. 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
  3. 2016SampleRNN: An Unconditional End-to-End Neural Audio Generation Modelcited by 110
  4. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 102
  5. 2017MidiNet: A Convolutional Generative Adversarial Network for Symbolic-domain Music Generationcited by 72
  6. 2014A Clockwork RNNcited by 70
  7. 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
  8. 2018A Functional Taxonomy of Music Generation Systemscited by 31
  9. 2018MorpheuS: generating structured music with constrained patterns and tensioncited by 22
  10. 2017A Hierarchical Recurrent Neural Network for Symbolic Melody Generationcited by 14
  11. 2018From Context to Concept: Exploring Semantic Relationships in Music with Word2Veccited by 9
  12. 2016Imposing higher-level Structure in Polyphonic Music Generation using Convolutional Restricted Boltzmann Machines and Constraintscited by 7
2 more
  1. 2016Algorithmic Composition of Melodies with Deep Recurrent Neural Networkscited by 4
  2. 2020MTCRNN: A multi-scale RNN for directed audio texture synthesiscited by 1

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 4; 2023: 2; 2024: 3; 2025: 2.

12 papers.