Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generation
Not on the map. Why?
Abstract (arXiv)
While music remains a challenging domain for generative models like Transformers, a two-pronged approach has recently proved successful: inserting musically-relevant structural information into the positional encoding (PE) module and using kernel approximation techniques based on Random Fourier Features (RFF) to lower the computational cost from quadratic to linear. Yet, it is not clear how such RFF-based efficient PEs compare with those based on rotation matrices, such as Rotary Positional Encoding (RoPE). In this paper, we present a unified framework based on kernel methods to analyze both families of efficient PEs. We use this framework to develop a novel PE method called RoPEPool, capable of extracting causal relationships from temporal sequences. Using RFF-based PEs and rotation-based PEs, we demonstrate how seemingly disparate PEs can be jointly studied by considering the content-context interactions they induce. For empirical validation, we use a symbolic music generation task, namely, melody harmonization. We show that RoPEPool, combined with highly-informative structural priors, outperforms all methods.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 48 references that are in the map. First posted on arXiv 7 Apr 2025.
Builds on
36 of 48 references.
References · 36
- 2017Attention Is All You Needcited by 60,361
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Rethinking Attention with Performerscited by 1,601
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2020Efficient Transformers: A Surveycited by 790
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
24 more
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 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
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 40
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 33
- 2024Resonance RoPE: Improving Context Length Generalization of Large Language Modelscited by 27
- 2025How Compositional Generalization and Creativity Improve as Diffusion Models are Trainedcited by 25
- 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
- 2023Linearized Relative Positional Encodingcited by 17
- 2025The Power of Context: How Multimodality Improves Image Super-Resolutioncited by 15
- 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 7
- 2021Supervised Metric Learning for Music Structure Featurescited by 6
- 2024Structure-informed Positional Encoding for Music Generationcited by 5
- 2024Model-Based Deep Learning for Music Information Researchcited by 3
- 2025F-StrIPE: Fast Structure-Informed Positional Encoding for Symbolic Music Generationcited by 2
Built on by
Not cited yet.