Proceedings

Musical Phrase Segmentation via Grammatical Induction

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. AI, Arts & Creativity. Pages 7726-7734.

https://doi.org/10.24963/ijcai.2024/855

Abstract

We outline a solution to the challenge of musical phrase segmentation that uses grammatical induction algorithms, a class of algorithms which infer a context-free grammar from an input sequence. We analyze the performance of five grammatical induction algorithms on three datasets using various musical viewpoint combinations. Our experiments show that the LONGESTFIRST algorithm achieves the best F1 scores across all three datasets and that input encodings that include the duration viewpoint result in the best performance.

  1. [Barlow and Morgenstern, 1953] Harold Barlow and Sam Morgenstern. A Dictionary of Musical Themes. Crown, New York, 1953.
  2. [Bod, 2001] Rens Bod. Probabilistic grammars for music. In Proceedings of the Belgian-Dutch Conference on Artificial Intelligence, page 8, 2001.
  3. [Brinkman, 2020] Andrew Brinkman. Exploring the Struc- ture of Germanic Folksong. Doctoral Dissertation, Ohio State University, OhioLINK Electronic Theses and Dis- sertations Center, 2020.
  4. [Bruhn, 1993] Siglind Bruhn. J.S. Bach's Well-Tempered Clavier: In-depth Analysis and Interpretation. Mainer, Hong Kong, 1993.
  5. [Bryden, 2006] Kris Bryden. Using a human-in-the-loop evolutionary algorithm to create data-driven music. In Pro- ceedings of the 2006 IEEE World Congress on Compu- tational Intelligence, pages 2065-2071, Vancouver, CA, 2006.
  6. [Carrascosa et al., 2010] Rafael Carrascosa, Franc ¸ois Coste, Matthias Gallé, and Gabriel Infante-Lopez. Choosing word occurrences for the smallest grammar problem. In Proceedings of the 4th International Conference on Lan- guage and Automata Theory and Applications, volume LNCS 6031, pages 154-165, 2010.
  7. [Cilibrasi et al., 2004] Rudi Cilibrasi, Paul Vitányi, and Ronald de Wolf. Algorithmic clustering of music based on string compression. Computer Music Journal, 28(4):49- 67, 2004.
  8. [Conklin and Bergeron, 2008] Darrell Conklin and Mathieu Bergeron. Feature set patterns in music. Computer Music Journal, 32(1):60-70, 2008.
  9. [Dalhoum et al., 2008] Abdel Latif Abu Dalhoum, Manuel Alfonseca, Manuel Cebrián Ramos, Rafael Sánchez- Alfonso, and Alfonso Ortega. Computer-generated music using grammatical evolution. In Proceedings of the 9th Middle Eastern Simulation Multiconference, pages 55-61, 2008.
  10. [Fox, 2006] Charles Fox. Genetic hierarchical music struc- tures. In Proceedings of the Nineteenth International Florida Artificial Intelligence Research Society Confer- ence, pages 243-247, 2006.
  11. [Gilbert and Conklin, 2007] Edouard Gilbert and Darrell Conklin. A probabilistic context-free grammar for melodic reduction. In Proceedings of the Twentieth International Joint Conference on Artificial Intelligence, pages 83-94, 2007.
  12. [Kitani and Koike, 2010] Kris Makoto Kitani and Hideki Koike. ImprovGenerator: Online grammatical induction for on-the-fly improvisation accompaniment. In Proceed- ings of the International Conference on New Interfaces for Musical Expression, pages 469-472, 2010.
  13. [Larsson and Moffat, 1999] N. Jesper Larsson and Alistair Moffat. Offline dictionary-based compression. In Pro- ceedings of the Data Compression Conference, pages 296- 305, Snowbird, UT, USA, 1999.
  14. [Mason et al., 2019] Stacey Mason, Ceri Stagg, and Noah Wardrip-Fruin. Lume: A system for procedural story gen- eration. In Proceedings of the 14th International Con- ference on the Foundations of Digital Games, pages 1-9, 2019.
  15. [McCormack, 1996] Jon McCormack. Grammar based mu- sic composition. Complex Systems, 3:321-336, 1996.
  16. [Müller et al., 2006] Pascal Müller, Peter Wonka, Simon Haegler, Andreas Ulmer, and Luc Van Gool. Procedural modeling of buildings. ACM Transactions on Graphics, 25(3):614-623, 2006.
  17. [Neumeyer, 2018] David Neumeyer. A Guide to Schenkerian Analysis. The University of Texas at Austin, 2018.
  18. [Nevill-Manning and Witten, 1997] Craig G. Nevill- Manning and Ian H. Witten. Identifying hierarchical structure in sequences: A linear-time algorithm. Journal of Artificial Intelligence Research, 7:67-82, 1997.
  19. [Nevill-Manning and Witten, 2000] Craig G. Nevill- Manning and Ian H. Witten. On-line and off-line heuristics for inferring hierarchies of repetitions in se- quences. Proceedings of the IEEE, 88(11):1745-1755, 2000.
  20. [Perkins and Ventura, 2024] Reed Perkins and Dan Ventura. Musical phrase segmentation via grammatical induction. https://arxiv.org/abs/2405.18742, 2024. Accessed: 2024- 06-05. Link
  21. [Ritchie et al., 2015] Daniel Ritchie, Ben Mildenhall, Noah D. Goodman, and Pat Hanrahan. Controlling pro- cedural modeling programs with stochastically-ordered sequential Monte Carlo. ACM Transactions on Graphics, 34(4), 2015. Article 105.
  22. [Ritchie et al., 2018] Daniel Ritchie, Sarah Jobalia, and Anna Thomas. Example-based authoring of procedural modeling programs with structural and continuous vari- ability. Computer Graphics Forum, 37(2):401-413, 2018.
  23. [Rowe, 2016] Brian Rowe. Inspired space: Inside the devel- opment of Astroneer. https://www.unrealengine.com/en- US/developer-interviews/inspired-space-inside-the- development-of-astroneer, 2016. Accessed: 2025-06-05. Link
  24. [Schaffrath, 1995] Helmut Schaffrath. The Essen Folksong Collection. Center for Computer Assisted Research in the Humanities, 1995.
  25. [Schoenberg et al., 1967] Arnold Schoenberg, Gerald Strang, and Leonard Stein. Fundamentals of Musical Composition. Faber and Faber, London, 1967.
  26. [Steedman, 1984] Mark J. Steedman. A generative grammar for jazz chord sequences. Music Perception: An Interdis- ciplinary Journal, 2(1):52-77, 1984.
  27. [Talton et al., 2012] Jerry Talton, Lingfeng Yang, Ranjitha Kumar, Maxine Lim, Noah Goodman, and Radomír Měch. Learning design patterns with Bayesian grammar induc- tion. In Proceedings of the 25th Annual ACM Symposium on User Interface, Software, and Technology, pages 63- 74, Cambridge, Massachusetts, USA, 2012.
  28. [The Church of Jesus Christ of Latter-day Saints, 1985] The Church of Jesus Christ of Latter-day Saints. Hymns of the Church of Jesus Christ of Latter-day Saints. The Church of Jesus Christ of Latter-day Saints, Salt Lake City, 1985.
  29. [Wolff, 2011] J. Gerard Wolff. An algorithm for the segmen- tation of an artificial language analogue. British Journal of Psychology, 66:79 -90, 2011.
  30. [Ziv and Lempel, 1978] Jacob Ziv and Abraham Lempel. Compression of individual sequences via variable-rate coding. IEEE Transactions on Information Theory, 24(5):530-536, 1978.
  31. [Št'ava et al., 2010] Ondrej Št'ava, Bedrich Beneš, Radomir Měch, Daniel G. Aliaga, and Peter Krištof. Inverse pro- cedural modeling by automatic generation of L-systems. Computer Graphics Forum, 29(2):665-674, 2010.

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

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