Introduction
In the rapidly evolving landscape of artificial intelligence, the availability of large-scale, high-quality datasets has been the primary driver of progress. While fields like natural language processing and computer vision benefit from massive corpora like Common Crawl and ImageNet, symbolic music modeling—specifically MIDI—has long faced a "quality vs. quantity" bottleneck. Researchers have recently addressed this gap with the release of Aria-MIDI, a dataset containing over one million distinct piano MIDI files, totaling approximately 100,000 hours of music.
The Data Scarcity Problem
Historically, symbolic music datasets have fallen into two categories. Small, high-quality datasets like MAESTRO offer professional-grade performances but are limited in scope (roughly 200 hours). Conversely, larger datasets like Lakh (180,000 files) often contain "dead" MIDI files—mechanically generated sequences that lack the expressive nuances of human performance, such as micro-timing and velocity variations. The challenge lies in the transcription process: manual transcription is prohibitively slow, while automated tools struggle with the "noise" of real-world recordings, such as applause, speech, or background instrumentation.
The Aria-MIDI Dataset
Aria-MIDI represents a significant leap in scale, providing a resource that is an order of magnitude larger than previous efforts. By transcribing audio performances rather than scraping existing MIDI files, the dataset captures the essential human elements of music.
As shown in the comparison above, Aria-MIDI contains 1,186,253 files and 100,629 hours of music, making it roughly 10 times larger than the Lakh dataset and 500 times larger than MAESTRO.
Methodology: From YouTube to MIDI
To build Aria-MIDI, the authors developed a sophisticated multi-stage pipeline designed to extract high-quality symbolic data from the vast repository of YouTube audio.
1. LLM-Guided Crawling
Rather than relying on simple keyword searches, the pipeline utilizes Llama 3.1 (70B) to analyze video titles and descriptions. The LLM assigns a "solo-piano likelihood" score (1–5), allowing the crawler to autonomously prioritize high-quality candidates. This context-aware filtering distinguishes between professional recitals and lower-quality tutorials.
2. Audio Classification and Segmentation
To ensure the integrity of the data, the team implemented a robust cleaning process. They used a source-separation model (MVSep) to generate "pseudo-labels," identifying segments where the piano component was significantly louder than other sounds. This "distillation" process allowed them to train a faster CNN classifier to prune non-musical segments like applause or speech.
3. Robust Transcription and Metadata Extraction
The cleaned audio is converted to MIDI using Aria-AMT, a Whisper-based Automatic Music Transcription model optimized for diverse recording qualities. Finally, Llama 3.1 is employed again to extract structured metadata—including composer, performer, and genre—enabling precise dataset organization and deduplication.
Key Results and Performance
The efficiency and precision of the Aria-MIDI pipeline are noteworthy:
- Scale and Speed: The team transcribed over 100,000 hours of audio in just 765 hours using a single NVIDIA H100 GPU, achieving an inference speed of 131x real-time.
- Metadata Accuracy: The LLM-based extraction achieved over 99% accuracy for identifying key attributes when present in the source text.
- Transcription Quality: The Aria-AMT model outperformed previous state-of-the-art benchmarks on standard datasets like MAESTRO and MAPS.
Future Directions
While Aria-MIDI is a landmark achievement for solo piano modeling, it is currently limited to a single instrument. Future work involves extending this pipeline to multi-instrument ensembles and other solo instruments like the guitar. Additionally, addressing "compositional duplication"—where famous pieces like "Moonlight Sonata" appear thousands of times—remains a priority to ensure a balanced representation of the musical repertoire.
Aria-MIDI provides the symbolic music community with the "oil" needed to fuel the next generation of generative music models.
Dataset available at: https://github.com/loubbrad/aria-midi
Summary updated