mlsanityData to 7 Oct 2026

Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation

arXiv 2210.10349 ↗First posted 19 Oct 2022cs.SD cs.AI cs.CLcited by 48

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Longformer: The Long-Document Transformercited by 3,362
  3. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  4. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  5. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  6. 2020Reformer: The Efficient Transformercited by 1,658
  7. 2020Rethinking Attention with Performerscited by 1,584
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  9. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  10. 2018Image Transformercited by 770
  11. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  12. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
21 more
  1. 2021A Survey of Transformerscited by 399
  2. 2021Random Feature Attentioncited by 350
  3. 2020Sparse Sinkhorn Attentioncited by 250
  4. 2018Music Transformercited by 207
  5. 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
  6. 2020Fast Transformers with Clustered Attentioncited by 123
  7. 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
  8. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  9. 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
  10. 2020PopMAG: Pop Music Accompaniment Generationcited by 68
  11. 2021Poolingformer: Long Document Modeling with Pooling Attentioncited by 60
  12. 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
  13. 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
  14. 2020SongMASS: Automatic Song Writing with Pre-training and Alignment Constraintcited by 41
  15. 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
  16. 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
  17. 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
  18. 2021TeleMelody: Lyric-to-Melody Generation with a Template-Based Two-Stage Methodcited by 20
  19. 2020SAC: Accelerating and Structuring Self-Attention via Sparse Adaptive Connectioncited by 13
  20. 2017Classical Music Composition Using State Space Modelscited by 3
  21. 2021Smart Bird: Learnable Sparse Attention for Efficient and Effective Transformercited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 12; 2024: 14; 2025: 10; 2026: 10.

48 papers.

Sort:

By area:

  1. 2023Mousai: Text-to-Music Generation with Long-Context Latent Diffusioncited by 77
  2. 2023MuseCoco: Generating Symbolic Music from Textcited by 50
  3. 2023PIT: Optimization of Dynamic Sparse Deep Learning Models via Permutation Invariant Transformationcited by 25
  4. 2023MusicAgent: An AI Agent for Music Understanding and Generation with Large Language Modelscited by 20
  5. 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Frameworkcited by 13
  6. 2022A Review of Intelligent Music Generation Systemscited by 11
  7. 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generationcited by 10
  8. 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
  9. 2024Accompanied Singing Voice Synthesis with Fully Text-controlled Melodycited by 9
  10. 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performancecited by 7
  11. 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
  12. 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
36 more
  1. 2024A Survey of Deep Learning Audio Generation Methodscited by 5
  2. 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generationcited by 4
  3. 2024Evaluation of pretrained language models on music understandingcited by 4
  4. 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectivescited by 4
  5. 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignmentcited by 4
  6. 2026LeVo 2: Stable and Melodious Song Generation via Hierarchical Representation Modeling and Progressive Post-Trainingcited by 4
  7. 2022A Survey on Artificial Intelligence for Music Generation: Agents, Domains and Perspectivescited by 3
  8. 2023Language Models are Drummers: Drum Composition with Natural Language Pre-Trainingcited by 3
  9. 2023IteraTTA: An interface for exploring both text prompts and audio priors in generating music with text-to-audio modelscited by 3
  10. 2023Exploring Sampling Techniques for Generating Melodies with a Transformer Language Modelcited by 3
  11. 2024MuDiT & MuSiT: Alignment with Colloquial Expression in Description-to-Song Generationcited by 2
  12. 2024BandCondiNet: Parallel Transformers-based Conditional Popular Music Generation with Multi-View Featurescited by 2
  13. 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeletoncited by 2
  14. 2024Music Proofreading with RefinPaint: Where and How to Modify Compositions given Contextcited by 1
  15. 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddingscited by 1
  16. 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encodingcited by 1
  17. 2024MMT-BERT: Chord-aware Symbolic Music Generation Based on Multitrack Music Transformer and MusicBERTcited by 1
  18. 2024Music102: An D12-equivariant transformer for chord progression accompanimentcited by 1
  19. 2025Adaptable Symbolic Music Infilling with MIDI-RWKVcited by 1
  20. 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problemscited by 1
  21. 2025On the de-duplication of the Lakh MIDI datasetcited by 1
  22. 2023LooPy: A Research-Friendly Mix Framework for Music Information Retrieval on Electronic Dance Musiccited by 0
  23. 2024MuseBarControl: Enhancing Fine-Grained Control in Symbolic Music Generation through Pre-Training and Counterfactual Losscited by 0
  24. 2024PerceiverS: A Multi-Scale Perceiver with Effective Segmentation for Long-Term Expressive Symbolic Music Generationcited by 0
  25. 2025Aircraft Trajectory Dataset Augmentation in Latent Spacecited by 0
  26. 2025A Traditional Approach to Symbolic Piano Continuationcited by 0
  27. 2025Learning Relationships Between Separate Audio Tracks for Creative Applicationscited by 0
  28. 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharingcited by 0
  29. 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrencecited by 0
  30. 2026SyncTrack: Rhythmic Stability and Synchronization in Multi-Track Music Generationcited by 0
  31. 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composingcited by 0
  32. 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generationcited by 0
  33. 2026Exploring LLMs for South Asian Music Understanding and Generationcited by 0
  34. 2026Libretto: Giving LLM Agents a Sense of Musical Structurecited by 0
  35. 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modelingcited by 0
  36. 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessnesscited by 0