atlas

Research map / Large language models / Agents, code and math

Text2midi: Generating Symbolic Music from Captions

AAAI 2025 · Large language models › Agents, code and math · approach: Code generation benchmarks · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces text2midi, an end-to-end model that generates MIDI files from text captions using a frozen FLAN-T5 encoder and an autoregressive transformer decoder over REMI+ tokens, pretrained on pseudo-captioned SymphonyNet and fine-tuned on MidiCaps.

Problem

Generating symbolic MIDI music directly from free-form text descriptions, which prior work handled only via two-stage pipelines or audio generation.

Approach

A single end-to-end encoder-decoder: frozen pretrained FLAN-T5 encodes the caption and a transformer decoder with cross-attention autoregressively generates REMI+ MIDI tokens, with two-stage training using placeholder pseudo-captions on SymphonyNet followed by fine-tuning on MidiCaps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test setcompression ratio: 2.12 -> 2.31Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test setCLAP score: 0.21 -> 0.22Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test settempo bin (TB): 21.71 -> 39.70Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test settempo bin with tolerance (TBT): 54.63 -> 65.80Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test setcorrect key (CK): 13.70 -> 33.60Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · MidiCaps test setcorrect key with duplicates (CKD): 14.59 -> 35.60Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studymusical quality: 4.40 -> 4.62Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studyoverall matching: 4.07 -> 4.67Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studygenre matching: 4.40 -> 4.98Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studymood matching: 4.32 -> 5.00Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studykey matching: 3.36 -> 3.64Helped
Use text2midi instead of MuseCocoText-to-MIDI generation · Listening studychord matching: 2.00 -> 2.50Helped

Surprising findings

Limitations

Experimental setup

Datasets: SymphonyNet MidiCaps

Benchmarks: MidiCaps test subset (100 samples)

Metrics: compression ratio CLAP score tempo bin tempo bin with tolerance correct key correct key with duplicates listening test Likert ratings

Baselines: MuseCoco MidiCaps ground truth

Builds on: FLAN-T5 REMI MidiTok flash attention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy