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
Figure 1: Overview. Sources of different kinds are brought into one encoding; the training lists hold single staves and images with several staves; all weights of the model are trained; the reading is one line per staff. Readings of the model and of a second reader, where they agree, return as silver staves (dashed).
Figure 2: A staff from AMNLT Einsiedeln (training split, item 1) with its target in the common encoding, the same target as stored with the prefix <m> , and the pseudo-gabc target of the AMNLT paper. In the common encoding the letters name lines and spaces of the staff and are read together with the clef; in pseudo-gabc each note is a pitch name with octave. Rubrics and text without notes are in the image but not in the target. Image: PRAIG/Einsiedeln_staffLevel, CC BY-NC 4.0.
ten manuscripts; notes from Klugseder (2026a) , text from the Cantus Database
10,463
training
Transkribus corpus
four Gothic manuscripts, note and text ground truth
611
training
Graz manuscripts and prints
ten manuscripts and five printed chant books, gold
1,487
training
14 further Graz volumes
gold
463
training
Silver, manuscripts
two-reader filter (Section 4.4)
2,446
training
Table 1: Training data of the default model P-d (examples per epoch) and evaluation sets. “Gold” means notes transcribed by people and text corrected by people; “silver” means notes read by two recognisers that agree, with text corrected by people.
Material
Stage
Staves
Passed
Yield
Precision
Pitch SER
Initial clef
Manuscripts
page model P-b alone
1,474
1,474
100 %
70.2 %
2.61 %
91.4 %
Manuscripts
second reader alone
1,474
1,474
100 %
74.1 %
1.59 %
97.5 %
Manuscripts
strict agreement
1,474
881
59.8 %
95.8 %
0.18 %
99.4 %
Manuscripts
at most one note differs
1,474
1,126
76.4 %
86.4 %
0.63 %
99.6 %
Prints
page model P-b alone
165
165
100 %
80.0 %
1.58 %
100 %
Prints
second reader alone
165
165
100 %
93.9 %
0.60 %
100 %
Table 2: Two-reader filter, calibration on validation and test pages with human note ground truth. Precision: share of passed staves whose pitch sequence and clef equal the ground truth.
Name
Training data (examples per epoch)
AMNLT val
Held-out
S-AMNLT
AMNLT (3,923)
1.77
24.92
S+C3
+ 2,160 CantusDB staves, three manuscripts (6,083)
1.79
9.55
S+C10
8,781 CantusDB staves, ten manuscripts, in place of the 2,160 (12,704)
1.86
5.84
S+C10w
as before, AMNLT with word boundaries (12,704)
1.68
4.67
S+C10w+T
+ 569 staves, four Gothic manuscripts (13,273)
1.80
2.11
P-ft
previous model continued, + 2,390 multi-staff images (15,663)
1.89
2.28
Table 3: Runs. Pitch SER in % on AMNLT validation and on the 200 held-out staves; the full table with internal names, chosen epoch, initial clef and text CER is Table 9 in Appendix E. P-e was not adopted (Section 8.2).
Dataset
Model
Pitch SER
AMLER
bWER
AMLER − bWER
Solesmes
published, best AMLER (unfolding CRNN)
–
20.98
13.01
7.97
Solesmes
published, DAN
–
23.17
14.13
9.04
Solesmes
S-AMNLT
1.87
9.92
6.64
3.28
Solesmes
S+C10w+T
1.50
9.35
5.91
3.44
Solesmes
P-d
1.23
8.80
5.61
3.19
Einsiedeln*
published, best AMLER (DAN)
–
5.14
4.27
0.87
Table 4: AMNLT test split (562 staves), in %. Published values from Tables 2 and 3 of Fuentes-Martínez et al. (2026) ; their bWER is derived as described in the text. *Einsiedeln and Salzinnes: different encoding and denominator, see reservation 2. MER, CER, SylER and AlER are given in Table 10, Appendix F.
Figure 3: AMLER on the AMNLT test split, divided into the content error (bWER) and the remainder attributed to alignment. Light bars: published values; dark bars: this work. S-AMNLT is trained on the AMNLT training data only. *Different encoding and denominator, not directly comparable. The bWER of the published values is derived from AMLER and AlER.
Figure 4: Pitch SER on AMNLT validation and on the held-out manuscripts over the runs with the 1B model. P-ft continues the previous model; all other runs start from the published weights. P-e was not adopted (Section 8.2).
Measure
P-b
P-c
P-d
AMNLT validation, pitch SER
1.71
1.77
1.74
AMNLT validation, AMLER
4.45
4.57
4.30
CantusDB validation
5.66
6.25
5.72
Transkribus validation
0.42
0.46
0.54
Transkribus validation, lyrics CER
5.50
3.41
3.30
Held-out manuscripts, 200 staves
1.74
1.27
1.31
Table 5: Page models, chosen epoch 4 each. Pitch SER in % unless stated. “Without GT errors”: without two staves of one validation page on which the image shows that the model is right and the target wrong.
Figure 5: (a) Pixels per staff step after scaling to 1,540 px, for whole pages, half pages and staff crops of eight sources; the dotted line is the patch size. (b) Pitch SER of P-d by reading form. The validation and test pages come mostly from the three sources at the top of (a).
Figure 6: Validation loss and reading measures over the epochs of the four page models. The ring marks the epoch with the lowest loss; the chosen epoch is 4 for P-b, P-c and P-d and 3 for P-e, which was not adopted (Section 8.2).
Figure 7: Pitch errors of P-d by kind, as shares of the reference notes. †Aldersbach: 55 staves of five pages, corrected from a draft of the same model. The bar for whole pages is computed over 25 validation and test pages, two more than the standard measurement of Table 5.
Reading
Pitch SER
Missing
Extra
Wrong
Dropped units
Lyrics CER
AMLER
Initial clef
55 staff crops
1.57 %
0.79 %
0.79 %
0.00 %
7 (0.91 %)
4.21 %
3.67 %
F 5 of 12, C 41 of 41
5 whole pages
4.51 %
1.29 %
1.65 %
1.57 %
7 (0.91 %)
5.71 %
8.62 %
–
Table 6: Aldersbach check set, P-d: the 55 staves read as staff crops and as five whole pages, against the same targets. Targets were corrected from P-d predictions; see Section 4.5 for the resulting bias, and Appendix A for repeated inference runs.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Manuscript
Notation
S-AMNLT
S+C3
S+C10
S+C10w
S+C10w+T
P-b
P-c
P-d
A-Wn 15484
square
0.72
1.43
1.29
1.14
0.86
1.14
1.14
2.43
A-Geras 6
German Gothic
18.75
4.03
1.73
1.81
1.89
1.81
0.90
0.49
A-KN 65
Bohemian Gothic
10.79
8.25
7.36
6.22
3.68
3.43
2.66
2.28
A-Gu 17
German Gothic
46.36
10.01
8.25
8.25
2.24
1.36
0.96
1.28
A-VOR 254
German Gothic
34.41
23.41
10.14
4.96
1.83
1.19
1.08
0.76
all
24.92
9.55
5.84
4.67
2.11
1.74
1.27
1.31
Appendix
Table 7: Pitch SER in % on the 40 staves of each held-out manuscript.
Model
Epoch
Validation loss
AMNLT validation
9 validation pages
Held-out, 200 staves
P-b
1
0.1228
3.12
23.4
9.41
P-b
2
0.0984
1.96
11.2
1.50
P-b
3
0.0822
1.65
5.4
1.46
P-b
4
0.1014
1.71
2.9
1.74
P-c
1
0.1217
2.35
16.51
–
P-c
2
0.0888
1.92
8.36
–
Appendix
Table 8: Pitch SER in % and validation loss by epoch.
Name
Internal
Training data (examples per epoch)
Chosen epoch
AMNLT val
Held-out
Initial clef
Text CER
S-AMNLT
s4
AMNLT (3,923)
3
1.77
24.92
80.5 %
15.51
S+C3
s4k
+ 2,160 CantusDB staves, three manuscripts (6,083)
4
1.79
9.55
89.5 %
12.17
S+C10
s4g
8,781 CantusDB staves, ten manuscripts, in place of the 2,160 (12,704)
3
1.86
5.84
96.5 %
9.57
S+C10w
s4w
as before, AMNLT with word boundaries (12,704)
4
1.68
4.67
88.5 %
8.34
S+C10w+T
s4t
+ 569 staves, four Gothic manuscripts (13,273)
4
1.80
2.11
92.5 %
7.90
P-ft
seiten_a
previous model continued, + 2,390 multi-staff images (15,663)
1
1.89
2.28
92.0 %
–
Appendix
Table 9: Runs in full. Pitch SER in %, held-out: 200 staves. Initial clef on the held-out manuscripts. Text CER: normalised (case, u/v, i/j, letters only) against the corrected Transkribus text of the held-out manuscripts; for the page models that figure was not computed. Internal names are those of the repository.
Dataset
Model
MER
Pitch SER
CER
SylER
AMLER
bWER
AMLER − bWER
AlER
Solesmes
published, best AMLER (unfolding CRNN)
18.20
–
19.11
38.88
20.98
13.01
7.97
0.38
Solesmes
published, DAN
21.87
–
17.94
30.19
23.17
14.13
9.04
0.39
Solesmes
S-AMNLT
9.63
1.87
5.54
13.98
9.92
6.64
3.28
0.33
Solesmes
S+C10w+T
9.58
1.50
5.26
11.50
9.35
5.91
3.44
0.36
Solesmes
P-d
8.92
1.23
5.10
10.91
8.80
5.61
3.19
0.36
Einsiedeln*
published, best AMLER (DAN)
7.23
–
3.44
7.19
5.14
4.27
0.87
0.17
Appendix
Table 10: AMNLT test split (562 staves) with all measures, in % except AlER. Published values from Tables 2 and 3 of Fuentes-Martínez et al. (2026) ; their bWER is derived as described in Section 7.1. *Einsiedeln and Salzinnes: different encoding and denominator, see reservation 2 in Section 7.1.
Measure
P-d
P-e
Kind-A validation lines, pitch SER
–
0.23
Kind-A validation lines, _ at the right place
–
696 of 706
Held-out manuscripts, missing notes
0.72
0.39
AMNLT validation
1.74
1.75
Validation pages
3.34
3.58
Whole pages, dropped units
0.11
0.85
Appendix
Table 11: P-e (epoch 3) against P-d. Pitch SER in % unless stated.
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.
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.
Guang Yang, Brian Siyuan Zheng, Victoria Ebert +1
Paul G. Allen School of Computer Science & Engineering, University of Washington · Allen Institute for AI
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++).