From Context to Concept: Exploring Semantic Relationships in Music with Word2Vec
Not on the map. Why?
Abstract (arXiv)
We explore the potential of a popular distributional semantics vector space model, word2vec, for capturing meaningful relationships in ecological (complex polyphonic) music. More precisely, the skip-gram version of word2vec is used to model slices of music from a large corpus spanning eight musical genres. In this newly learned vector space, a metric based on cosine distance is able to distinguish between functional chord relationships, as well as harmonic associations in the music. Evidence, based on cosine distance between chord-pair vectors, suggests that an implicit circle-of-fifths exists in the vector space. In addition, a comparison between pieces in different keys reveals that key relationships are represented in word2vec space. These results suggest that the newly learned embedded vector representation does in fact capture tonal and harmonic characteristics of music, without receiving explicit information about the musical content of the constituent slices. In order to investigate whether proximity in the discovered space of embeddings is indicative of `semantically-related' slices, we explore a music generation task, by automatically replacing existing slices from a given piece of music with new slices. We propose an algorithm to find substitute slices based on spatial proximity and the pitch class distribution inferred in the chosen subspace. The results indicate that the size of the subspace used has a significant effect on whether slices belonging to the same key are selected. In sum, the proposed word2vec model is able to learn music-vector embeddings that capture meaningful tonal and harmonic relationships in music, thereby providing a useful tool for exploring musical properties and comparisons across pieces, as a potential input representation for deep learning models, and as a music generation device.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 1; 2024: 3; 2025: 0; 2026: 1.
9 papers.
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2023Video2Music: Suitable Music Generation from Videos using an Affective Multimodal Transformer modelcited by 37
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2021Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structurecited by 12
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2024The Music Maestro or The Musically Challenged, A Massive Music Evaluation Benchmark for Large Language Modelscited by 10
- 2021Theoretical foundations and limits of word embeddings: what types of meaning can they capture?cited by 5
- 2024A Survey of Music Generation in the Context of Interactioncited by 2
- 2026Emergent Tonal Structure in Learned Chord Embeddings and Its Relation to Tonal Tensioncited by 0
- 2026Emergent Tonal Structure in Learned Chord Embeddings and Its Relation to Tonal Tension29 Sep 2026
- 2024The Music Maestro or The Musically Challenged, A Massive Music Evaluation Benchmark for Large Language Models22 Jun 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2024A Survey of Music Generation in the Context of Interaction23 Feb 2024
- 2023Video2Music: Suitable Music Generation from Videos using an Affective Multimodal Transformer model2 Nov 2023
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modeling2 Dec 2022
- 2021Theoretical foundations and limits of word embeddings: what types of meaning can they capture?22 Jul 2021
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training10 Jun 2021
- 2021Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structure19 Feb 2021