Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation
Not on the map. Why?
Abstract (arXiv)
Symbolic music generation aims to generate music scores automatically. A recent trend is to use Transformer or its variants in music generation, which is, however, suboptimal, because the full attention cannot efficiently model the typically long music sequences (e.g., over 10,000 tokens), and the existing models have shortcomings in generating musical repetition structures. In this paper, we propose Museformer, a Transformer with a novel fine- and coarse-grained attention for music generation. Specifically, with the fine-grained attention, a token of a specific bar directly attends to all the tokens of the bars that are most relevant to music structures (e.g., the previous 1st, 2nd, 4th and 8th bars, selected via similarity statistics); with the coarse-grained attention, a token only attends to the summarization of the other bars rather than each token of them so as to reduce the computational cost. The advantages are two-fold. First, it can capture both music structure-related correlations via the fine-grained attention, and other contextual information via the coarse-grained attention. Second, it is efficient and can model over 3X longer music sequences compared to its full-attention counterpart. Both objective and subjective experimental results demonstrate its ability to generate long music sequences with high quality and better structures.
Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). Builds on 33 of its 44 references that are in the map. First posted on arXiv 19 Oct 2022.
Builds on
33 of 44 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2018Image Transformercited by 770
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
21 more
- 2021A Survey of Transformerscited by 399
- 2021Random Feature Attentioncited by 350
- 2020Sparse Sinkhorn Attentioncited by 250
- 2018Music Transformercited by 207
- 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2020PopMAG: Pop Music Accompaniment Generationcited by 68
- 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
- 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
- 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
- 2020SongMASS: Automatic Song Writing with Pre-training and Alignment Constraintcited by 41
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
- 2021TeleMelody: Lyric-to-Melody Generation with a Template-Based Two-Stage Methodcited by 20
- 2020SAC: Accelerating and Structuring Self-Attention via Sparse Adaptive Connectioncited by 13
- 2017Classical Music Composition Using State Space Modelscited by 3
- 2021Smart Bird: Learnable Sparse Attention for Efficient and Effective Transformercited by 3
Built on by
Citing papers per year: 2022: 2; 2023: 12; 2024: 14; 2025: 10; 2026: 10.
48 papers.
Sort:
By area:
- 2023Mousai: Text-to-Music Generation with Long-Context Latent Diffusioncited by 77
- 2023MuseCoco: Generating Symbolic Music from Textcited by 50
- 2023PIT: Optimization of Dynamic Sparse Deep Learning Models via Permutation Invariant Transformationcited by 25
- 2023MusicAgent: An AI Agent for Music Understanding and Generation with Large Language Modelscited by 20
- 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Frameworkcited by 13
- 2022A Review of Intelligent Music Generation Systemscited by 11
- 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generationcited by 10
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2024Accompanied Singing Voice Synthesis with Fully Text-controlled Melodycited by 9
- 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performancecited by 7
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
- 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
36 more
- 2024A Survey of Deep Learning Audio Generation Methodscited by 5
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generationcited by 4
- 2024Evaluation of pretrained language models on music understandingcited by 4
- 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectivescited by 4
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignmentcited by 4
- 2026LeVo 2: Stable and Melodious Song Generation via Hierarchical Representation Modeling and Progressive Post-Trainingcited by 4
- 2022A Survey on Artificial Intelligence for Music Generation: Agents, Domains and Perspectivescited by 3
- 2023Language Models are Drummers: Drum Composition with Natural Language Pre-Trainingcited by 3
- 2023IteraTTA: An interface for exploring both text prompts and audio priors in generating music with text-to-audio modelscited by 3
- 2023Exploring Sampling Techniques for Generating Melodies with a Transformer Language Modelcited by 3
- 2024MuDiT & MuSiT: Alignment with Colloquial Expression in Description-to-Song Generationcited by 2
- 2024BandCondiNet: Parallel Transformers-based Conditional Popular Music Generation with Multi-View Featurescited by 2
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeletoncited by 2
- 2024Music Proofreading with RefinPaint: Where and How to Modify Compositions given Contextcited by 1
- 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddingscited by 1
- 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encodingcited by 1
- 2024MMT-BERT: Chord-aware Symbolic Music Generation Based on Multitrack Music Transformer and MusicBERTcited by 1
- 2024Music102: An D12-equivariant transformer for chord progression accompanimentcited by 1
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKVcited by 1
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problemscited by 1
- 2025On the de-duplication of the Lakh MIDI datasetcited by 1
- 2023LooPy: A Research-Friendly Mix Framework for Music Information Retrieval on Electronic Dance Musiccited by 0
- 2024MuseBarControl: Enhancing Fine-Grained Control in Symbolic Music Generation through Pre-Training and Counterfactual Losscited by 0
- 2024PerceiverS: A Multi-Scale Perceiver with Effective Segmentation for Long-Term Expressive Symbolic Music Generationcited by 0
- 2025Aircraft Trajectory Dataset Augmentation in Latent Spacecited by 0
- 2025A Traditional Approach to Symbolic Piano Continuationcited by 0
- 2025Learning Relationships Between Separate Audio Tracks for Creative Applicationscited by 0
- 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharingcited by 0
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrencecited by 0
- 2026SyncTrack: Rhythmic Stability and Synchronization in Multi-Track Music Generationcited by 0
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composingcited by 0
- 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generationcited by 0
- 2026Exploring LLMs for South Asian Music Understanding and Generationcited by 0
- 2026Libretto: Giving LLM Agents a Sense of Musical Structurecited by 0
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modelingcited by 0
- 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessnesscited by 0
- 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessness18 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026LeVo 2: Stable and Melodious Song Generation via Hierarchical Representation Modeling and Progressive Post-Training29 Jun 2026
- 2026Libretto: Giving LLM Agents a Sense of Musical Structure21 Jun 2026
- 2026Exploring LLMs for South Asian Music Understanding and Generation3 Jun 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generation7 Apr 2026
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composing22 Mar 2026
- 2026SyncTrack: Rhythmic Stability and Synchronization in Multi-Track Music Generation1 Mar 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 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
36 more
- 2025On the de-duplication of the Lakh MIDI dataset20 Sep 2025
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025A Traditional Approach to Symbolic Piano Continuation13 Sep 2025
- 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performance30 Jun 2025
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKV16 Jun 2025
- 2025Aircraft Trajectory Dataset Augmentation in Latent Space9 Jun 2025
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignment19 May 2025
- 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectives1 Apr 2025
- 2024PerceiverS: A Multi-Scale Perceiver with Effective Segmentation for Long-Term Expressive Symbolic Music Generation13 Nov 2024
- 2024Music102: An D12-equivariant transformer for chord progression accompaniment23 Oct 2024
- 2024Evaluation of pretrained language models on music understanding17 Sep 2024
- 2024MMT-BERT: Chord-aware Symbolic Music Generation Based on Multitrack Music Transformer and MusicBERT2 Sep 2024
- 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encoding2 Aug 2024
- 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddings29 Jul 2024
- 2024BandCondiNet: Parallel Transformers-based Conditional Popular Music Generation with Multi-View Features15 Jul 2024
- 2024Music Proofreading with RefinPaint: Where and How to Modify Compositions given Context12 Jul 2024
- 2024MuseBarControl: Enhancing Fine-Grained Control in Symbolic Music Generation through Pre-Training and Counterfactual Loss5 Jul 2024
- 2024MuDiT & MuSiT: Alignment with Colloquial Expression in Description-to-Song Generation3 Jul 2024
- 2024Accompanied Singing Voice Synthesis with Fully Text-controlled Melody2 Jul 2024
- 2024A Survey of Deep Learning Audio Generation Methods31 May 2024
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generation12 Mar 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2023MusicAgent: An AI Agent for Music Understanding and Generation with Large Language Models18 Oct 2023
- 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generation19 Sep 2023
- 2023Exploring Sampling Techniques for Generating Melodies with a Transformer Language Model18 Aug 2023
- 2023IteraTTA: An interface for exploring both text prompts and audio priors in generating music with text-to-audio models24 Jul 2023
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generation3 Jul 2023
- 2023MuseCoco: Generating Symbolic Music from Text31 May 2023
- 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Framework18 May 2023
- 2023LooPy: A Research-Friendly Mix Framework for Music Information Retrieval on Electronic Dance Music1 May 2023
- 2023Mousai: Text-to-Music Generation with Long-Context Latent Diffusion27 Jan 2023
- 2023PIT: Optimization of Dynamic Sparse Deep Learning Models via Permutation Invariant Transformation26 Jan 2023
- 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learning11 Jan 2023
- 2023Language Models are Drummers: Drum Composition with Natural Language Pre-Training3 Jan 2023
- 2022A Review of Intelligent Music Generation Systems16 Nov 2022
- 2022A Survey on Artificial Intelligence for Music Generation: Agents, Domains and Perspectives25 Oct 2022
- 2023MuseCoco: Generating Symbolic Music from Textcited by 50
- 2023PIT: Optimization of Dynamic Sparse Deep Learning Models via Permutation Invariant Transformationcited by 25
- 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Frameworkcited by 13
- 2022A Review of Intelligent Music Generation Systemscited by 11
- 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generationcited by 10
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2024Accompanied Singing Voice Synthesis with Fully Text-controlled Melodycited by 9
- 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performancecited by 7
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
- 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
- 2024A Survey of Deep Learning Audio Generation Methodscited by 5
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generationcited by 4
12 most cited of 45 All 45 (JSON)
- 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessness18 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026LeVo 2: Stable and Melodious Song Generation via Hierarchical Representation Modeling and Progressive Post-Training29 Jun 2026
- 2026Exploring LLMs for South Asian Music Understanding and Generation3 Jun 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generation7 Apr 2026
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composing22 Mar 2026
- 2026SyncTrack: Rhythmic Stability and Synchronization in Multi-Track Music Generation1 Mar 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 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
- 2025On the de-duplication of the Lakh MIDI dataset20 Sep 2025
12 newest of 45 All 45 (JSON)