Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structure
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
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
- 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
- 2016SampleRNN: An Unconditional End-to-End Neural Audio Generation Modelcited by 110
- 2016Hierarchical Multiscale Recurrent Neural Networkscited by 102
- 2017MidiNet: A Convolutional Generative Adversarial Network for Symbolic-domain Music Generationcited by 72
- 2014A Clockwork RNNcited by 70
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
- 2018A Functional Taxonomy of Music Generation Systemscited by 31
- 2018MorpheuS: generating structured music with constrained patterns and tensioncited by 22
- 2017A Hierarchical Recurrent Neural Network for Symbolic Melody Generationcited by 14
- 2018From Context to Concept: Exploring Semantic Relationships in Music with Word2Veccited by 9
- 2016Imposing higher-level Structure in Polyphonic Music Generation using Convolutional Restricted Boltzmann Machines and Constraintscited by 7
2 more
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 2; 2024: 3; 2025: 2.
12 papers.
- 2023Video2Music: Suitable Music Generation from Videos using an Affective Multimodal Transformer modelcited by 37
- 2023The Ethical Implications of Generative Audio Models: A Systematic Literature Reviewcited by 18
- 2024Text2midi: Generating Symbolic Music from Captionscited by 18
- 2021Generating Lead Sheets with Affect: A Novel Conditional seq2seq Frameworkcited by 17
- 2022MusIAC: An extensible generative framework for Music Infilling Applications with multi-level Controlcited by 17
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2022Conditional Drums Generation using Compound Word Representationscited by 7
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignmentcited by 4
- 2025Aligning Generative Music AI with Human Preferences: Methods and Challengescited by 0
- 2025Aligning Generative Music AI with Human Preferences: Methods and Challenges19 Nov 2025
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignment19 May 2025
- 2024Text2midi: Generating Symbolic Music from Captions21 Dec 2024
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generation12 Mar 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2023Video2Music: Suitable Music Generation from Videos using an Affective Multimodal Transformer model2 Nov 2023
- 2023The Ethical Implications of Generative Audio Models: A Systematic Literature Review7 Jul 2023
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modeling2 Dec 2022
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networks30 Aug 2022
- 2022MusIAC: An extensible generative framework for Music Infilling Applications with multi-level Control11 Feb 2022
- 2022Conditional Drums Generation using Compound Word Representations9 Feb 2022
- 2021Generating Lead Sheets with Affect: A Novel Conditional seq2seq Framework27 Apr 2021