mlsanityData to 14 Oct 2026

Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generation

arXiv 2504.05364 ↗First posted 7 Apr 2025cs.SD cs.AI cs.LGcited by 0

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  7. 2020Rethinking Attention with Performerscited by 1,601
  8. 2018Self-Attention with Relative Position Representationscited by 1,120
  9. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
  10. 2020Efficient Transformers: A Surveycited by 790
  11. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  12. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
24 more
  1. 2018Efficient Attention: Attention with Linear Complexitiescited by 368
  2. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  3. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  4. 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
  5. 2020POP909: A Pop-song Dataset for Music Arrangement Generationcited by 83
  6. 2020PopMAG: Pop Music Accompaniment Generationcited by 68
  7. 2020The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measurescited by 53
  8. 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 40
  9. 2021A Simple and Effective Positional Encoding for Transformerscited by 37
  10. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
  11. 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
  12. 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 33
  13. 2024Resonance RoPE: Improving Context Length Generalization of Large Language Modelscited by 27
  14. 2025How Compositional Generalization and Creativity Improve as Diffusion Models are Trainedcited by 25
  15. 2020Automatic Analysis and Influence of Hierarchical Structure on Melody, Rhythm and Harmony in Popular Musiccited by 21
  16. 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
  17. 2023Linearized Relative Positional Encodingcited by 17
  18. 2025The Power of Context: How Multimodality Improves Image Super-Resolutioncited by 15
  19. 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
  20. 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 7
  21. 2021Supervised Metric Learning for Music Structure Featurescited by 6
  22. 2024Structure-informed Positional Encoding for Music Generationcited by 5
  23. 2024Model-Based Deep Learning for Music Information Researchcited by 3
  24. 2025F-StrIPE: Fast Structure-Informed Positional Encoding for Symbolic Music Generationcited by 2

Built on by

Not cited yet.