Differentiable Short-Term Models for Efficient Online Learning and Prediction in Monophonic Music. Issue 1 (29th November 2022)
- Record Type:
- Journal Article
- Title:
- Differentiable Short-Term Models for Efficient Online Learning and Prediction in Monophonic Music. Issue 1 (29th November 2022)
- Main Title:
- Differentiable Short-Term Models for Efficient Online Learning and Prediction in Monophonic Music
- Authors:
- Bjare, Mathias Rose
Lattner, Stefan
Widmer, Gerhard - Abstract:
- As pieces of music are usually highly self-similar, online-learning short-term models are well-suited for musical sequence prediction tasks. Due to their simplicity and interpretability, Markov chains (MCs) are often used for such online learning, with Prediction by Partial Matching (PPM) being a more sophisticated variant of simple MCs. PPM, also used in the well-known IDyOM model, constitutes a variable-order MC that relies on exact matches between observed n -grams and weights more recent events higher than those further in the past. We argue that these assumptions are limiting and propose the Differentiable Short-Term Model (DSTM) that is not limited to exact matches of n -grams and can also learn the relative importance of events. During (offline-)training, the DSTM learns representations of n -grams that are useful for constructing fast weights (that resemble an MC transition matrix) in online learning of intra-opus pitch prediction. We propose two variants: the Discrete Code Short-Term Model and the Continuous Code Short-Term Model. We compare the models to different baselines on the "The Session" dataset and find, among other things, that the Continuous Code Short-Term Model has a better performance than Prediction by Partial Matching, as it adapts faster to changes in the data distribution. We perform an extensive evaluation of the models, and we discuss some analogies of DSTMs with linear transformers. The source code for model training and the experiments isAs pieces of music are usually highly self-similar, online-learning short-term models are well-suited for musical sequence prediction tasks. Due to their simplicity and interpretability, Markov chains (MCs) are often used for such online learning, with Prediction by Partial Matching (PPM) being a more sophisticated variant of simple MCs. PPM, also used in the well-known IDyOM model, constitutes a variable-order MC that relies on exact matches between observed n -grams and weights more recent events higher than those further in the past. We argue that these assumptions are limiting and propose the Differentiable Short-Term Model (DSTM) that is not limited to exact matches of n -grams and can also learn the relative importance of events. During (offline-)training, the DSTM learns representations of n -grams that are useful for constructing fast weights (that resemble an MC transition matrix) in online learning of intra-opus pitch prediction. We propose two variants: the Discrete Code Short-Term Model and the Continuous Code Short-Term Model. We compare the models to different baselines on the "The Session" dataset and find, among other things, that the Continuous Code Short-Term Model has a better performance than Prediction by Partial Matching, as it adapts faster to changes in the data distribution. We perform an extensive evaluation of the models, and we discuss some analogies of DSTMs with linear transformers. The source code for model training and the experiments is available athttps://github.com/muthissar/diffstm . … (more)
- Is Part Of:
- Transactions of the International Society for Music Information Retrieval. Volume 5:Issue 1(2022)
- Journal:
- Transactions of the International Society for Music Information Retrieval
- Issue:
- Volume 5:Issue 1(2022)
- Issue Display:
- Volume 5, Issue 1 (2022)
- Year:
- 2022
- Volume:
- 5
- Issue:
- 1
- Issue Sort Value:
- 2022-0005-0001-0000
- Page Start:
- 190
- Page End:
- 207
- Publication Date:
- 2022-11-29
- Subjects:
- short-term models -- online-learning -- meta-learning -- music prediction -- Prediction by Partial Matching -- Markov chains -- neural networks
025 - Journal URLs:
- https://transactions.ismir.net/ ↗
- DOI:
- 10.5334/tismir.123 ↗
- Languages:
- English
- ISSNs:
- 2514-3298
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 24409.xml