Do Music Generation Models Encode Music Theory?

Megan Wei, Michael Freeman, Chris Donahue, Chen Sun
10/1/2024
cs.SDcs.AIcs.CL

No official code found. Best implementation: brown-palm/syntheory (24 stars, MIT, last commit 2024-10-30).

Abstract

Music foundation models possess impressive music generation capabilities. When people compose music, they may infuse their understanding of music into their work, by using notes and intervals to craft melodies, chords to build progressions, and tempo to create a rhythmic feel. To what extent is this true of music generation models? More specifically, are fundamental Western music theory concepts observable within the "inner workings" of these models? Recent work proposed leveraging latent audio representations from music generation models towards music information retrieval tasks (e.g. genre classification, emotion recognition), which suggests that high-level musical characteristics are encoded within these models. However, probing individual music theory concepts (e.g. tempo, pitch class, chord quality) remains under-explored. Thus, we introduce SynTheory, a synthetic MIDI and audio music theory dataset, consisting of tempos, time signatures, notes, intervals, scales, chords, and chord progressions concepts. We then propose a framework to probe for these music theory concepts in music foundation models (Jukebox and MusicGen) and assess how strongly they encode these concepts within their internal representations. Our findings suggest that music theory concepts are discernible within foundation models and that the degree to which they are detectable varies by model size and layer.

View on arXivView PDF

Code Implementations(1)

MIT

Do Music Generation Models Encode Music Theory? (ISMIR 2024)

245Rust, ShellJul 30, 20241 years agoMIT
audiomusicmusic-aimusic-generationmusic-information-retrieval+1 more

Similar Papers

Cite this paper

@article{wei2024music,
  title  = {Do Music Generation Models Encode Music Theory?},
  author = {Megan Wei and Michael Freeman and Chris Donahue and Chen Sun},
  year   = {2024},
  eprint = {2410.00872},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.00872v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.00872.svg)](https://codeofpaper.com/paper/2410.00872)

Discussion