Composer Style Classification of Piano Sheet Music Images Using Language Model Pretraining

TJ Tsai, Kevin Ji
7/29/2020
cs.CVcs.CLcs.LG

Official code: tjtsai/PianoStyleEmbedding (4 stars, Jupyter Notebook, MIT, last commit 2023-06-10).

Abstract

This paper studies composer style classification of piano sheet music images. Previous approaches to the composer classification task have been limited by a scarcity of data.

Show full abstract

We address this issue in two ways: (1) we recast the problem to be based on raw sheet music images rather than a symbolic music format, and (2) we propose an approach that can be trained on unlabeled data. Our approach first converts the sheet music image into a sequence of musical "words" based on the bootleg feature representation, and then feeds the sequence into a text classifier. We show that it is possible to significantly improve classifier performance by first training a language model on a set of unlabeled data, initializing the classifier with the pretrained language model weights, and then finetuning the classifier on a small amount of labeled data. We train AWD-LSTM, GPT-2, and RoBERTa language models on all piano sheet music images in IMSLP. We find that transformer-based architectures outperform CNN and LSTM models, and pretraining boosts classification accuracy for the GPT-2 model from 46\% to 70\% on a 9-way classification task. The trained model can also be used as a feature extractor that projects piano sheet music into a feature space that characterizes compositional style.

View on arXivView PDF

Code Implementations(1)

MIT
41Jupyter Notebook, PythonNov 20, 20193 years agoMIT

Similar Papers

Cite this paper

@article{tsai2020composer,
  title  = {Composer Style Classification of Piano Sheet Music Images Using Language Model Pretraining},
  author = {TJ Tsai and Kevin Ji},
  year   = {2020},
  eprint = {2007.14587},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.14587}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2007.14587.svg)](https://codeofpaper.com/paper/2007.14587)

Discussion