[Paper Review] High-resolution Piano Transcription with Pedals by Regressing Onset and Offset Times
This paper proposes a high-resolution piano transcription system that regresses precise onset and offset times of notes and sustain pedals using a deep learning model, enabling arbitrary temporal resolution. At inference, an analytical algorithm computes exact timing, achieving state-of-the-art onset F1 of 96.72% on MAESTRO and the first benchmark pedal transcription F1 of 91.86%.
Automatic music transcription (AMT) is the task of transcribing audio recordings into symbolic representations. Recently, neural network-based methods have been applied to AMT, and have achieved state-of-the-art results. However, many previous systems only detect the onset and offset of notes frame-wise, so the transcription resolution is limited to the frame hop size. There is a lack of research on using different strategies to encode onset and offset targets for training. In addition, previous AMT systems are sensitive to the misaligned onset and offset labels of audio recordings. Furthermore, there are limited researches on sustain pedal transcription on large-scale datasets. In this article, we propose a high-resolution AMT system trained by regressing precise onset and offset times of piano notes. At inference, we propose an algorithm to analytically calculate the precise onset and offset times of piano notes and pedal events. We show that our AMT system is robust to the misaligned onset and offset labels compared to previous systems. Our proposed system achieves an onset F1 of 96.72% on the MAESTRO dataset, outperforming previous onsets and frames system of 94.80%. Our system achieves a pedal onset F1 score of 91.86\%, which is the first benchmark result on the MAESTRO dataset. We have released the source code and checkpoints of our work at https://github.com/bytedance/piano_transcription.
Motivation & Objective
- Address the limited temporal resolution in prior frame-wise onset/offse t detection methods, which are constrained by frame hop size (e.g., 32 ms).
- Improve robustness to misaligned onset and offset labels in training data, which degrade performance in existing systems.
- Enable high-resolution transcription by modeling precise onset and offset times rather than binary frame-level predictions.
- Provide the first comprehensive evaluation of sustain pedal transcription on the MAESTRO dataset, establishing a benchmark.
- Develop an analytical inference algorithm to compute exact onset and offset times with arbitrary resolution, surpassing frame-level precision.
Proposed method
- Train a deep neural network to regress the time difference between the center of each audio frame and the nearest onset or offset time.
- Use regression targets instead of binary labels, preserving fine-grained timing information for both notes and sustain pedals.
- Apply an analytical algorithm at inference to compute exact onset and offset times by minimizing a differentiable loss function over time differences.
- Utilize a CNN-based architecture with residual connections, trained end-to-end on the MAESTRO dataset for both note and pedal transcription.
- Introduce a novel evaluation protocol with variable tolerance levels (2–100 ms for onsets, 10–500 ms for offsets) to assess resolution and robustness.
- Implement a separate head for sustain pedal prediction, using frame-wise regression to detect pedal onset and offset events.
Experimental results
Research questions
- RQ1Can regression-based modeling of onset and offset times achieve higher transcription resolution than frame-wise classification?
- RQ2How does the proposed system perform under varying onset and offset evaluation tolerances compared to fixed-tolerance baselines?
- RQ3To what extent is the model robust to misaligned ground-truth labels in training data?
- RQ4Can a regression-based approach achieve state-of-the-art performance on both note and sustain pedal transcription?
- RQ5Is it feasible to compute exact onset and offset times analytically from regression outputs, enabling arbitrary temporal resolution?
Key findings
- The proposed system achieves an onset F1 score of 96.72% on the MAESTRO dataset, outperforming the prior onsets and frames system (94.80%) across all tested tolerance levels.
- With a 100 ms tolerance, the system achieves a note F1 score of 96.79%, demonstrating superior performance at high-resolution evaluation.
- The system achieves a pedal onset F1 score of 91.86% with a 50 ms tolerance, marking the first benchmark result for sustain pedal transcription on the MAESTRO dataset.
- The system outperforms a re-implemented onsets and frames baseline for pedal transcription, achieving 91.86% vs. 91.57% F1 under the same evaluation protocol.
- Error analysis reveals that false positives are primarily due to octave errors and short-duration notes (<15 ms), while false negatives often affect high or low octaves.
- The model shows degraded performance on out-of-tune pianos or low-quality recordings, indicating sensitivity to audio quality and tuning accuracy.
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.