Abstract
Audio-to-score alignment is a fundamental task in Music Information Retrieval (MIR), yet aligning "in-the-wild" data—messy PDF scans and expressive audio—remains a significant challenge due to non-linear structures like repeats. This paper introduces JLTR (Just Label The Repeats), a pragmatic human-in-the-loop workflow. By combining a fast human annotation step (labeling repeat signs) with refined computer vision and probabilistic audio features, the system achieves a 150% relative improvement in alignment accuracy over previous fully automated methods.
Introduction
The goal of audio-to-score alignment is to link specific moments in a recording to corresponding locations on sheet music. While existing systems perform well on "clean" digital formats like MIDI, they often struggle with real-world "in-the-wild" data. The primary obstacle is the presence of jumps—repeat signs, Da Capo, and Dal Segno markings—which cause the music to deviate from a linear progression. Automated jump detection is notoriously error-prone, leading to low-quality alignments that are unsuitable for downstream machine learning tasks.
Proposed System: JLTR
The authors propose a "human-in-the-loop" approach that prioritizes efficiency and accuracy. The JLTR system consists of three primary components:
- Human-in-the-loop Repeat Labeling: Instead of relying on fallible automated jump detectors, a web interface allows users to quickly click the start and end points of repeats. This process takes less than 6 seconds per page but provides the essential structural ground truth.
- Refined Score Features: The system utilizes "bootleg scores" (binary representations of noteheads and staff lines) but adds a critical measure detection step. By segmenting the page into measures and normalizing their scale, the system becomes robust to variations in printing and scan quality.
- Probabilistic Audio Features: Rather than converting audio to a "hard" MIDI representation, the system uses raw onset prediction probabilities. This "soft" representation preserves audio nuances, allowing the Dynamic Time Warping (DTW) algorithm to find more accurate matches.
Evaluation and Results
The system was evaluated on two datasets: MeSA-13 (13 diverse scans and real performances) and a subset of the SMR (Sheet MIDI Retrieval) dataset (60 solo piano pieces).
The results demonstrate a dramatic improvement in performance. On the MeSA-13 dataset, measure-level accuracy (MAcc) increased from 33% to 82% compared to prior state-of-the-art automated methods. For pieces containing jumps, providing repeat labels improved accuracy from 20% to 83%.
Discussion and Future Work
The success of JLTR highlights that pragmatism can outperform pure automation in data-scarce domains. By accepting a minimal amount of human labor, researchers can unlock high-quality multimodal datasets. Key technical insights include the importance of measure-level normalization for computer vision models and the utility of "soft" probabilistic predictions for audio alignment.
Future work includes extending the system to handle explicit clef and key signature detection. Additionally, the high-quality data generated by this workflow could eventually be used to train more robust automated jump detection models, potentially leading to a fully automated system in the future.
Summary updated