Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHugging Face Daily Papers→ original

DuET cuts piano-to-score transcription error from 6.56% to 3.64%

Transcribing an expressive piano performance into musical notation requires simultaneously understanding individual note timing shifts and the underlying metrical structure. Researchers from the National University of Singapore tackled this problem with DuET, a model that jointly models note transcription and beat tracking, linking both processes through dedicated attention mechanisms. DuET is a dual-encoder transformer in which bidirectional cross-attention connects a note encoder and a frame encoder, while an autoregressive decoder alternates between their representations to predict structured score attributes. The model uses TimeRoPE and Time-Pitch Rotary Positional Encoding (TPRoPE) to establish a unified time reference and explicitly encode relative time and pitch relationships.

AI-processed from Hugging Face Daily Papers; edited by Hamidun News
DuET cuts piano-to-score transcription error from 6.56% to 3.64%
Source: Hugging Face Daily Papers. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHugging Face Daily Papers ↗
Editor-in-Chief
DatasetsASAP (classical music) and Gangqinpu (more than 18,000 performance-score pairs spanning several genres, with a focus on popular piano music)
Resultson Gangqinpu, the MUSTER metric error dropped from 6.56% to 3.64%; on ASAP, it fell from 11.30% to 11.22%
Resourcesa live demo at https://huggingface.co/spaces/Wayne42/DuET-demo and source code at https://github.com/wei-zeng98/DuET

The problem and the approach

Automatically transcribing piano performances into musical notation is a complex task. A performer varies the timing of each note and shifts the rhythm, yet the resulting score must capture not only the correct pitches but also the bar structure and how notes line up with strong beats. Traditional approaches have focused either on the note level (pitches sounded) or the frame level (beats and downbeats). Researchers Wei Zeng and Ye Wang from the National University of Singapore proposed a fundamentally different solution: a dual-encoder transformer that handles both tasks at once through mutual attention.

DuET's architecture

The model is built on the following components:

Dual encoding and cross-attention: separate encoders process note pitches and the rhythmic frame grid, linked by bidirectional cross-attention to exchange context. An autoregressive decoder alternates between note and frame representations, predicting score attributes sequentially.

Positional encodings: TimeRoPE establishes a unified performance-time reference, while Time-Pitch Rotary Positional Encoding (TPRoPE) explicitly encodes relative time and pitch relationships. These mechanisms let the model more accurately handle the main sources of error — tempo changes and a performer's phrasing.

Joint training: rather than solving MIDI-to-score transcription (PM2S) and beat-and-downbeat tracking separately, the model treats them as a single task, where context from one level helps the other.

Results on the datasets

The team tested DuET on two datasets:

Gangqinpu — the authors' own dataset, with more than 18,000 performance-score pairs spanning several genres and a particular focus on popular piano music. Here, DuET cut the average MUSTER metric error from 6.56% to 3.64% — an improvement of 2.92 percentage points.

ASAP — a classical dataset of academic repertoire. The result here was more modest: error dropped from 11.30% to 11.22%. The difference stems from the complexity of classical repertoire, where interpretive variation is greater.

Ablation studies confirmed that the gains come from frame-level context, temporal positional encodings, and decoder history masking.

Available resources

The authors have released everything needed to use the model:

Interactive demo: https://huggingface.co/spaces/Wayne42/DuET-demo lets you try the model directly in your browser with your own audio recordings.

Source code and weights: https://github.com/wei-zeng98/DuET contains the full implementation and trained models.

Gangqinpu dataset: the authors plan to release the full dataset of more than 18,000 examples for further research.

The work was published on October 15, 2026 and has already drawn a positive response from the community.

Story

Key Questions Answered

What are the key details on The problem and the approach?

Automatically transcribing piano performances into musical notation is a complex task. A performer varies the timing of each note and shifts the rhythm, yet the resulting score must capture not only the correct pitches but also the bar structure and how notes line up with strong beats. Traditional approaches have focused either on the note level (pitches sounded) or the frame level (beats and downbeats).

What are the key details on DuET's architecture?

The model is built on the following components: Dual encoding and cross-attention: separate encoders process note pitches and the rhythmic frame grid, linked by bidirectional cross-attention to exchange context. An autoregressive decoder alternates between note and frame representations, predicting score attributes sequentially.

What are the key details on Results on the datasets?

The team tested DuET on two datasets: Gangqinpu — the authors' own dataset, with more than 18,000 performance-score pairs spanning several genres and a particular focus on popular piano music. Here, DuET cut the average MUSTER metric error from 6.56% to 3.64% — an improvement of 2.92 percentage points. ASAP — a classical dataset of academic repertoire. The result here was more modest: error dropped from 11.30% to 11.22%.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — DuET cuts piano-to-score transcription error from 6.56% to 3.64% https://news.hamidun.com/en/news/13112/duet-cuts-piano-to-score-transcription-error-from-6-56-to-3

What do you think?
Loading comments…