Detecting Music Performance Errors with Transformers

Authors

  • Benjamin Shiue-Hal Chou Purdue University
  • Purvish Jajal Purdue University
  • Nicholas John Eliopoulos Purdue University
  • Tim Nadolsky Purdue University
  • Cheng-Yun Yang Purdue University
  • Nikita Ravi Purdue University
  • James C. Davis Purdue University
  • Kristen Yeon-Ji Yun Purdue University
  • Yung-Hsiang Lu Purdue University

DOI:

https://doi.org/10.1609/aaai.v39i22.34539

Abstract

Beginner musicians often struggle to identify specific errors in their performances, such as playing incorrect notes or rhythms. There are two limitations in existing tools for music error detection: (1) Existing approaches rely on automatic alignment; therefore, they are prone to errors caused by small deviations between alignment targets; (2) There is insufficient data to train music error detection models, resulting in over-reliance on heuristics. To address (1), we propose a novel transformer model, Polytune, that takes audio inputs and outputs annotated music scores. This model can be trained end-to-end to implicitly align and compare performance audio with music scores through latent space representations. To address (2), we present a novel data generation technique capable of creating large-scale synthetic music error datasets. Our approach achieves a 64.1% average Error Detection F1 score, improving upon prior work by 40 percentage points across 14 instruments. Additionally, our model can handle multiple instruments compared with existing transcription methods repurposed for music error detection.

Published

2025-04-11

How to Cite

Chou, B. S.-H., Jajal, P., Eliopoulos, N. J., Nadolsky, T., Yang, C.-Y., Ravi, N., … Lu, Y.-H. (2025). Detecting Music Performance Errors with Transformers. Proceedings of the AAAI Conference on Artificial Intelligence, 39(22), 23687–23695. https://doi.org/10.1609/aaai.v39i22.34539

Issue

Section

AAAI Technical Track on Natural Language Processing I