DuET: Note-Frame Dual Encoding for Piano Performance-to-Score Transcription

Wei Zeng, Ye Wang

National University of Singapore

Published October 15, 2026 · on the feed October 19, 2026 · ▲ 3 · arXiv 2610.21467

The abstract

Transcribing expressive piano performances into scores requires interpreting individual note timings within an underlying metrical structure. However, score attributes are associated with notes, whereas beats may occur without coincident note onsets. We introduce DuET, a Dual-Encoder Transformer that jointly learns note-level performance MIDI-to-score (PM2S) transcription and frame-level beat and downbeat tracking. Bidirectional cross-attention connects note and frame encoders, while an autoregressive decoder alternates between their representations to predict structured score attributes. We further introduce TimeRoPE and Time-Pitch Rotary Positional Encoding (TPRoPE) to establish a shared performance-time reference and explicitly encode relative temporal and pitch relationships. Evaluations on ASAP, a classical piano dataset, and our curated Gangqinpu dataset, which spans multiple genres with a focus on popular piano music, demonstrate improvements in score timing and notated duration. Compared with the strongest baseline on each dataset, DuET reduces MUSTER mean error from 6.56% to 3.64% on Gangqinpu and from 11.30% to 11.22% on ASAP. Ablations support the benefits of frame-level context, time-based positional encoding, and decoder-history masking. Code, weights, and demos are available at https://github.com/wei-zeng98/DuET.

The Brief

2:23

A short podcast summary of the paper. Written and voiced by AI.

Transcript

DuET. Note-Frame Dual Encoding for Piano Performance-to-Score Transcription. By Wei Zeng and one other, from the National University of Singapore. Published on the fifteenth of October. Its code repository is public and real: about twenty source files.

Turning an expressive piano performance into a written score means reading each note's timing against a metrical structure that sits underneath it. The difficulty is a mismatch in where the information lives. Score attributes belong to notes. Beats do not: a beat can fall where no note begins at all. A model that looks only at notes has nowhere to put a beat that lands between them, and a model that tracks only beats has no direct handle on the notes it has to notate.

DuET, a Dual-Encoder Transformer, learns both views at once. One task is note-level transcription, from performance MIDI to score. The other is frame-level tracking of beats and downbeats. Rather than choosing between notes and frames, the model keeps an encoder for each and lets the two inform one another.

Bidirectional cross-attention connects the note encoder and the frame encoder. An autoregressive decoder then alternates between their two representations as it predicts structured score attributes. Two positional encodings complete the design. TimeRoPE establishes a shared reference in performance time, so both encoders sit on the same clock. Time-Pitch Rotary Positional Encoding, called TPRoPE, explicitly encodes the relative relationships between events in time and in pitch.

Evaluation uses two datasets. ASAP is a classical piano dataset. Gangqinpu is curated by the authors, spans multiple genres, and focuses on popular piano music. On both, the improvements show up in score timing and in notated duration. Against the strongest baseline on each dataset, DuET lowers MUSTER mean error on Gangqinpu from six point five six percent to three point six four percent. On ASAP the change is smaller, from eleven point three zero percent to eleven point two two percent. Ablations back three ingredients: frame-level context, time-based positional encoding, and masking of the decoder's history.

Code, weights and demos are released. Read as a whole, the argument is about representation. Notes carry the score, frames carry the beat, and transcription improves when one model holds both and keeps them on a shared timeline. The size of that improvement differs sharply between the two datasets: large on the popular music set, slight on the classical one.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.