aiqbench analysis
This study demonstrates that small, expertly curated datasets of symbolic music notation can outperform massive, noisy corpora for specific music understanding tasks, challenging the prevailing assumption that scale is the primary driver of model performance. By combining broad pre-training with domain-specific fine-tuning on LilyPond scores, the authors achieve superior accuracy in composer and style classification, offering a new baseline for representation learning in symbolic audio domains. The released resources provide a critical resource for researchers aiming to move beyond MIDI-centric approaches toward text-based engraving formats.
BMdataset: A Musicologically Curated LilyPond Dataset
arXiv:2604.10628v2 Announce Type: replace-cross Abstract: Symbolic music research has relied almost exclusively on MIDI-based datasets; text-based engraving formats such as LilyPond remain unexplored for music understanding. We present BMdataset, a musicologically curated dataset of 393 LilyPond scores (2,646 movements) transcribed by experts directly from original Baroque manuscripts, with metadata covering composer, musical form, instrumentation, and sectional attributes. Building on this resource, we introduce LilyBERT (weights can be found at https://huggingface.co/csc-unipd/lilybert), a CodeBERT-based encoder adapted to symbolic music through vocabulary extension with 115 LilyPond-specific tokens and masked language model pre-training. Linear probing on the out-of-domain Mutopia corpus shows that, despite its modest size (~90M tokens), fine-tuning on BMdataset alone outperforms continuous pre-training on the full PDMX corpus (~15B tokens) for both composer and style classification, demonstrating that small, expertly curated datasets can be more effective than large, noisy corpora for music understanding. Combining broad pre-training with domain-specific fine-tuning yields the best results overall (84.3% composer accuracy), confirming that the two data regimes are complementary. We release the dataset, tokenizer, and model to establish a baseline for representation learning on LilyPond.
Abstract:Symbolic music research has relied almost exclusively on MIDI-based datasets; text-based engraving formats such as LilyPond remain unexplored for music understanding. We present BMdataset, a musicologically curated dataset of 393 LilyPond scores (2,646 movements) transcribed by experts directly from original Baroque manuscripts, with metadata covering composer, musical form, instrumentation, and sectional attributes. Building on this resource, we introduce LilyBERT (weights can be found at this https URL), a CodeBERT-based encoder adapted to symbolic music through vocabulary extension with 115 LilyPond-specific tokens and masked language model pre-training. Linear probing on the out-of-domain Mutopia corpus shows that, despite its modest size (~90M tokens), fine-tuning on BMdataset alone outperforms continuous pre-training on the full PDMX corpus (~15B tokens) for both composer and style classification, demonstrating that small, expertly curated datasets can be more effective than large, noisy corpora for music understanding. Combining broad pre-training with domain-specific fine-tuning yields the best results overall (84.3% composer accuracy), confirming that the two data regimes are complementary. We release the dataset, tokenizer, and model to establish a baseline for representation learning on LilyPond.
Sound (cs.SD); Computation and Language (cs.CL); Information Retrieval (cs.IR)
H.5.5; I.2.7; J.5
arXiv:2604.10628 [cs.SD]
(or arXiv:2604.10628v2 [cs.SD] for this version)
https://doi.org/10.48550/arXiv.2604.10628 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 277 words
Related coverage

Announcing the Agentic Catalog Experience in Amazon Quick
AWS · Jul 31, 2026
Diversity You Can Actually Measure: A Fast, Model-Free Diversity Metric for Robotics Datasets
arXiv · Oct 14, 2026
CuratorMAS: Automating Dataset Curation via Multi-Agent Orchestration
arXiv · Oct 7, 2026

Reflection’s Beam model hits 501 billion parameters
Quantum Zeitgeist · Oct 5, 2026