{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_theses-9359"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_theses-9359","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"A Roformer Cascade for Automatic Piano Transcription","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Zhang, Xinwen B."],"institution":null,"degree_name":"Master of Science (MS)","degree_level":null,"degree_discipline":"Computer Engineering","degree_department":null,"school":null,"contributors":["Magdalini Eirinaki; Bernardo Flores; Bertin Cordova Diba"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:04:08Z","subjects":["Computer Engineering","Engineering"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_theses/5811"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_theses/5811","href":"https://scholarworks.sjsu.edu/etd_theses/5811","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.q2tq-322h","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.q2tq-322h","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_theses-9359","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_theses-9359","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Magdalini Eirinaki; Bernardo Flores; Bertin Cordova Diba"]},{"key":"dc:creator","label":"Author","values":["Zhang, Xinwen B."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.created","label":"Dc Date Created","values":["2026-07-27T07:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis - Campus Access Only"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Engineering"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Engineering","Engineering"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.q2tq-322h","https://scholarworks.sjsu.edu/etd_theses/5811"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:title","label":"Title","values":["A Roformer Cascade for Automatic Piano Transcription"]}]}],"canonical_facts":{"dc:contributor":["Magdalini Eirinaki; Bernardo Flores; Bertin Cordova Diba"],"dc:creator":["Zhang, Xinwen B."],"dc:date.created":["2026-07-27T07:00:00Z"],"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."],"dc:identifier":["https://doi.org/10.31979/etd.q2tq-322h","https://scholarworks.sjsu.edu/etd_theses/5811"],"dc:subject":["Computer Engineering","Engineering"],"dc:title":["A Roformer Cascade for Automatic Piano Transcription"],"dc:type":["Thesis - Campus Access Only"],"thesis:degree_discipline":["Computer Engineering"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-26T14:04:08Z"}