DuET: Note-Frame Dual Encoding for Piano Performance-to-Score Transcription
Abstract
DuET is a dual-encoder transformer that jointly performs MIDI-to-score transcription and beat tracking to improve timing and duration accuracy in piano performance transcription.
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.
Community
🎹 Excited to share DuET, our piano transcription model!
DuET converts expressive piano performances into readable sheet music by jointly modeling note-level transcription and beat tracking.
Try DuET and explore our resources:
- 🎹 Online Demo: https://huggingface.co/spaces/Wayne42/DuET-demo
- 💻 GitHub: https://github.com/wei-zeng98/DuET
We're also planning to release our Gangqinpu dataset, which contains over 18,000 piano performance–score pairs, including a substantial amount of popular piano music.
We welcome any feedback, suggestions, or questions. Feel free to try DuET and share your thoughts!
Get this paper in your agent:
hf papers read 2610.21467 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 1
Collections including this paper 0
No Collection including this paper