An Comparative Analysis of Different Pitch and Metrical Grid Encoding Methods in the Task of Sequential Music Generation
Not on the map. Why?
Abstract (arXiv)
Pitch and meter are two fundamental music features for symbolic music generation tasks, where researchers usually choose different encoding methods depending on specific goals. However, the advantages and drawbacks of different encoding methods have not been frequently discussed. This paper presents a integrated analysis of the influence of two low-level feature, pitch and meter, on the performance of a token-based sequential music generation model. First, the commonly used MIDI number encoding and a less used class-octave encoding are compared. Second, an dense intra-bar metric grid is imposed to the encoded sequence as auxiliary features. Different complexity and resolutions of the metric grid are compared. For complexity, the single token approach and the multiple token approach are compared; for grid resolution, 0 (ablation), 1 (bar-level), 4 (downbeat-level) 12, (8th-triplet-level) up to 64 (64th-note-grid-level) are compared; for duration resolution, 4, 8, 12 and 16 subdivisions per beat are compared. All different encodings are tested on separately trained Transformer-XL models for a melody generation task. Regarding distribution similarity of several objective evaluation metrics to the test dataset, results suggest that the class-octave encoding significantly outperforms the taken-for-granted MIDI encoding on pitch-related metrics; finer grids and multiple-token grids improve the rhythmic quality, but also suffer from over-fitting at early training stage. Results display a general phenomenon of over-fitting from two aspects, the pitch embedding space and the test loss of the single-token grid encoding. From a practical perspective, we both demonstrate the feasibility and raise the concern of easy over-fitting problem of using smaller networks and lower embedding dimensions on the generation task. The findings can also contribute to futural models in terms of feature engineering.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 23 of its 41 references that are in the map. First posted on arXiv 31 Jan 2023.
Builds on
23 of 41 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2018Music Transformercited by 211
- 2017MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic Music Generation and Accompanimentcited by 151
- 2016C-RNN-GAN: Continuous recurrent neural networks with adversarial trainingcited by 132
- 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
- 2019Generalization in Generation: A closer look at Exposure Biascited by 123
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 110
- 2016DeepBach: a Steerable Model for Bach Chorales Generationcited by 91
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2017MidiNet: A Convolutional Generative Adversarial Network for Symbolic-domain Music Generationcited by 72
- 2020The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measurescited by 53
11 more
- 2017Deep Learning Techniques for Music Generation -- A Surveycited by 49
- 2019Scheduled Sampling for Transformerscited by 48
- 2020MusPy: A Toolkit for Symbolic Music Generationcited by 37
- 2018A Functional Taxonomy of Music Generation Systemscited by 31
- 2021Controllable deep melody generation via hierarchical music structure representationcited by 30
- 2020PIANOTREE VAE: Structured Representation Learning for Polyphonic Musiccited by 25
- 2020PiRhDy: Learning Pitch-, Rhythm-, and Dynamics-aware Embeddings for Symbolic Musiccited by 24
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
- 2022SinTra: Learning an inspiration model from a single multi-track music segmentcited by 2
- 2018Learning Transposition-Invariant Interval Features from Symbolic Music and Audiocited by 1
Built on by
Citing papers per year: 2024: 2.
2 papers.