Skip to main content
QUICK REVIEW

[Paper Review] Symbolic Music Representations for Classification Tasks: A Systematic Evaluation

Huan Zhang, Emmanouil Karystinaios|arXiv (Cornell University)|Sep 5, 2023
Music and Audio ProcessingComputer Science3 citations
TL;DR

This paper systematically evaluates matrix (piano roll), sequence (tokenized music), and graph representations for symbolic music classification using CNNs, Transformers, and Graph Neural Networks. It introduces a novel graph representation for performances and finds that graph-based models achieve competitive performance with lower training complexity, outperforming traditional approaches in key tasks like composer and difficulty classification.

ABSTRACT

Music Information Retrieval (MIR) has seen a recent surge in deep learning-based approaches, which often involve encoding symbolic music (i.e., music represented in terms of discrete note events) in an image-like or language like fashion. However, symbolic music is neither an image nor a sentence, and research in the symbolic domain lacks a comprehensive overview of the different available representations. In this paper, we investigate matrix (piano roll), sequence, and graph representations and their corresponding neural architectures, in combination with symbolic scores and performances on three piece-level classification tasks. We also introduce a novel graph representation for symbolic performances and explore the capability of graph representations in global classification tasks. Our systematic evaluation shows advantages and limitations of each input representation. Our results suggest that the graph representation, as the newest and least explored among the three approaches, exhibits promising performance, while being more light-weight in training.

Motivation & Objective

  • To evaluate the performance and efficiency of matrix, sequence, and graph representations for symbolic music classification.
  • To compare the impact of symbolic scores versus performances on classification tasks.
  • To introduce a novel graph representation for symbolic performances and assess its effectiveness.
  • To investigate whether graph representations can outperform established image-like and language-like approaches in music classification.

Proposed method

  • Representing symbolic music as piano rolls (matrix), tokenized sequences (sequence), and structured graphs with musical edges (graph).
  • Training and evaluating convolutional neural networks (CNNs), transformers, and graph neural networks (GNNs) on each representation.
  • Constructing a heterogeneous graph representation that encodes pitch, duration, voice, and metrical structure from scores and performances.
  • Using attention visualization to compare learned attention in transformers with structural edges in graphs.
  • Applying new data splits to mitigate the album effect in score-performance datasets.
  • Evaluating models on three piece-level tasks: composer classification, performer classification, and difficulty assessment.

Experimental results

Research questions

  • RQ1How do matrix, sequence, and graph representations compare in performance and training efficiency for symbolic music classification?
  • RQ2What is the impact of using scores versus performances as input data on classification accuracy?
  • RQ3Can a novel graph representation for symbolic performances achieve competitive results compared to established representations?
  • RQ4How do attention mechanisms in transformers relate to structural edges in graph representations?
  • RQ5To what extent does the album effect in score-performance datasets affect model generalization, and how can it be mitigated?

Key findings

  • Graph representations achieved the highest accuracy in composer classification on scores, reaching 87.3% with advanced features, outperforming matrix and sequence approaches.
  • Matrix representations showed marginally better average performance and greater robustness to hyperparameter changes across tasks.
  • Sequence-based models did not benefit significantly from advanced features due to increased vocabulary size and data sparsity.
  • The addition of voice edges improved graph performance, especially in score-based classification, highlighting structural modeling benefits.
  • A weak positive correlation (Pearson r = 0.212) was found between learned attention in transformers and structural edges in graphs, indicating partial alignment but differing receptive fields.
  • Smaller neural architectures achieved comparable performance to larger ones, suggesting that current models are often overparameterized for piece-level classification tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.