Exploring Latent Spaces of Tonal Music using Variational Autoencoders
Not on the map. Why?
Abstract (arXiv)
Variational Autoencoders (VAEs) have proven to be effective models for producing latent representations of cognitive and semantic value. We assess the degree to which VAEs trained on a prototypical tonal music corpus of 371 Bach's chorales define latent spaces representative of the circle of fifths and the hierarchical relation of each key component pitch as drawn in music cognition. In detail, we compare the latent space of different VAE corpus encodings -- Piano roll, MIDI, ABC, Tonnetz, DFT of pitch, and pitch class distributions -- in providing a pitch space for key relations that align with cognitive distances. We evaluate the model performance of these encodings using objective metrics to capture accuracy, mean square error (MSE), KL-divergence, and computational cost. The ABC encoding performs the best in reconstructing the original data, while the Pitch DFT seems to capture more information from the latent space. Furthermore, an objective evaluation of 12 major or minor transpositions per piece is adopted to quantify the alignment of 1) intra- and inter-segment distances per key and 2) the key distances to cognitive pitch spaces. Our results show that Pitch DFT VAE latent spaces align best with cognitive spaces and provide a common-tone space where overlapping objects within a key are fuzzy clusters, which impose a well-defined order of structural significance or stability -- i.e., a tonal hierarchy. Tonal hierarchies of different keys can be used to measure key distances and the relationships of their in-key components at multiple hierarchies (e.g., notes and chords). The implementation of our VAE and the encodings framework are made available online.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 34 references that are in the map. First posted on arXiv 7 Nov 2023.
Builds on
9 of 34 references.
References · 9
- 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
- 2017Deep Learning Techniques for Music Generation -- A Surveycited by 49
- 2017Music Generation by Deep Learning - Challenges and Directionscited by 24
- 2023GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformerscited by 11
- 2019On the Importance of the Kullback-Leibler Divergence Term in Variational Autoencoders for Text Generationcited by 9
- 2023Exploring XAI for the Arts: Explaining Latent Space in Generative Musiccited by 8
- 2019Bridging the ELBO and MMDcited by 3
- 2021Signal-domain representation of symbolic music for learning embedding spacescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.