Music Transformer
Not on the map. Why?
Abstract (arXiv)
Music relies heavily on repetition to build structure and meaning. Self-reference occurs on multiple timescales, from motifs to phrases to reusing of entire sections of music, such as in pieces with ABA structure. The Transformer (Vaswani et al., 2017), a sequence model based on self-attention, has achieved compelling results in many generation tasks that require maintaining long-range coherence. This suggests that self-attention might also be well-suited to modeling music. In musical composition and performance, however, relative timing is critically important. Existing approaches for representing relative positional information in the Transformer modulate attention based on pairwise distance (Shaw et al., 2018). This is impractical for long sequences such as musical compositions since their memory complexity for intermediate relative information is quadratic in the sequence length. We propose an algorithm that reduces their intermediate memory requirement to linear in the sequence length. This enables us to demonstrate that a Transformer with our modified relative attention mechanism can generate minute-long compositions (thousands of steps, four times the length modeled in Oore et al., 2018) with compelling structure, generate continuations that coherently elaborate on a given motif, and in a seq2seq setup generate accompaniments conditioned on melodies. We evaluate the Transformer with our relative attention mechanism on two datasets, JSB Chorales and Piano-e-Competition, and obtain state-of-the-art results on the latter.
Key facts. Cited by 207 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 46; 2022: 34; 2023: 28; 2024: 39; 2025: 30; 2026: 30.
207 papers.
Sort:
By area:
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023MusicLM: Generating Music From Textcited by 442
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2021TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Upcited by 162
- 2021Symbolic Music Generation with Diffusion Modelscited by 152
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 67
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
38 more
- 2021Implicit Deep Adaptive Design: Policy-Based Experimental Design without Likelihoodscited by 61
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2021Continuous 3D Multi-Channel Sign Language Production via Progressive Transformers and Mixture Density Networkscited by 50
- 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 48
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2023PhysFormer++: Facial Video-based Physiological Measurement with SlowFast Temporal Difference Transformercited by 46
- 2022Discrete Contrastive Diffusion for Cross-Modal Music and Image Generationcited by 44
- 2023Multi-resolution Time-Series Transformer for Long-term Forecastingcited by 41
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
- 2022Quantized GAN for Complex Music Generation from Dance Videoscited by 37
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2023Anticipatory Music Transformercited by 35
- 2024Foundation Models for Music: A Surveycited by 34
- 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
- 2025SongGen: A Single Stage Auto-regressive Transformer for Text-to-Song Generationcited by 29
- 2022Multitrack Music Transformercited by 28
- 2022Video Background Music Generation: Dataset, Method and Evaluationcited by 28
- 2023Using Sequences of Life-events to Predict Human Livescited by 27
- 2021FMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field Attentioncited by 26
- 2024Whole-Song Hierarchical Generation of Symbolic Music Using Cascaded Diffusion Modelscited by 24
- 2021Transflower: probabilistic autoregressive dance generation with multimodal attentioncited by 22
- 2024Beyond Language Models: Byte Models are Digital World Simulatorscited by 21
- 2021DadaGP: A Dataset of Tokenized GuitarPro Songs for Sequence Modelscited by 20
- 2024textttdattri: A Library for Efficient Data Attributioncited 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
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
- 2023Building Blocks for a Complex-Valued Transformer Architecturecited by 16
- 2024Bass Accompaniment Generation via Latent Diffusioncited by 16
- 2024Geometry of Lightning Self-Attention: Identifiability and Dimensioncited by 16
- 2021Multi-head or Single-head? An Empirical Comparison for Transformer Trainingcited by 15
- 2021Variable-Length Music Score Infilling via XLNet and Musically Specialized Positional Encodingcited by 14
- 2023ChiroDiff: Modelling chirographic data with Diffusion Modelscited by 14
- 2021BERT-like Pre-training for Symbolic Piano Music Classification Taskscited by 12
- 2021Music Composition with Deep Learning: A Reviewcited by 12
50 most cited of 207 All 207 (JSON)
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Getting Motif-ated: Controllable AI Compositions from Injected Motif Prompts26 Sep 2026
- 2026Flexible Motion Generation from Language and Style References7 Sep 2026
- 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessness18 Aug 2026
- 2026MazzikaAI: A knowledge-based performance-to-prompt compiler for real-time Arabic maqam accompaniment with a streaming text-to-music model11 Aug 2026
- 2026ChronoSSM: Training for Temporally Aware Representations in Autoregressive State Space Models10 Aug 2026
- 2026Equivariant Music Transformer4 Aug 2026
- 2026ClockRoPE: Random Fourier Rotations for Temporal Routine Modeling29 Jul 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026Verifier-Guided Twelve-Tone Composition: A Generate-Verify-Repair Harness for Symbolic Music Generation13 Jul 2026
- 2026BeatEdit: Symbolic Music Generation as Explicit Editing13 Jul 2026
- 2026Comparison of Loss Functions for Robust Deep Learning-based Echocardiography Segmentation when Learning with Partially Labelled Data from Multiple Domains6 Jul 2026
38 more
- 2026How Far Can Chord-Symbol Time-Series Adaptation Carry Genre Identity? Capabilities and Boundaries in Multi-Genre Chord-Symbol Modeling5 Jun 2026
- 2026PJ-RoPE: A Fourier-Jet-Affine Position Space for Relative Attention3 Jun 2026
- 2026LiveBand: Live Accompaniment Generation in the Audio Domain2 Jun 2026
- 2026EvoMD-LLM: Learning the Language of Species Evolution in Reactive Molecular Dynamics28 May 2026
- 2026An investigation of AI integration in sound designer workflows and experiences26 May 2026
- 2026Musical Attention Transformer: Music Generation Using a Music-Specific Attention Model20 May 2026
- 2026Empirical Study of Pop and Jazz Mix Ratios for Genre-Adaptive Chord Generation6 May 2026
- 2026Jordan-RoPE: Non-Semisimple Relative Positional Encoding via Complex Jordan Blocks5 May 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026A-THENA: Early Intrusion Detection for IoT with Time-Aware Hybrid Encoding and Network-Specific Augmentation23 Apr 2026
- 2026Listen and Chant Before You Read: The Ladder of Beauty in LM Pre-Training23 Apr 2026
- 2026From Image to Music Language: A Two-Stage Structure Decoding Approach for Complex Polyphonic OMR22 Apr 2026
- 2026BEAT: Tokenizing and Generating Symbolic Music by Uniform Temporal Steps21 Apr 2026
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composing22 Mar 2026
- 2026Expectation and Acoustic Neural Network Representations Enhance Music Identification from Brain Activity3 Mar 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 2026Structure-Aware Piano Accompaniment via Style Planning and Dataset-Aligned Pattern Retrieval16 Feb 2026
- 2026Motion-to-Response Content Generation via Multi-Agent AI System with Real-Time Safety Verification20 Jan 2026
- 2025Let the Model Learn to Feel: Mode-Guided Tonality Injection for Symbolic Music Emotion Recognition15 Dec 2025
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generation12 Dec 2025
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Models6 Nov 2025
- 2025MuseTok: Symbolic Music Tokenization for Generation and Semantic Understanding18 Oct 2025
- 2025Translution: Unifying Self-attention and Convolution for Adaptive and Relative Modeling11 Oct 2025
- 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharing1 Oct 2025
- 2025Learning Relationships Between Separate Audio Tracks for Creative Applications29 Sep 2025
- 2025An Agent-Based Framework for Automated Higher-Voice Harmony Generation29 Sep 2025
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025A Traditional Approach to Symbolic Piano Continuation13 Sep 2025
- 2025Decoupling the "What" and "Where" With Polar Coordinate Positional Embeddings5 Sep 2025
- 2025Bob's Confetti: Phonetic Memorization Attacks in Music and Video Generation23 Jul 2025
- 2025Exploring Classical Piano Performance Generation with Expressive Music Variational AutoEncoder2 Jul 2025
- 2025VisionScores -- A system-segmented image score dataset for deep learning tasks28 Jun 2025
- 2025From Generality to Mastery: Composer-Style Symbolic Music Generation via Large-Scale Pre-training20 Jun 2025
- 2025Fretting-Transformer: Encoder-Decoder Model for MIDI to Tablature Transcription17 Jun 2025
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKV16 Jun 2025
- 2025Survey on the Evaluation of Generative Models in Music5 Jun 2025
- 2025Taming Hyperparameter Sensitivity in Data Attribution: Practical Selection Without Costly Retraining30 May 2025
- 2025Moonbeam: A MIDI Foundation Model Using Both Absolute and Relative Music Attributes21 May 2025
50 newest of 207 All 207 (JSON)
- 2021Symbolic Music Generation with Diffusion Modelscited by 152
- 2022Discrete Contrastive Diffusion for Cross-Modal Music and Image Generationcited by 44
- 2024Foundation Models for Music: A Surveycited by 34
- 2024Whole-Song Hierarchical Generation of Symbolic Music Using Cascaded Diffusion Modelscited by 24
- 2024Bass Accompaniment Generation via Latent Diffusioncited by 16
- 2023ChiroDiff: Modelling chirographic data with Diffusion Modelscited by 14
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generationcited by 2
- 2024Efficient Fine-Grained Guidance for Diffusion Model Based Symbolic Music Generationcited by 1
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generation12 Dec 2025
- 2024Efficient Fine-Grained Guidance for Diffusion Model Based Symbolic Music Generation11 Oct 2024
- 2024Foundation Models for Music: A Survey26 Aug 2024
- 2024Whole-Song Hierarchical Generation of Symbolic Music Using Cascaded Diffusion Models16 May 2024
- 2024Bass Accompaniment Generation via Latent Diffusion2 Feb 2024
- 2023ChiroDiff: Modelling chirographic data with Diffusion Models7 Apr 2023
- 2022Discrete Contrastive Diffusion for Cross-Modal Music and Image Generation15 Jun 2022
- 2021Symbolic Music Generation with Diffusion Models30 Mar 2021
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 291
- 2024OLMoE: Open Mixture-of-Experts Language Models3 Sep 2024
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023MusicLM: Generating Music From Textcited by 442
- 2021TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Upcited by 162
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 67
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2021Implicit Deep Adaptive Design: Policy-Based Experimental Design without Likelihoodscited by 61
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
12 most cited of 194 All 194 (JSON)
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Getting Motif-ated: Controllable AI Compositions from Injected Motif Prompts26 Sep 2026
- 2026Flexible Motion Generation from Language and Style References7 Sep 2026
- 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessness18 Aug 2026
- 2026MazzikaAI: A knowledge-based performance-to-prompt compiler for real-time Arabic maqam accompaniment with a streaming text-to-music model11 Aug 2026
- 2026ChronoSSM: Training for Temporally Aware Representations in Autoregressive State Space Models10 Aug 2026
- 2026Equivariant Music Transformer4 Aug 2026
- 2026ClockRoPE: Random Fourier Rotations for Temporal Routine Modeling29 Jul 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026Verifier-Guided Twelve-Tone Composition: A Generate-Verify-Repair Harness for Symbolic Music Generation13 Jul 2026
- 2026BeatEdit: Symbolic Music Generation as Explicit Editing13 Jul 2026
- 2026Comparison of Loss Functions for Robust Deep Learning-based Echocardiography Segmentation when Learning with Partially Labelled Data from Multiple Domains6 Jul 2026
12 newest of 194 All 194 (JSON)