mlsanityData to 14 Oct 2026

MelodyGLM: Multi-task Pre-training for Symbolic Melody Generation

arXiv 2309.10738 ↗First posted 19 Sep 2023cs.SD cs.AI cs.CLcited by 10

Not on the map. Why?

Abstract (arXiv)

Pre-trained language models have achieved impressive results in various music understanding and generation tasks. However, existing pre-training methods for symbolic melody generation struggle to capture multi-scale, multi-dimensional structural information in note sequences, due to the domain knowledge discrepancy between text and music. Moreover, the lack of available large-scale symbolic melody datasets limits the pre-training improvement. In this paper, we propose MelodyGLM, a multi-task pre-training framework for generating melodies with long-term structure. We design the melodic n-gram and long span sampling strategies to create local and global blank infilling tasks for modeling the local and global structures in melodies. Specifically, we incorporate pitch n-grams, rhythm n-grams, and their combined n-grams into the melodic n-gram blank infilling tasks for modeling the multi-dimensional structures in melodies. To this end, we have constructed a large-scale symbolic melody dataset, MelodyNet, containing more than 0.4 million melody pieces. MelodyNet is utilized for large-scale pre-training and domain-specific n-gram lexicon construction. Both subjective and objective evaluations demonstrate that MelodyGLM surpasses the standard and previous pre-training methods. In particular, subjective evaluations show that, on the melody continuation task, MelodyGLM gains average improvements of 0.82, 0.87, 0.78, and 0.94 in consistency, rhythmicity, structure, and overall quality, respectively. Notably, MelodyGLM nearly matches the quality of human-composed melodies on the melody inpainting task.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 38 of its 62 references that are in the map. First posted on arXiv 19 Sep 2023.

Builds on

38 of 62 references.

References · 38

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  8. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,031
  9. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
  10. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  11. 2019Unified Language Model Pre-training for Natural Language Understanding and Generationcited by 670
  12. 2022AudioLM: a Language Modeling Approach to Audio Generationcited by 616
26 more
  1. 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
  2. 2019MASS: Masked Sequence to Sequence Pre-training for Language Generationcited by 347
  3. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 302
  4. 2020Revisiting Pre-Trained Models for Chinese Natural Language Processingcited by 266
  5. 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 217
  6. 2018Music Transformercited by 211
  7. 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
  8. 2022Should You Mask 15% in Masked Language Modeling?cited by 118
  9. 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 110
  10. 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
  11. 2020PopMAG: Pop Music Accompaniment Generationcited by 68
  12. 2021Video Background Music Generation with Controllable Music Transformercited by 56
  13. 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
  14. 2020PMI-Masking: Principled masking of correlated spanscited by 54
  15. 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 49
  16. 2020SongMASS: Automatic Song Writing with Pre-training and Alignment Constraintcited by 41
  17. 2021Theme Transformer: Symbolic Music Generation with Theme-Conditioned Transformercited by 40
  18. 2020GiantMIDI-Piano: A large-scale MIDI dataset for classical piano musiccited by 37
  19. 2021MELONS: generating melody with long-term structure using transformers and structure graphcited by 18
  20. 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 18
  21. 2020ERNIE-Gram: Pre-Training with Explicitly N-Gram Masked Language Modeling for Natural Language Understandingcited by 17
  22. 2017A Hierarchical Recurrent Neural Network for Symbolic Melody Generationcited by 14
  23. 2019Midi Miner -- A Python library for tonal tension and track classificationcited by 6
  24. 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
  25. 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
  26. 2022Melody Infilling with User-Provided Structural Contextcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 4.

10 papers.