Do Music Generation Models Encode Music Theory?
<|reference_start|>Do Music Generation Models Encode Music Theory?: 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.<|reference_end|>
@article{wei2024do,
    title={Do Music Generation Models Encode Music Theory?},
    author={Megan Wei, Michael Freeman, Chris Donahue, Chen Sun},
    journal={arXiv preprint arXiv:2410.00872},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.00872},
    primaryClass={cs.SD cs.AI cs.CL cs.LG eess.AS}
}