Proceedings

Tradformer: A Transformer Model of Traditional Music Transcriptions

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. AI and Arts. Pages 4915-4920.

https://doi.org/10.24963/ijcai.2022/681

Abstract

We explore the transformer neural network architecture for modeling music,

specifically Irish and Swedish traditional dance music.

Given the repetitive structures of these kinds of music, the transformer should be as successful with fewer parameters and complexity as the hitherto most successful model, a vanilla long short-term memory network.

We find that achieving good performance with the transformer is not straightforward,

and careful consideration is needed for the sampling strategy,

evaluating intermediate outputs in relation to engineering choices,

and finally analyzing what the model learns.

We discuss these points with several illustrations,

providing reusable insights for engineering other music generation systems.

We also report the high performance of our final transformer model

in a competition of music generation systems

focused on a type of Swedish dance.

  1. [Branwen, 2019] Gwern Branwen. Gpt-2 folk music. https://www.gwern.net/GPT-2-music, 2019. Link
  2. [Casini et al., 2018] Luca Casini, Gustavo Marfia, and Marco Roccetti. Some reflections on the potential and limitations of deep learning for automated music genera- tion. In 2018 IEEE 29th Annual International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC), pages 27-31, 2018.
  3. [Devlin et al., 2018] Jacob Devlin, Ming-Wei Chang, Ken- ton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understand- ing. arXiv preprint arXiv:1810.04805, 2018.
  4. [Dosovitskiy et al., 2020] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Min- derer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
  5. [Hallström et al., 2019] Eric Hallström, Simon Mossmyr, Bob Sturm, Victor Vegeborn, and Jonas Wedin. From Jigs and Reels to Schottisar och Polskor: Generating Scandinavian-like Folk Music with Deep Recurrent Net- works. In The 16th Sound & Music Computing Confer- ence, Malaga, Spain, 28-31 May 2019, 2019.
  6. [Holtzman et al., 2019] Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. The curious case of neural text degeneration. In International Conference on Learning Representations, 2019.
  7. [Huang et al., 2018] Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Ian Simon, Curtis Hawthorne, Noam Shazeer, Andrew M Dai, Matthew D Hoffman, Monica Dinculescu, and Douglas Eck. Music trans- former: Generating music with long-term structure. In International Conference on Learning Representations, 2018.
  8. [Payne, 2019] Christine Payne. Musenet. http://openai.com/blog/musenet, 2019. Link
  9. [Pearce et al., 2002] M. Pearce, D. Meredith, and G. Wig- gins. Motivations and methodologies for automation of the compositional process. Musicae Scientiae, 6(2):119-147, 2002.
  10. [Radford et al., 2018] Alec Radford, Karthik Narasimhan, Tim Salimans, and Ilya Sutskever. Improving lan- guage understanding by generative pre-training. https://openai.com/blog/language-unsupervised/, 2018. Link
  11. [Radford et al., 2019] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
  12. [Roccetti et al., 2019] Marco Roccetti, Giovanni Delnevo, Luca Casini, Nicolò Zagni, and Giuseppe Cappiello. A paradox in ml design: less data for a smarter water me- tering cognification experience. In proceedings of the 5th EAI international conference on smart objects and Tech- nologies for Social Good, pages 201-206, 2019.
  13. [Shaham and Levy, 2021] Uri Shaham and Omer Levy. What do you get when you cross beam search with nucleus sampling? arXiv preprint arXiv:2107.09729, 2021.
  14. [Sturm and Ben-Tal, 2017] Bob L Sturm and Oded Ben-Tal. Taking the models back to music practice: Evaluating generative transcription models built using deep learning. Journal of Creative Music Systems, 2:32-60, 2017.
  15. [Sturm and Maruri-Aguilar, 2021] B. L. T. Sturm and H. Maruri-Aguilar. The Ai Music Generation Challenge 2020: Double jigs in the style of O'Neill's "1001". Journal of Creative Music Systems, 2021.
  16. [Sturm et al., 2016] B. L. Sturm, J. F. Santos, O. Ben-Tal, and I. Korshunova. Music transcription modelling and composition using deep learning. In Proc. Conf. Computer Simulation of Musical Creativity, Huddersfield, UK, 2016.
  17. [Sturm, 2018] B. L. Sturm. How stuff works: LSTM model of folk music transcriptions. In Proc. Joint Workshop on Machine Learning for Music, ICML, 2018.
  18. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in neural information processing sys- tems, pages 5998-6008, 2017.
  19. [Wiegreffe and Pinter, 2019] Sarah Wiegreffe and Yuval Pin- ter. Attention is not not explanation. In Proceedings of the 2019 Conference on Empirical Methods in Natural Lan- guage Processing and the 9th International Joint Confer- ence on Natural Language Processing (EMNLP-IJCNLP), pages 11-20, 2019.

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

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