BERT-like Pre-training for Symbolic Piano Music Classification Tasks

Yi-Hui Chou, I-Chun Chen, Chin-Jui Chang, Joann Ching, Yi-Hsuan Yang
7/12/2021
cs.SDcs.LGcs.MM
transformer-attention

Official code: wazenmai/MIDI-BERT (210 stars, Python, MIT, last commit 2024-04-10).

Abstract

This article presents a benchmark study of symbolic piano music classification using the masked language modelling approach of the Bidirectional Encoder Representations from Transformers (BERT). Specifically, we consider two types of MIDI data: MIDI scores, which are musical scores rendered directly into MIDI with no dynamics and precisely aligned with the metrical grid notated by its composer and MIDI performances, which are MIDI encodings of human performances of musical scoresheets.

Show full abstract

With five public-domain datasets of single-track piano MIDI files, we pre-train two 12-layer Transformer models using the BERT approach, one for MIDI scores and the other for MIDI performances, and fine-tune them for four downstream classification tasks. These include two note-level classification tasks (melody extraction and velocity prediction) and two sequence-level classification tasks (style classification and emotion classification). Our evaluation shows that the BERT approach leads to higher classification accuracy than recurrent neural network (RNN)-based baselines.

View on arXivView PDF

Code Implementations(1)

wazenmai/MIDI-BERTOfficial100%
MIT

[JCMS 2024] This is the official repository for the paper, MidiBERT-Piano: Large-scale Pre-training for Symbolic Music Understanding.

21030Python, ShellNov 11, 20202 years agoMIT

Similar Papers

Cite this paper

@article{chou2021bertlike,
  title  = {BERT-like Pre-training for Symbolic Piano Music Classification Tasks},
  author = {Yi-Hui Chou and I-Chun Chen and Chin-Jui Chang and Joann Ching and Yi-Hsuan Yang},
  year   = {2021},
  eprint = {2107.05223},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.05223}
}

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/2107.05223.svg)](https://codeofpaper.com/paper/2107.05223)

Discussion