Proceedings

Graph-based Polyphonic Multitrack Music Generation

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. AI and Arts. Pages 5797-5805.

https://doi.org/10.24963/ijcai.2023/643

Abstract

Graphs can be leveraged to model polyphonic multitrack symbolic music, where notes, chords and entire sections may be linked at different levels of the musical hierarchy by tonal and rhythmic relationships. Nonetheless, there is a lack of works that consider graph representations in the context of deep learning systems for music generation. This paper bridges this gap by introducing a novel graph representation for music and a deep Variational Autoencoder that generates the structure and the content of musical graphs separately, one after the other, with a hierarchical architecture that matches the structural priors of music. By separating the structure and content of musical graphs, it is possible to condition generation by specifying which instruments are played at certain times. This opens the door to a new form of human-computer interaction in the context of music co-creation. After training the model on existing MIDI datasets, the experiments show that the model is able to generate appealing short and long musical sequences and to realistically interpolate between them, producing music that is tonally and rhythmically consistent. Finally, the visualization of the embeddings shows that the model is able to organize its latent space in accordance with known musical concepts.

  1. [Agostinelli et al., 2023] Andrea Agostinelli, Timo I Denk, Zalán Borsos, Jesse Engel, Mauro Verzetti, Antoine Cail- lon, Qingqing Huang, Aren Jansen, Adam Roberts, Marco Tagliasacchi, et al. Musiclm: Generating music from text. arXiv preprint arXiv:2301.11325, 2023.
  2. [Bacciu et al., 2020] Davide Bacciu, Federico Errica, Alessio Micheli, and Marco Podda. A gentle intro- duction to deep learning for graphs. Neural Networks, 129:203-221, 2020.
  3. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ry- der, Melanie Subbiah, Jared D Kaplan, Prafulla Dhari- wal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing sys- tems, 33:1877-1901, 2020.
  4. [Brunner et al., 2017] Gino Brunner, Yuyi Wang, Roger Wattenhofer, and Jonas Wiesendanger. Jambot: Music theory aware chord based generation of polyphonic music with lstms. In 2017 IEEE 29th International Conference on Tools with Artificial Intelligence (ICTAI), pages 519- 526. IEEE, 2017.
  5. [Brunner et al., 2018] Gino Brunner, Andres Konrad, Yuyi Wang, and Roger Wattenhofer. Midi-vae: Modeling dy- namics and instrumentation of music with applications to style transfer. arXiv preprint arXiv:1809.07600, 2018.
  6. [Chu et al., 2016] Hang Chu, Raquel Urtasun, and Sanja Fi- dler. Song from pi: A musically plausible network for pop music generation. arXiv preprint arXiv:1611.03477, 2016.
  7. [Chuan and Herremans, 2018] Ching-Hua Chuan and Dorien Herremans. Modeling temporal tonal relations in polyphonic music through deep networks with a novel image-based representation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
  8. [Dong et al., 2018] Hao-Wen Dong, Wen-Yi Hsiao, Li-Chia Yang, and Yi-Hsuan Yang. Musegan: Multi-track sequen- tial generative adversarial networks for symbolic music generation and accompaniment. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.
  9. [Ens and Pasquier, 2021] Jeffrey Ens and Philippe Pasquier. Building the metamidi dataset: Linking symbolic and au- dio musical data. In ISMIR, pages 182-188, 2021.
  10. [Ferretti, 2017] Stefano Ferretti. On the modeling of mu- sical solos as complex networks. Information Sciences, 375:271-295, 2017.
  11. [Ferretti, 2018] Stefano Ferretti. On the complex network structure of musical pieces: analysis of some use cases from different music genres. Multimedia Tools and Appli- cations, 77(13):16003-16029, 2018.
  12. [Gilmer et al., 2017] Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neu- ral message passing for quantum chemistry. In Interna- tional conference on machine learning, pages 1263-1272.
  13. PMLR, 2017.
  14. [Goodfellow et al., 2014] Ian Goodfellow, Jean Pouget- Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Gen- erative adversarial nets. Advances in neural information processing systems, 27, 2014.
  15. [Goodfellow et al., 2016] Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT Press, 2016. http://www.deeplearningbook.org. Link
  16. [Higgins et al., 2016] Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, and Alexander Lerchner. beta-vae: Learning basic visual concepts with a constrained varia- tional framework. 2016. Huang et al., 2018]
  17. Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Noam Shazeer, Ian Simon, Curtis Hawthorne, Andrew M Dai, Matthew D Hoffman, Monica Dinculescu, and Douglas Eck. Music transformer. arXiv preprint arXiv:1809.04281, 2018.
  18. [Huang et al., 2019] Cheng-Zhi Anna Huang, Tim Cooij- mans, Adam Roberts, Aaron Courville, and Douglas Eck. Counterpoint by convolution. arXiv preprint arXiv:1903.07227, 2019.
  19. [Ioffe and Szegedy, 2015] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep net- work training by reducing internal covariate shift. In International conference on machine learning, pages 448-456. PMLR, 2015.
  20. [Jeong et al., 2019] Dasaem Jeong, Taegyun Kwon, Yoojin Kim, and Juhan Nam. Graph neural network for music score data and modeling expressive piano performance. In International Conference on Machine Learning, pages 3060-3070. PMLR, 2019.
  21. [Karystinaios and Widmer, 2022] Emmanouil Karystinaios and Gerhard Widmer. Cadence detection in symbolic clas- sical music using graph neural networks, 2022.
  22. [Kingma and Ba, 2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  23. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
  24. [Li et al., 2015] Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493, 2015.
  25. [Li et al., 2018] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Thirty-Second AAAI confer- ence on artificial intelligence, 2018.
  26. [Li et al., 2019] Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In Proceedings of the IEEE/CVF international conference on computer vision, pages 9267-9276, 2019.
  27. [Liu et al., 2010] Xiao Fan Liu, K Tse Chi, and Michael Small. Complex network structure of musical composi- tions: Algorithmic generation of appealing music. Physica A: Statistical Mechanics and its Applications, 389(1):126- 132, 2010.
  28. [Makhzani et al., 2015] Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Ad- versarial autoencoders. arXiv preprint arXiv:1511.05644, 2015.
  29. [Mogren, 2016] Olof Mogren. C-rnn-gan: Continuous re- current neural networks with adversarial training. arXiv preprint arXiv:1611.09904, 2016.
  30. [Raffel, 2016] Colin Raffel. Learning-based methods for comparing sequences, with applications to audio-to-midi alignment and matching. Columbia University, 2016.
  31. [Ramesh et al., 2022] Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 2022.
  32. [Roberts et al., 2018] Adam Roberts, Jesse Engel, Colin Raffel, Curtis Hawthorne, and Douglas Eck. A hierarchi- cal latent vector model for learning long-term structure in music. In International conference on machine learning, pages 4364-4373. PMLR, 2018.
  33. [Schlichtkrull et al., 2018] Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne van den Berg, Ivan Titov, and Max Welling. Modeling relational data with graph convo- lutional networks. In European semantic web conference, pages 593-607. Springer, 2018.
  34. [Simonetta et al., 2018] Federico Simonetta, Filippo Carnovalini, Nicola Orio, and Antonio Rodà. Symbolic music similarity through a graph-based representation. In Proceedings of the Audio Mostly 2018 on Sound in Immersion and Emotion, pages 1-7. 2018.
  35. [Simonovsky and Komodakis, 2017] Martin Simonovsky and Nikos Komodakis. Dynamic edge-conditioned filters in convolutional neural networks on graphs. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3693-3702, 2017.
  36. [Valenti et al., 2020] Andrea Valenti, Antonio Carta, and Da- vide Bacciu. Learning style-aware symbolic music rep- resentations by adversarial autoencoders. arXiv preprint arXiv:2001.05494, 2020.
  37. [Valenti et al., 2021] Andrea Valenti, Stefano Berti, and Da- vide Bacciu. Calliope-a polyphonic music transformer. arXiv preprint arXiv:2107.05546, 2021.
  38. [Wang et al., 2020] Ziyu Wang, Yiyi Zhang, Yixiao Zhang, Junyan Jiang, Ruihan Yang, Junbo Zhao, and Gus Xia. Pi- anotree vae: Structured representation learning for poly- phonic music. arXiv preprint arXiv:2008.07118, 2020.
  39. [Wu et al., 2020] Jian Wu, Xiaoguang Liu, Xiaolin Hu, and Jun Zhu. Popmnet: Generating structured pop music melodies using neural networks. Artificial Intelligence, 286:103303, 2020.
  40. [Yang et al., 2017] Li-Chia Yang, Szu-Yu Chou, and Yi- Hsuan Yang. Midinet: A convolutional generative ad- versarial network for symbolic-domain music generation. arXiv preprint arXiv:1703.10847, 2017.
  41. [Zou et al., 2021] Yi Zou, Pei Zou, Yi Zhao, Kaixiang Zhang, Ran Zhang, and Xiaorui Wang. Melons: gen- erating melody with long-term structure using transform- ers and structure graph. arXiv preprint arXiv:2110.05020, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards