Detecting Music Performance Errors with Transformers

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.

Cite

Text

Chou et al. "Detecting Music Performance Errors with Transformers." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I22.34539

Markdown

[Chou et al. "Detecting Music Performance Errors with Transformers." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/chou2025aaai-detecting/) doi:10.1609/AAAI.V39I22.34539

BibTeX

@inproceedings{chou2025aaai-detecting,
  title     = {{Detecting Music Performance Errors with Transformers}},
  author    = {Chou, Benjamin Shiue-Hal and Jajal, Purvish and Eliopoulos, Nicholas John and Nadolsky, Tim and Yang, Cheng-Yun and Ravi, Nikita and Davis, James C. and Yun, Kristen Yeon-Ji and Lu, Yung-Hsiang},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {23687-23695},
  doi       = {10.1609/AAAI.V39I22.34539},
  url       = {https://mlanthology.org/aaai/2025/chou2025aaai-detecting/}
}