# TrOMR:Transformer-Based Polyphonic Optical Music Recognition

arXiv: https://arxiv.org/abs/2308.09370 · HTML: https://mlsanity.com/paper/2308.09370/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 21 references that are in the map.
- First posted on arXiv 18 Aug 2023.

## Builds on (most cited first, 8 of 8)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation](https://mlsanity.com/paper/1802.02611/) (2018)
- [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://mlsanity.com/paper/2109.10282/) (2021)
- [Optical Music Recognition with Convolutional Sequence-to-Sequence Models](https://mlsanity.com/paper/1707.04877/) (2017)
- [Optical Music Recognition: State of the Art and Major Challenges](https://mlsanity.com/paper/2006.07885/) (2020)
- [An Empirical Evaluation of End-to-End Polyphonic Optical Music Recognition](https://mlsanity.com/paper/2108.01769/) (2021)
- [Score difficulty analysis for piano performance education based on fingering](https://mlsanity.com/paper/2203.13010/) (2022)
- [Exploring Transformer's potential on automatic piano transcription](https://mlsanity.com/paper/2204.03898/) (2022)

## Built on by (most cited first, 5 of 5)

- [End-to-End Full-Page Optical Music Recognition for Pianoform Sheet Music](https://mlsanity.com/paper/2405.12105/) (2024)
- [Knowledge Discovery in Optical Music Recognition: Enhancing Information Retrieval with Instance Segmentation](https://mlsanity.com/paper/2408.15002/) (2024)
- [MusiXQA: Advancing Visual Music Understanding in Multimodal Large Language Models](https://mlsanity.com/paper/2506.23009/) (2025)
- [Optical Music Recognition in Manuscripts from the Ricordi Archive](https://mlsanity.com/paper/2408.10260/) (2024)
- [Transcoda: End-to-End Zero-Shot Optical Music Recognition via Data-Centric Synthetic Training](https://mlsanity.com/paper/2605.10835/) (2026)

## Abstract (arXiv)

Optical Music Recognition (OMR) is an important technology in music and has been researched for a long time. Previous approaches for OMR are usually based on CNN for image understanding and RNN for music symbol classification. In this paper, we propose a transformer-based approach with excellent global perceptual capability for end-to-end polyphonic OMR, called TrOMR. We also introduce a novel consistency loss function and a reasonable approach for data annotation to improve recognition accuracy for complex music scores. Extensive experiments demonstrate that TrOMR outperforms current OMR methods, especially in real-world scenarios. We also develop a TrOMR system and build a camera scene dataset for full-page music scores in real-world. The code and datasets will be made available for reproducibility.
