[Paper Review] Deep Watershed Detector for Music Object Recognition
This paper introduces the Deep Watershed Detector (DWD), a novel end-to-end object detection method for music notation that uses deep learning to generate synthetic energy maps for the watershed transform, enabling high-accuracy detection of tiny music symbols in high-resolution pages. DWD achieves state-of-the-art performance on both digital and handwritten music datasets with minimal preprocessing and no class imbalance correction.
Optical Music Recognition (OMR) is an important and challenging area within music information retrieval, the accurate detection of music symbols in digital images is a core functionality of any OMR pipeline. In this paper, we introduce a novel object detection method, based on synthetic energy maps and the watershed transform, called Deep Watershed Detector (DWD). Our method is specifically tailored to deal with high resolution images that contain a large number of very small objects and is therefore able to process full pages of written music. We present state-of-the-art detection results of common music symbols and show DWD's ability to work with synthetic scores equally well as on handwritten music.
Motivation & Objective
- To address the challenge of detecting a large number of tiny, densely packed music symbols in high-resolution music scores.
- To overcome limitations of classical, rule-based OMR pipelines that rely on hand-crafted preprocessing and fail on complex or handwritten scores.
- To develop an end-to-end deep learning method that detects music symbols in context, reducing error propagation and improving generalization across music types.
- To evaluate the model’s robustness on both digitally rendered and handwritten music notation without retraining or architectural changes.
- To investigate the impact of severe class imbalance on detection performance and explore solutions for rare symbol recognition.
Proposed method
- The method uses a convolutional neural network to predict a per-pixel class map and a corresponding energy map for the watershed transform.
- The energy map is learned end-to-end via a differentiable watershed layer, enabling backpropagation through the segmentation process.
- The watershed transform is applied to the energy map to generate object proposals, with each connected component corresponding to a detected symbol.
- The network is trained using a combined loss function that includes classification loss for class maps and boundary loss for energy map regularization.
- Input images are normalized via interline normalization but otherwise processed in full-page form without cropping or patching.
- The architecture is shared across both DeepScores (digital) and MUSCIMA++ (handwritten) datasets, enabling domain generalization.
Experimental results
Research questions
- RQ1Can a deep learning-based approach eliminate the need for complex, hand-crafted preprocessing pipelines in OMR by operating end-to-end on full-score images?
- RQ2Can a watershed-based detector trained on synthetic energy maps achieve state-of-the-art performance on both printed and handwritten music notation?
- RQ3How does severe class imbalance in music symbol datasets affect detection performance, particularly for rare symbols?
- RQ4Does the model learn meaningful contextual representations of music notation, even when only trained to predict object centers?
- RQ5Can the DWD method generalize to other high-resolution, small-object detection tasks beyond music recognition?
Key findings
- DWD achieves state-of-the-art detection performance on both the DeepScores (digitally rendered) and MUSCIMA++ (handwritten) datasets without any data augmentation or class balancing.
- The model detects ledger lines with very high precision (AP@1/4), indicating strong learning of structural elements in music notation.
- Despite the absence of class balancing, the model maintains high average precision for common symbols like noteheads, though performance drops significantly for rarer symbols.
- The network exhibits a tendency to forget rare symbols during training, as evidenced by increasing loss when encountering rare symbols later in training, suggesting they are treated as outliers.
- The model learns a primitive segmentation mask, as shown by the coherent beam segmentation in class map predictions, even though only center points are supervised.
- The method outperforms previous R-CNN-based approaches in terms of end-to-end efficiency and avoids error propagation from multi-stage pipelines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.