A Novel Dataset and Framework for Schenkerian Optical Music Recognition

Yixuan Huang, Xiao Yun, Jiayin Zheng, Simon Mak, Yue Jiang, Cynthia Rudin, Stephen Ni-HahnarXiv 2026 · arXiv

If you’ve ever taken a high-level music theory course, you’ve likely encountered Schenkerian analysis (SchA). It’s a powerful way to map the "DNA" of a piece of music, stripping away the surface-level notes to reveal the underlying harmonic skeleton. But here’s the catch: while the theory is elegant, the graphs are a nightmare to produce. They involve "stretched" notation—slurs that span entire pages, stems of varying lengths, and complex nested hierarchies.

Currently, if you want a clean, typeset Schenkerian graph, you usually have to draw it by hand, scan it, and then spend hours manually clicking and dragging symbols in software like Adobe Illustrator. This paper, "A Novel Dataset and Framework for Schenkerian Optical Music Recognition," aims to change that by teaching AI to read these complex musical maps.

TL;DR

The authors present the first end-to-end framework and dataset for digitizing handwritten Schenkerian analyses. By combining a dual-scale object detection ensemble with a "topological" neural network that understands how musical symbols relate to one another, they’ve turned a painstaking manual process into an automated pipeline.

Fig. 1. Handwritten SchA (left) transformed into a typeset graph (right).

What Problem Does This Paper Address?

Optical Music Recognition (OMR) has gotten pretty good at reading standard sheet music. However, Schenkerian notation is a different beast. It uses the same "alphabet" as standard music (noteheads, slurs, beams) but uses them to represent hierarchy rather than rhythm.

Standard OMR systems typically look at small "windows" of an image. This works for a quarter note, but it fails miserably for a Schenkerian slur that starts on the first measure and ends on the last. Furthermore, the density of symbols in these graphs is much higher than in a standard score, leading to "visual noise" that confuses traditional models. The gap is clear: we need a system that can see both the tiny details (a dot) and the massive structures (a page-long beam) simultaneously.

Methods

The authors propose a multi-stage pipeline that mimics how a human might read a complex diagram:

  1. Object Detection (The Ensemble): Instead of one model, they use two. YOLOv8L is tasked with finding small symbols (noteheads, accidentals) by looking at square tiles of the page. Meanwhile, RF-DETR looks at full-width horizontal strips to capture large-scale symbols like long slurs and structural beams.
  2. Notation Assembly (The Brain): Once the symbols are found, they need to be connected. The authors use a topological neural network. Unlike standard graph neural networks that just look at nodes, this model allows "candidate links" to talk to each other. If a notehead is already attached to one stem, the model learns that it’s less likely to be attached to another one nearby.
  3. Semantic Conversion: Finally, an algorithm takes this "graph" of symbols and relationships and converts it into a standardized JSON format, which can then be fed into music notation software for perfect typesetting.

Datasets

The paper introduces HandSchA, the first-ever dataset of labeled handwritten Schenkerian analyses.

  • Scale: 47 pages of expert-level analyses covering 12 works by composers like Bach, Schubert, and Rachmaninov.
  • Detail: Over 30,000 annotated symbols across 128 different classes.
  • Comparison: They also evaluated their system on MUSCIMA++, the gold-standard dataset for traditional handwritten music, to prove their framework works for standard notation too.
Fig. 2. a) Typeset CWMN, b) handwritten SchA, and c) mixed notation, from Timothy Jackson’s analysis of Schubert’s Einsamkeit, D. 620, mm. 1-16.

Key Insights and Ideas

  • The "Forest and the Trees" Problem: By using different cropping schemes for different symbol sizes, the authors solved a major bottleneck in OMR. You can't use the same "zoom level" for a notehead and a phrase slur.
  • Hyperedges for Context: Treating relationships as active participants in the neural network (rather than just passive lines between nodes) allows the model to resolve ambiguity in dense areas of the score.
  • Human-in-the-Loop: The dataset was built using a "model-assisted" approach. They used an early version of the AI to suggest labels, which human experts then corrected. This created a virtuous cycle that improved both the data and the model.

Key Results

  • Detection: The ensemble model significantly outperformed single-model baselines. On "very large symbols" (longer than 800 pixels), their approach achieved a weighted mAP (mean Average Precision) of 80.58%, compared to just 54.52% for previous state-of-the-art systems.
  • Assembly: Their topological network achieved an F1 score of 86.48% for syntax-link prediction on the HandSchA dataset, a massive jump over general-purpose models like GraphSAGE (~75%).
  • Versatility: The system isn't just for Schenker; it also set new performance bars on the standard MUSCIMA++ dataset, proving that "thinking topologically" is a better way to read music in general.

Limitations and Future Work

While a major step forward, the authors note a few hurdles:

  • Dataset Size: 47 pages is a great start, but deep learning loves data. They plan to expand the dataset with more analysts and more diverse musical styles.
  • Mixed Notation: Currently, the system excels at "pure" Schenkerian graphs. Future work will focus on "mixed notation," where analytical marks are scribbled directly onto a full, complex orchestral score.
  • End-to-End Refinement: While the multi-stage pipeline is robust, the authors are looking into ways to make the transition from "detected box" to "musical meaning" even more seamless.

Summary updated

Abstract

Music theory enables performers, composers, and listeners to engage more deeply with music. Schenkerian analysis (SchA) is a particularly illustrative and widely used approach for modeling tonal structure, organizing music into hierarchical layers of harmonic and voice-leading relationships. Despite its importance in pedagogy and scholarship, producing well-formatted Schenkerian graphs remains difficult. A typical workflow might involve writing the Schenkerian analysis on paper, and then manually, painstakingly, entering each symbol by hand into music software, exporting to vector graphics, and manually refining layouts in graphical editors. Existing optical music recognition (OMR) systems for handwritten common western music notation (CWMN) can be leveraged for their ability to recognize small-scale symbols common to those in SchA. However, CWMN OMR models generally fail to recognize large symbols such as phrase slurs, struggle with dense notation, and do not recognize Schenkerian analysis markings. Thus, these models do not extend well to digitizing SchA. This paper introduces a novel framework for optical music recognition of both CWMN and SchA. Our novel contributions include (1) an ensemble model in which each individual model follows a different image-cropping scheme for improved object detection, (2) a topological neural network architecture for notation assembly, where candidate hyperedges attend to one another and perform hierarchical message passing, (3) the first dataset of labeled handwritten SchAs, gathered with novel model integration to the OMR-annotation software, MuNG Studio, and (4) the first algorithm for converting semantic Schenkerian graphs into typeset format.
BibTeX
@misc{huang2026novel,
  author = {Yixuan Huang and Xiao Yun and Jiayin Zheng and Simon Mak and Yue Jiang and Cynthia Rudin and Stephen Ni-Hahn},
  title = {{A Novel Dataset and Framework for Schenkerian Optical Music Recognition}},
  year = {2026},
  eprint = {2611.26958},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26958},
}
Figure