Of All StrIPEs: Investigating Structure-Informed Positional Encoding for Efficient Music Generation
Abstract
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 calledRoPEPool, 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 interactions they induce between two descriptive levels of the data: theinput, capturing quickly-varying components, and theprior, capturing slowly-varying components. 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.
Fields of Study & Subjects
Music and Audio Processing
Music Technology and Sound Studies
Topic Modeling
Publication details
- Journal / source
- IEEE Transactions on Audio Speech and Language Processing
- Volume
- 34
- Pages
- 1388–1400
- Publication date
- 1 January 2026
- Language
- EN