Moonbeam: A MIDI Foundation Model Using Both Absolute and Relative Music Attributes
Not on the map. Why?
Abstract (arXiv)
Moonbeam is a transformer-based foundation model for symbolic music, pretrained on a large and diverse collection of MIDI data totaling 81.6K hours of music and 18 billion tokens. Moonbeam incorporates music-domain inductive biases by capturing both absolute and relative musical attributes through the introduction of a novel domain-knowledge-inspired tokenization method and Multidimensional Relative Attention (MRA), which captures relative music information without additional trainable parameters. Leveraging the pretrained Moonbeam, we propose 2 finetuning architectures with full anticipatory capabilities, targeting 2 categories of downstream tasks: symbolic music understanding and conditional music generation (including music infilling). Our model outperforms other large-scale pretrained music models in most cases in terms of accuracy and F1 score across 3 downstream music classification tasks on 4 datasets. Moreover, our finetuned conditional music generation model outperforms a strong transformer baseline with a REMI-like tokenizer. We open-source the code, pretrained model, and generated samples on Github.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 45 of its 60 references that are in the map. First posted on arXiv 21 May 2025.
Builds on
45 of 60 references.
References · 45
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2017Mixed Precision Trainingcited by 1,156
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 217
- 2018Music Transformercited by 211
33 more
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 110
- 2023Mustango: Toward Controllable Text-to-Music Generationcited by 100
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 68
- 2020PopMAG: Pop Music Accompaniment Generationcited by 68
- 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 68
- 2016Creating A Multi-track Classical Musical Performance Dataset for Multimodal Music Analysis: Challenges, Insights, and Applicationscited by 61
- 2016Learning Features of Music from Scratchcited by 58
- 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
- 2021EMOPIA: A Multi-Modal Pop Piano Dataset For Emotion Recognition and Emotion-based Music Generationcited by 53
- 2020MMM : Exploring Conditional Multi-Track Music Generation with the Transformercited by 49
- 2020GiantMIDI-Piano: A large-scale MIDI dataset for classical piano musiccited by 37
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2023Anticipatory Music Transformercited by 36
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2019Learning to Groove with Inverse Sequence Transformationscited by 34
- 2024MuPT: A Generative Symbolic Music Pretrained Transformercited by 33
- 2022Multitrack Music Transformercited by 28
- 2021DadaGP: A Dataset of Tokenized GuitarPro Songs for Sequence Modelscited by 20
- 2023Byte Pair Encoding for Symbolic Musiccited by 19
- 2022MusIAC: An extensible generative framework for Music Infilling Applications with multi-level Controlcited by 17
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2023CLaMP: Contrastive Language-Music Pre-training for Cross-Modal Symbolic Music Information Retrievalcited by 14
- 2024CLaMP 2: Multimodal Music Information Retrieval Across 101 Languages Using Large Language Modelscited by 12
- 2025Aria-MIDI: A Dataset of Piano MIDI Files for Symbolic Music Modelingcited by 10
- 2022ComMU: Dataset for Combinatorial Music Generationcited by 8
- 2024GAPS: A Large and Diverse Classical Guitar Dataset and Benchmark Transcription Modelcited by 8
- 2025MIDI-GPT: A Controllable Generative Model for Computer-Assisted Multitrack Music Compositioncited by 8
- 2025The GigaMIDI Dataset with Features for Expressive Music Performance Detectioncited by 7
- 2023Impact of time and note duration tokenizations on deep learning symbolic music modelingcited by 6
- 2024Nested Music Transformer: Sequentially Decoding Compound Tokens in Symbolic Music and Audio Generationcited by 5
- 2023FiloBass: A Dataset and Corpus Based Study of Jazz Basslinescited by 3
- 2018A Predictive Model for Music Based on Learned Interval Representationscited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Trainingcited by 2
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generationcited by 2
- 2026Equivariant Music Transformercited 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
- 2026Equivariant Music Transformer4 Aug 2026
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generation12 Dec 2025
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Training2 Dec 2025