Back to search

San Jose State University

A Roformer Cascade for Automatic Piano Transcription

Abstract

dc:description.abstract

Automatic Music Transcription (AMT) for expressive piano performances remains a significant challenge due to the complexity of polyphony, fluctuating tempos (rubato), and shifting time signatures. While Recurrent Neural Networks (RNNs) have shown promise in predicting discrete musical tasks such as beat tracking, downbeat detection, and tempo estimation, they inherently struggle with long-range dependencies. Conversely, standard Transformer architectures, despite their success in global context modeling, often fail in rhythmic analysis due to their reliance on absolute positional encoding, which lacks a native understanding of relative musical distance. This thesis proposes a cascaded deep learning pipeline for piano transcription, replacing traditional sequential and vanilla self-attention bottlenecks with Rotary Positional Embeddings (RoPE). By implementing a RoFormer-based architecture, the model explicitly learns the relative timings between rhythmic events, resulting in more accurate downbeat and measure-level predictions. The proposed system processes acoustic features through a Convolutional Neural Network (CNN) before cascading through RoFormer blocks for beat, downbeat, and musical onset classification. Ablation studies conducted during this research demonstrate that standard Transformers struggle with beat tracking and quantisation performance compared to an RNN baseline. However, the introduction of RoPE natively helps to mitigate this limitation. The finalized RoFormer architecture achieves an F1-score of 89.6% on beat detection and 63.1% on downbeat detection, outperforming both the RNN and standard Transformer baselines. These results emphasize that relative positional awareness is a fundamental requirement for the successful application of self-attention mechanisms in musical time modeling.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Discipline thesis:degree_discipline
Computer Engineering

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Xinwen B.
Contributors dc:contributor
  • Magdalini Eirinaki; Bernardo Flores; Bertin Cordova Diba

Subjects

dc:subject × 2

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Zhang, Xinwen B.. A Roformer Cascade for Automatic Piano Transcription. https://doi.org/10.31979/etd.q2tq-322h