Skip to main content
QUICK REVIEW

[Paper Review] Modelling Symbolic Music: Beyond the Piano Roll

Christian Walder|arXiv (Cornell University)|Jun 4, 2016
Music and Audio ProcessingComputer Science3 references8 citations
TL;DR

This paper proposes a novel approach to symbolic music generation by transforming polyphonic music into a univariate categorical sequence, enabling the use of state-of-the-art LSTM language models from NLP. By employing data augmentation via transposition across all musical keys and supporting arbitrary rhythmic structures, the model achieves state-of-the-art performance on benchmark datasets and generates more musically sophisticated outputs than previous RNN-based models.

ABSTRACT

In this paper, we consider the problem of probabilistically modelling symbolic music data. We introduce a representation which reduces polyphonic music to a univariate categorical sequence. In this way, we are able to apply state of the art natural language processing techniques, namely the long short-term memory sequence model. The representation we employ permits arbitrary rhythmic structure, which we assume to be given. We show that our model is effective on four out of four piano roll based benchmark datasets. We further improve our model by augmenting our training data set with transpositions of the original pieces through all musical keys, thereby convincingly advancing the state of the art on these benchmark problems. We also fit models to music which is unconstrained in its rhythmic structure, discuss the properties of this model, and provide musical samples which are more sophisticated than previously possible with this class of recurrent neural network sequence models. We also provide our newly preprocessed data set of non piano-roll music data.

Motivation & Objective

  • To address the challenge of modeling polyphonic music as a sequential data problem with complex, simultaneous note combinations.
  • To overcome the limitations of fixed-time piano roll representations by enabling arbitrary rhythmic structures in music modeling.
  • To improve performance on symbolic music generation benchmarks using data augmentation via transposition across all musical keys.
  • To demonstrate that univariate sequence modeling with LSTMs can generate musically coherent and sophisticated compositions beyond prior RNN-based approaches.
  • To release a new, preprocessed dataset of non-piano-roll symbolic music for future research.

Proposed method

  • The model reduces polyphonic music to a univariate sequence of note events, where each time step represents a single categorical note or chord event.
  • It employs a multi-layer Long Short-Term Memory (LSTM) network to model sequential dependencies in the univariate note sequence.
  • The input representation encodes each note as a discrete token in a vocabulary of 88 MIDI notes, enabling end-to-end training with cross-entropy loss.
  • Data augmentation is applied by transposing each original piece into all 12 musical keys, significantly expanding the training distribution and improving generalization.
  • The model conditions on fixed rhythmic structures provided as input, allowing it to generate music with complex, non-uniform note durations.
  • A learned embedding layer maps raw note indices into a dense semantic space, revealing structural patterns such as octave equivalence.

Experimental results

Research questions

  • RQ1Can a univariate sequence modeling approach with LSTMs effectively capture the complexity of polyphonic music with simultaneous note events?
  • RQ2How does data augmentation via transposition across all musical keys affect performance on symbolic music generation benchmarks?
  • RQ3To what extent can an RNN-based model generate musically coherent and rhythmically complex music when conditioned on arbitrary rhythmic structures?
  • RQ4Does the learned embedding space capture meaningful musical relationships such as octave equivalence or chordal functions?
  • RQ5Can the model generalize beyond piano-roll formatted data and produce higher-quality outputs than prior sequence models?

Key findings

  • The model achieves state-of-the-art performance on four piano roll-based benchmark datasets, with significant improvements due to transposition-based data augmentation.
  • The model generates music with complex, non-uniform rhythmic structures, which are infeasible with traditional piano roll-based models due to resolution constraints.
  • The learned embedding layer reveals a clear structural pattern corresponding to octave equivalence, despite raw inputs being orthogonal and unstructured.
  • The model's performance is robust across diverse musical sources, and pooling data from multiple sources further improves results.
  • The authors release a new preprocessed dataset of non-piano-roll symbolic music, which supports future research in algorithmic composition.
  • Musical samples generated by the model demonstrate greater sophistication and musical coherence than previous RNN-based models.

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.