Skip to main content

Generating Polyphonic Music Using Tied Parallel Networks

  • Conference paper
  • First Online:
Computational Intelligence in Music, Sound, Art and Design (EvoMUSART 2017)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10198))

Abstract

We describe a neural network architecture which enables prediction and composition of polyphonic music in a manner that preserves translation-invariance of the dataset. Specifically, we demonstrate training a probabilistic model of polyphonic music using a set of parallel, tied-weight recurrent networks, inspired by the structure of convolutional neural networks. This model is designed to be invariant to transpositions, but otherwise is intentionally given minimal information about the musical domain, and tasked with discovering patterns present in the source dataset. We present two versions of the model, denoted TP-LSTM-NADE and BALSTM, and also give methods for training the network and for generating novel music. This approach attains high performance at a musical prediction task and successfully creates note sequences which possess measure-level musical structure.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    www.musedata.org.

  2. 2.

    ifdo.ca/~seymour/nottingham/nottingham.html.

  3. 3.

    https://www.cs.hmc.edu/~ddjohnson/tied-parallel/.

References

  1. Bellgard, M.I., Tsang, C.P.: Harmonizing music the boltzmann way. Connect. Sci. 6(2–3), 281–297 (1994)

    Article  Google Scholar 

  2. Bengio, S., Vinyals, O., Jaitly, N., Shazeer, N.: Scheduled sampling for sequence prediction with recurrent neural networks. In: Advances in Neural Information Processing Systems, pp. 1171–1179 (2015)

    Google Scholar 

  3. Boulanger-Lewandowski, N., Bengio, Y., Vincent, P.: Modeling temporal dependencies in high-dimensional sequences: application to polyphonic music generation and transcription. In: Proceedings of the 29th International Conference on Machine Learning (ICML-2012), pp. 1159–1166 (2012)

    Google Scholar 

  4. Eck, D., Schmidhuber, J.: A first look at music composition using LSTM recurrent neural networks. Istituto Dalle Molle Di Studi Sull Intelligenza Artificiale (2002)

    Google Scholar 

  5. Fernández, J.D., Vico, F.: AI methods in algorithmic composition: a comprehensive survey. J. Artif. Intell. Res. 48, 513–582 (2013)

    MathSciNet  MATH  Google Scholar 

  6. Greff, K., Srivastava, R.K., Koutnk, J., Steunebrink, B.R., Schmidhuber, J.: LSTM: A search space odyssey. arXiv preprint arXiv:1503.04069 (2015)

  7. Hild, H., Feulner, J., Menzel, W.: HARMONET: a neural net for harmonizing chorales in the style of JS Bach. In: NIPS, pp. 267–274 (1991)

    Google Scholar 

  8. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  9. Kaiser, Ł., Sutskever, I.: Neural GPUs learn algorithms. arXiv preprint arXiv:1511.08228 (2015)

  10. Kalchbrenner, N., Danihelka, I., Graves, A.: Grid long short-term memory. arXiv preprint arXiv:1507.01526 (2015)

  11. Kingma, D.P., Welling, M.: Auto-encoding variational Bayes. arXiv preprint arXiv:1312.6114 (2013)

  12. Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. In: Advances in Neural Information Processing Systems, pp. 1097–1105 (2012)

    Google Scholar 

  13. Larochelle, H., Murray, I.: The neural autoregressive distribution estimator. In: International Conference on Artificial Intelligence and Statistics, pp. 29–37 (2011)

    Google Scholar 

  14. Lewis, J.P.: Creation by refinement and the problem of algorithmic music composition. In: Music and Connectionism, p. 212 (1991)

    Google Scholar 

  15. Moon, T., Choi, H., Lee, H., Song, I.: RnnDrop: a novel dropout for RNNs in ASR. In: Automatic Speech Recognition and Understanding (ASRU) (2015)

    Google Scholar 

  16. Mozer, M.C.: Induction of multiscale temporal structure. In: Advances in Neural Information Processing Systems, pp. 275–275 (1993)

    Google Scholar 

  17. Nierhaus, G.: Algorithmic Composition: Paradigms of Automated Music Generation. Springer Science & Business Media, Verlag (2009)

    Book  MATH  Google Scholar 

  18. Sigtia, S., Benetos, E., Cherla, S., Weyde, T., Garcez, A.S.d., Dixon, S.: An RNN-based music language model for improving automatic music transcription. In: International Society for Music Information Retrieval Conference (ISMIR) (2014)

    Google Scholar 

  19. Sutskever, I.: Training recurrent neural networks. Ph.D. thesis, University of Toronto (2013)

    Google Scholar 

  20. Theano Development Team: Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints abs/1605.02688, May 2016. http://arxiv.org/abs/1605.02688

  21. Tieleman, T., Hinton, G.: Lecture 6.5-rmsprop: Divide the gradient by a running average of its recent magnitude. In: COURSERA: Neural Networks for Machine Learning 4 (2012)

    Google Scholar 

  22. Todd, P.M.: A connectionist approach to algorithmic composition. Comput. Music J. 13(4), 27–43 (1989)

    Article  Google Scholar 

  23. Towns, J., Cockerill, T., Dahan, M., Foster, I., Gaither, K., Grimshaw, A., Hazlewood, V., Lathrop, S., Lifka, D., Peterson, G.D., et al.: XSEDE: accelerating scientific discovery. Comput. Sci. Eng. 16(5), 62–74 (2014)

    Article  Google Scholar 

  24. Vezhnevets, A., Mnih, V., Osindero, S., Graves, A., Vinyals, O., Agapiou, J., et al.: Strategic attentive writer for learning macro-actions. In: Advances in Neural Information Processing Systems, pp. 3486–3494 (2016)

    Google Scholar 

  25. Vohra, R., Goel, K., Sahoo, J.: Modeling temporal dependencies in data using a DBN-LSTM. In: IEEE International Conference on Data Science and Advanced Analytics (DSAA), 2015. 36678 2015, pp. 1–4 (2015)

    Google Scholar 

Download references

Acknowledgments

We would like to thank Dr. Robert Keller for helpful discussions and advice. We would also like to thank the developers of the Theano framework [20], which we used to run our experiments, as well as Harvey Mudd College for providing computing resources. This work used the Extreme Science and Engineering Discovery Environment (XSEDE) [23], which is supported by National Science Foundation grant number ACI-1053575.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel D. Johnson .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Johnson, D.D. (2017). Generating Polyphonic Music Using Tied Parallel Networks. In: Correia, J., Ciesielski, V., Liapis, A. (eds) Computational Intelligence in Music, Sound, Art and Design. EvoMUSART 2017. Lecture Notes in Computer Science(), vol 10198. Springer, Cham. https://doi.org/10.1007/978-3-319-55750-2_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-55750-2_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-55749-6

  • Online ISBN: 978-3-319-55750-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics