cs.CVNov 17, 2026

LightOnOCR for AMNLT: Reading Chant Notation and Lyrics in One Pass, from Single Staves to Whole Pages

Authors: Robert Klugseder

Organizations: Austrian Centre for Digital Humanities

Abstract

Aligned music notation and lyrics transcription (AMNLT) asks for the notes of a chant, its sung text and the assignment of syllables to notes in one output. Fuentes-Martínez et al., who defined the task, found that the one vision-language model they tested fell far behind specialised recognisers. We fine-tune LightOnOCR-3-1B, a page OCR model with one billion parameters, end to end, vision encoder included, to write a staff as a GABC string whose letters denote staff positions. Trained on the published AMNLT training split alone, it more than halves the best published aligned music and lyrics error rate (AMLER) on Solesmes, the one directly comparable dataset (9.9 against 21.0 %); on Einsiedeln and Salzinnes, measured in a different encoding, its figures are also lower. The benchmark does not measure generalisation to unseen manuscripts: while the pitch error on AMNLT validation stays between 1.7 and 1.9 %, on 200 staves from five unseen manuscripts it falls from 24.9 to 1.3 % as we add chant aligned through CantusDB, Transkribus ground truth and silver staves kept only where two readers agree. Trained also on multi-staff images, it reads whole pages without staff detection (pitch error 3.3 to 3.8 % on validation and test pages, 1.9 % on pages of unseen manuscripts). Remaining errors include Gothic F clefs read as C clefs, notes dropped with abbreviated or illegible text and lower accuracy on pages with small notation. Controlled ablations are needed to explain the gains.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 12, 2026

From Volpiano to Pixels: 30,000 Lines of OMR Ground Truth for Medieval Chant

Optical music recognition (OMR) for medieval chant lacks training data linking manuscript images to musical symbols across notational families. Using existing Volpiano transcriptions from the Cantus Database, we created 30,567 image-target pairs from ten sources in eleven exports, including 339 verse fragments. Their target sequences contain 1,952,143 tokens. The pipeline locates staff systems, infers clefs and maps known pitches to staff positions. Six detector families handle the different layouts and notations. Where heuristics failed, two small U-Nets learned staff lines and clef letters from manual annotations. Reviews of sampled export lines found zero to four pitch or clef errors, but used different error definitions and do not provide a uniform audit of the corpus. A CRNN trained from scratch achieved a symbol error rate of 9.6 % on 3,086 test lines. The earlier model, trained mainly on Austrian sources of the 15th and 16th centuries, scored 45.3 %. In three separate training runs, each excluding one manuscript, error rates on the excluded manuscript were 21.5-31.0 %. Model-assisted alignment recovered a further 2,686 lines.
Jul 7, 2026

LEGATO 2: Toward Multimodal Sheet Music Recognition and Understanding

We propose a novel pipeline, Legato 2, for extracting symbolic notation and semantic knowledge from images of sheet music. Legato 2 features the first large-scale neural model for optical music recognition (OMR) to operate sequentially on a system-by-system basis, following the horizontal lines of notation as they are read on the page, rather than treating the page as an undifferentiated image, enabling better scaling to arbitrarily long inputs. It is also the first OMR model capable of generating symbolic transcriptions that include embedded textual content, such as titles and annotations. The pipeline combines system-level segmentation with an autoregressive vision-LM to capture both local notation details and score structure. Across multiple datasets, Legato 2 consistently outperforms prior state of the art. We also show that symbolic transcriptions complement visual inputs for frontier language models, improving their interpretation of dense musical documents. Legato 2 establishes new state-of-the-art performance in both OMR and downstream sheet music understanding.
May 11, 2026

Transcoda: End-to-End Zero-Shot Optical Music Recognition via Data-Centric Synthetic Training

Optical Music Recognition (OMR), the task of transcribing sheet music into a structured textual representation, is currently bottlenecked by a lack of large-scale, annotated datasets of real scans. This forces models to rely on either few-shot transfer or synthetic training pipelines that remain overly simplistic. A secondary challenge is encoding non-uniqueness: in the popular Humdrum **kern format for transcribing music, multiple different text encodings can render into the same visual sheet music. This one-to-many mapping creates a harder learning task and introduces high uncertainty during decoding. We propose Transcoda, an OMR system built on (i) an advanced synthetic data generation pipeline, (ii) a normalization of the **kern encoding to enforce a unique normal form and (iii) grammar-based decoding to ensure the syntactic correctness of the output. This approach allows us to train a compact 59M-parameter model in just 6 hours on a single GPU that outperforms billion-parameter baselines. Transcoda achieves the best score among state of the art baselines on a newly curated benchmark of synthetically rendered scores at 18.46% OMR-NED (compared to 43.91% for the next-best system, Legato) and reduces the error rate on historical Polish scans to 63.97% OMR-NED (down from 80.16% for SMT++).