- Rating
- 3
- Clarity
- 2
- Confidence
- 5
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper introduces Transcoda, a lightweight model for optical music recognition (OMR). The authors develop a novel data processing and rendering pipeline alongside a new tokenization method. Besides, the authors implemented constrained decoding for the model. Furthermore, their proposed encoder-decoder architecture achieves state-of-the-art performance on the Polish Scores dataset.
Strengths and weaknesses
This paper introduces Transcoda, an optical music recognition (OMR) system featuring a novel data processing pipeline, a new tokenization strategy, and the application of constrained decoding. The work demonstrates clear originality and significance by effectively adapting constrained decoding for OMR—an underexplored technique in this domain—and achieving strong quantitative results on the Polish Scores dataset. However, the overall quality and clarity of the submission are significantly undermined by critical methodological flaws. Specifically, the evaluation protocol suffers from severe data leakage risks, misaligned baseline comparisons regarding musical annotations, and an incomplete approach to context-sensitive grammar constraints.
Strengths:
- The paper proposes a novel data processing and rendering pipeline alongside a tokenization method.
- The paper applies constrained decoding on OMR model, and shows its effectiveness.
- The model achieves strong quantitative results, specifically on the Polish Scores dataset.
Weakness:
- Risk of Data Leakage: The Polish Scores dataset is used in the validation set, which compromises the integrity of the evaluation. Even though only the ground truth notations are used and the images are synthesized, the model is still optimized for the symbolic notation. There is also a high probability that these scores are present in the massive training data, meaning the model may simply be retrieving memorized ground truths.
- Evaluation Metric: The handling of annotations (lyrics, fingering, etc.) raises concerns about whether the comparisons against baselines like SMT++ and Legato are properly aligned. Furthermore, the evaluation in Figure 6 relies on TEDn, whereas other experiments use OMR-NED and CER. Authors don't show the reasoning behind metric selection.
- Grammar Constraint Issue: The proposed GBNF grammar file relies on context-free grammar, which is fundamentally insufficient for capturing the context-sensitive rules of valid **kern representations (e.g., beats per measure).
Questions
Some details are not fully explained in the paper. Adding some explanations to the following questions into the paper would be helpful and may change my opinion.
- In Figure 2, the image size is fixed to 1485x1050 px. How does the current pipeline handle landscape scores? If they are forced to be rendered as portrait score, will there be huge margins? If they are ignored, this will highly limit the use case of the model, since many historical scores exist in landscape mode.
- Regarding the "split-space constraint" (L122): Does this refer to pre-tokenization? Specifically, do you set spaces (tabs in kern) as boundaries for pre-tokenization so that a chord will never become a single token? If so, does this dramatically increase sequence length, and how does it interact with the 2048 maximum context window? What happened if the score is too long?
- Could you clarify the exact process used to convert MusicXML scores into page-level image-kern pairs? Many scores include multiple pages, and how to make sure the grounds truth for each page match the corresponding images? And how are contexts being handled? For example, do you merge all spines at the end of a page and reopens them at the beginning of next page?
- In Section 3.3 (Stage 3), you mention 21-stage normalizations that are "near-deterministic" (L148). Does this imply that specific visual inputs can map to multiple textual encodings? Could you provide a list of these potential edge cases?
- A GBNF grammar file is restricted to context-free grammar, but valid **kern syntax includes context-sensitive rules (e.g., time signatures dictating the number of beats in a measure). How does the model handle these context-sensitive constraints, and will failing to enforce them cause downstream tools to fail?
- Compared to SMT++, does Transcoda increase the set of available symbols? How does the model process elements not included in the primary set, such as lyrics, fingering, and annotations mentioned in Stage 1? In Figure 5, annotations are excluded from the kern representation and used instead as augmentations. Does this mean the ground truth of the Polish Scores evaluation dataset also excludes these symbols? If so, do baselines like SMT++ and Legato recognize these symbols, and does this create a misalignment in the evaluation?
- Why is the qualitative example in Figure 6 taken from a different dataset rather than Polish Scores? Furthermore, is the input for this example only a single system, or is it a full page with the rest omitted? Why is TEDn used as the primary metric for the Figure 6 experiment, while other experiments use OMR-NED and CER?
- (Minor) The green box in Figure 6 raises a fundamental trade-off: Should the task of OMR target faithful visual transcription of the page, or should it actively correct "errors" in well-formedness?
Limitations
- The range of OMR: optical music recognition is not only about western and typeset music scores. The author should acknowledge the range of current model and explicitly talk about handwritten and non-western music scores.
- Evaluation dataset: the model is only evaluated on a single dataset (102 pages). The author needs to acknowledge the limit of evaluation benchmark.
- Model capability: The authors need to acknowledge if the model is constrained to single-page OMR. If not, additional experiments should be conducted on multi-page scores.
Paper formatting concerns
- The space between Table 1 caption and content seems too small.
- Figure 3&4 are inline figures.
- Table 3 is an inline table.
- Reference 6&7: the same author Mark R. H. Gotham is formatted in different ways.
- Some references are in proceeding but link to arXiv preprints (e.g. reference 8).
- Some papers are already published but cited as preprints:
- [4] (XGrammar) was published at MLSys 2025.
- [5] (An empirical evaluation...) was published at ISMIR 2021.
- [29] (Convnext v2) was published at CVPR 2023.
- [30] (Simmim) was published at CVPR 2022.
- [31] (Generating symbolic music...) was published at ISMIR 2025.
- [32] (Toward a more complete omr solution) was published at ISMIR 2024.
- [33] (LEGATO) was published at ICLR 2026.
Final justification
I have increased my score from 2 to 3 after considering the rebuttal.
My main concern was the evaluation on Polish Scores, since symbolic data from this dataset was used for validation while the corresponding real scanned scores were used for evaluation. The newly annotated benchmark of 206 unseen IMSLP pages substantially reduces this concern. In particular, the originally submitted checkpoint achieves 37.69 OMR-NED, compared with 47.98 for LEGATO, which provides useful evidence that the improvement is not only caused by post-submission training.
The authors also clarified that Transcoda and the baselines are evaluated on the same subset of consistently annotated musical symbols. This resolves most of my concern about baseline alignment. The explanation for using TEDn in Figure 6 is also reasonable, since the experiment follows the original LEGATO protocol.
The response to the grammar concern is reasonable as a design choice. I agree that enforcing all rhythmic constraints may conflict with faithful transcription and may introduce error propagation. However, the paper still lacks quantitative evidence about parser success, rhythmic validity, and compatibility with downstream tools, so the practical benefit of the grammar constraints is not fully established.
Some important concerns also remain. The original Polish Scores validation and evaluation setup is still not fully clean, and the much stronger updated Polish result combines corrected ground truth with additional training, making it difficult to attribute the improvement. The new IMSLP benchmark is valuable, but it is introduced only during rebuttal and still represents a relatively limited evaluation of real-world OMR. Landscape pages are not evaluated, long inputs may be truncated, and the robustness across different score styles and scan conditions remains unclear.
Overall, the rebuttal shows that the method is technically solid and addresses several of my original concerns. However, I still think the limitations of the evaluation and the lack of sufficiently broad real-world validation slightly outweigh the reasons for acceptance. Therefore, I raise my score from 2 to 3, but maintain a borderline reject recommendation.
We sincerely thank Reviewer QCHY for their highly constructive feedback and meticulous attention to detail. We will explicitly address all suggested limitations (multi-page merging, landscape constraints, etc.) in the final manuscript. Additionally, we have already updated the revised manuscript to fix all formatting issues (inline figures/spacing) and update the bibliography with the proper publication venues you pointed out.
Due to the extreme scarcity of page-level OMR data at submission, the Polish Scores were indeed used for validation. However, to rule out training leakage, we systematically compared our training corpus against the Polish Scores via strict substring-matching. This empirically confirms no shared content between the training corpus and the Polish Scores.
To directly address your concerns regarding evaluation integrity, we manually transcribed 206 additional, strictly unseen real-world IMSLP pages since submission. To guarantee an unbiased ground truth, we strictly avoided using Transcoda to seed or post-edit these annotations.
On this held-out benchmark, Transcoda achieves an OMR-NED of 22.22, and even our originally submitted checkpoint achieves 37.69, confirming the model ordering is not an artifact of post-submission training. Separately, we re-annotated the Polish ground truth to fix legacy errors; together with recent training updates, this improves our Polish OMR-NED from 63.97 to 26.55. Under both the corrected Polish ground truth and the new benchmark, the relative ordering and substantial gaps remain fully consistent. We will publicly release this expanded dataset alongside our code and weights.
We appreciate the reviewer highlighting this crucial point regarding baseline alignment. To clarify, Transcoda, SMT++, and LEGATO are all capable of outputting a similar breadth of tokens. The underlying issue is that our collected real-world ground truth is not consistently annotated for certain element classes (e.g., ties, slurs, accents, ornaments).
To guarantee a strictly fair and perfectly aligned comparison across all baselines, we deliberately compute the OMR-NED metric exclusively on a core subset of notation that is consistently present in all our ground truth samples. Specifically, the evaluation is restricted to:
By filtering out annotations that are not consistently included in the ground truth, we ensure that neither our model nor the baselines are unfairly penalized for correctly predicting a symbol that happens to be missing from the ground truth.
We used the TEDn metric in Figure 6 to exactly replicate LEGATO’s protocol for a direct 1:1 comparison, while all other experiments use CER/OMR-NED. We updated the revised manuscript to prevent any reader confusion.
We completely agree with the reviewer’s technical assessment: valid
**kernsyntax does contain context-sensitive rules, and a purely context-free GBNF grammar cannot mathematically enforce them.However, rather than an oversight, omitting strict rhythmic constraints (like beats-per-measure) was a deliberate, pragmatic design choice to prevent brittle error propagation. If we strictly enforced context-sensitive rhythmic constraints, a single misidentified time signature or missing rest would cause the model's decoding to catastrophically fail for the entire score.
Furthermore, real-world music frequently defies strict rhythmic logic. Many scores contain intentional "imperfect" measures (a concrete example being Chopin's Ballade No. 2, IMSLP 952266, the last measure of page 3). A rigidly context-sensitive grammar would force the model to hallucinate notes to "fix" the math, violating our primary goal of faithful visual transcription. Because our context-aware
LogitsProcessorstrictly enforces spine integrity, the output remains fundamentally structured, and downstream tools (like Verovio) are already built to gracefully handle any remaining rhythmic imperfections via warnings without failing.To characterize the prevalence empirically, we analyzed our full corpus of 50,000+ scraped IMSLP pages: 5.77% are landscape-oriented. These pages are not ignored or distorted: the pipeline resizes them to the fixed width of 1050 px preserving aspect ratio, then bottom-pads to 1485 px. A typical landscape page (aspect ratio ~1.4) therefore retains full horizontal resolution and occupies roughly half the canvas height, with the remainder as white padding. So margins do appear, but the notation is not shrunk. We chose this fixed-canvas approach for GPU batch-processing efficiency.
We do note that our real-scan benchmarks contain no full landscape score pages, so we cannot yet quantify accuracy on landscape input specifically. We will state this explicitly in the limitations section; dynamic aspect-ratio processing is a natural extension of the current pipeline that we plan to explore.
Yes, this refers to pre-tokenization. To directly address your concern regarding sequence length, we ran an empirical analysis across our dataset. While applying the split-space constraint does increase sequence length, the increase is marginal (~3.8% on average), not dramatic.
As shown, over 96% of our data remains comfortably under the 2048 limit.
To answer what happens if a highly dense score (the ~3.5%) exceeds this window: the model behaves like a standard LLM and simply hits the generation limit, truncating the output. However, it is important to note that the 2048 limit is strictly a compute/hardware constraint for our current training setup, rather than a fundamental architectural bottleneck. With additional compute, the maximum context window can straightforwardly be expanded to accommodate these outliers.
We convert via
musicxml2humand iteratively trim**kerndata from the end until Verovio confirms it fits a single page. Since the page image is rendered from exactly this trimmed excerpt, image-ground-truth alignment is exact by construction. We then dynamically re-open spines on the next page to seamlessly salvage the remaining data for further training.The pipeline is deterministic: every visual input maps to exactly one textual encoding. 'Near-deterministic' was over-cautious phrasing, and we will replace it with 'deterministic' in the revision.
Please refer to our detailed response in W3.