SOTAVerified

Scoring Time Intervals using Non-Hierarchical Transformer For Automatic Piano Transcription

2024-04-15Code Available3· sign in to hype

Yujia Yan, Zhiyao Duan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

The neural semi-Markov Conditional Random Field (semi-CRF) framework has demonstrated promise for event-based piano transcription. In this framework, all events (notes or pedals) are represented as closed time intervals tied to specific event types. The neural semi-CRF approach requires an interval scoring matrix that assigns a score for every candidate interval. However, designing an efficient and expressive architecture for scoring intervals is not trivial. This paper introduces a simple method for scoring intervals using scaled inner product operations that resemble how attention scoring is done in transformers. We show theoretically that, due to the special structure from encoding the non-overlapping intervals, under a mild condition, the inner product operations are expressive enough to represent an ideal scoring matrix that can yield the correct transcription result. We then demonstrate that an encoder-only structured non-hierarchical transformer backbone, operating only on a low-time-resolution feature map, is capable of transcribing piano notes and pedals with high accuracy and time precision. The experiment shows that our approach achieves the new state-of-the-art performance across all subtasks in terms of the F1 measure on the Maestro dataset.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
MAESTROTranskun V2 (SemiCRF)Onset F198.32Unverified
MAPSTranskun V2 (SemiCRF) with Data AugmentationOnset F190.38Unverified
MAPSTranskun V2 (SemiCRF)Onset F186.1Unverified
SMD PianoTranskun V2 (SemiCRF) with Data AugmentationOnset F198.71Unverified

Reproductions