LEGATO: Large-scale End-to-end Generalizable Approach to Typeset OMR
Guang Yang, Victoria Ebert, Nazif Tamer, Brian Siyuan Zheng, Luiza Pozzobon, Noah A. Smith
TL;DR
Legato introduces a large-scale, end-to-end OMR model capable of processing multi-page typeset scores and generating ABC notation. It combines a frozen pretrained vision encoder with a transformer-based ABC decoder and a data-efficient BPE tokenizer trained on 238,386 image-ABC pairs from the PDMX-Synth dataset, enabling robust generalization across diverse score layouts. The work defines canonical ABC representation, develops a dual rendering pipeline for diverse visual styles, and evaluates on multiple datasets, achieving state-of-the-art results across TEDn and OMR-NED metrics, including challenging OpenScore and IMSLP piano scores. The approach demonstrates the practicality of end-to-end OMR for large-scale digitalization of musical scores and highlights the potential for NLP-friendly representations to facilitate downstream analysis and rendering.
Abstract
We propose Legato, a new end-to-end model for optical music recognition (OMR), a task of converting music score images to machine-readable documents. Legato is the first large-scale pretrained OMR model capable of recognizing full-page or multi-page typeset music scores and the first to generate documents in ABC notation, a concise, human-readable format for symbolic music. Bringing together a pretrained vision encoder with an ABC decoder trained on a dataset of more than 214K images, our model exhibits the strong ability to generalize across various typeset scores. We conduct comprehensive experiments on a range of datasets and metrics and demonstrate that Legato outperforms the previous state of the art. On our most realistic dataset, we see a 68\% and 47.6\% absolute error reduction on the standard metrics TEDn and OMR-NED, respectively.
