Generating Symbolic Music from Natural Language Prompts using an LLM-Enhanced Dataset

Weihan Xu, Julian J. McAuley, Taylor Berg-Kirkpatrick, Shlomo Dubnov, Hao-Wen Dong · DOI

Abstract

This paper introduces MetaScore, a massive dataset of 963,000 musical scores paired with rich metadata and LLM-generated natural language captions. By leveraging this data, the authors developed the MetaScore Transformer (MST), a model capable of generating high-quality, multi-track symbolic music from free-form text prompts. This work bridges the gap between natural language and editable musical compositions, addressing the data scarcity that has hindered symbolic-domain music generation.

Introduction

While audio-domain music generation has seen significant progress, symbolic-domain generation—where music is represented as notes and durations—has lagged behind due to a lack of large-scale, captioned datasets. Unlike raw audio, symbolic scores are highly editable, allowing composers to modify specific notes or instruments. To address this, the researchers developed a pipeline to create high-quality text-music pairs at scale.

Methodology

The core of the approach is an "LLM-enhancement" pipeline that transforms structured metadata into descriptive natural language.

Overview of the MetaScore Transformer pipeline, showing the transition from text prompts to symbolic music generation.

The process involves:

  1. Data Collection: Scraping 963K scores from MuseScore.
  2. Genre Tagging: Using a custom tagger to label scores lacking genre information.
  3. LLM Captioning: Employing the Bloom LLM to turn dry metadata (composer, genre, complexity) into "pseudo-captions."
  4. Model Architecture: The MetaScore Transformer (MST) comes in two flavors: MST-Text, which uses a sentence transformer to encode free-form prompts, and MST-Tags, which uses discrete tag prefixes.

The MetaScore Dataset

The researchers released three versions of the dataset:

  • MetaScore-Raw (963K): The full scraped dataset.
  • MetaScore-Genre (181K): A subset with user-annotated genres.
  • MetaScore-Plus (963K): The full dataset augmented with auto-generated tags and LLM captions.

This represents a significant increase in scale compared to previous datasets like WikiMusicText or MidiCaps.

Results and Comparison

Subjective listening tests revealed that MST-Text and MST-Tags consistently outperformed BART-based baselines in coherence and arrangement. MST-Text achieved an overall quality score of 3.69/5, demonstrating that natural language is an effective interface for music generation.

Comparison of MST models against existing symbolic music generation frameworks.

As shown in the table above, the MST models support a wider range of controls (Instrument, Genre, Composer, and Complexity) and features like free text prompts and drum support compared to existing state-of-the-art models like FIGARO and MuseCoco.

Discussion and Limitations

A key insight was that LLM-generated captions provided better training signals than ground-truth tags alone. However, challenges remain, such as the semantic complexity of interpreting emotional prompts (e.g., "lonely") versus simple genre tags. Additionally, copyright restrictions limit the public release to approximately 274,000 scores. Future work will focus on more diverse captioning strategies and handling longer, more complex musical structures.

Reference: Xu, W., et al. (2025). Generating Symbolic Music from Natural Language Prompts using an LLM-Enhanced Dataset. Proceedings of the 26th International Society for Music Information Retrieval Conference (ISMIR).

Summary updated

BibTeX
@inproceedings{xu2025generating,
  author = {Weihan Xu and Julian J. McAuley and Taylor Berg-Kirkpatrick and Shlomo Dubnov and Hao-Wen Dong},
  title = {{Generating Symbolic Music from Natural Language Prompts using an LLM-Enhanced Dataset}},
  booktitle = {ISMIR},
  year = {2025},
  url = {https://openreview.net/forum?id=2QOpiEubLt},
}
Figure