Structure-informed Positional Encoding for Music Generation
Not on the map. Why?
Abstract (arXiv)
Music generated by deep learning methods often suffers from a lack of coherence and long-term organization. Yet, multi-scale hierarchical structure is a distinctive feature of music signals. To leverage this information, we propose a structure-informed positional encoding framework for music generation with Transformers. We design three variants in terms of absolute, relative and non-stationary positional information. We comprehensively test them on two symbolic music generation tasks: next-timestep prediction and accompaniment generation. As a comparison, we choose multiple baselines from the literature and demonstrate the merits of our methods using several musically-motivated evaluation metrics. In particular, our methods improve the melodic and structural consistency of the generated pieces.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 19 of its 26 references that are in the map. First posted on arXiv 20 Feb 2024.
Builds on
19 of 26 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2020Efficient Transformers: A Surveycited by 784
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
- 2018Music Transformercited by 207
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2020POP909: A Pop-song Dataset for Music Arrangement Generationcited by 83
- 2020PopMAG: Pop Music Accompaniment Generationcited by 68
- 2020The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measurescited by 53
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
7 more
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2021Allocating Large Vocabulary Capacity for Cross-lingual Language Model Pre-trainingcited by 22
- 2020Automatic Analysis and Influence of Hierarchical Structure on Melody, Rhythm and Harmony in Popular Musiccited by 21
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2021Which transformer architecture fits my data? A vocabulary bottleneck in self-attentioncited by 16
- 2019How Large a Vocabulary Does Text Classification Need? A Variational Approach to Vocabulary Selectioncited by 11
- 2023Learning a Fourier Transform for Linear Relative Positional Encodings in Transformerscited by 10
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025F-StrIPE: Fast Structure-Informed Positional Encoding for Symbolic Music Generationcited by 2
- 2025Diffusion-based Symbolic Music Generation with Structured State Space Modelscited by 2
- 2025Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generationcited by 0
- 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharingcited by 0
- 2026Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generationcited by 0
- 2026Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generation28 Feb 2026
- 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharing1 Oct 2025
- 2025Diffusion-based Symbolic Music Generation with Structured State Space Models27 Jul 2025
- 2025Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generation7 Apr 2025
- 2025F-StrIPE: Fast Structure-Informed Positional Encoding for Symbolic Music Generation14 Feb 2025