IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0283103.html
   My bibliography  Save this article

An automatic music generation and evaluation method based on transfer learning

Author

Listed:
  • Yi Guo
  • Yangcheng Liu
  • Ting Zhou
  • Liang Xu
  • Qianxue Zhang

Abstract

In recent years, deep learning has seen remarkable progress in many fields, especially with many excellent pre-training models emerged in Natural Language Processing(NLP). However, these pre-training models can not be used directly in music generation tasks due to the different representations between music symbols and text. Compared with the traditional presentation method of music melody that only includes the pitch relationship between single notes, the text-like representation method proposed in this paper contains more melody information, including pitch, rhythm and pauses, which expresses the melody in a form similar to text and makes it possible to use existing pre-training models in symbolic melody generation. In this paper, based on the generative pre-training-2(GPT-2) text generation model and transfer learning we propose MT-GPT-2(music textual GPT-2) model that is used in music melody generation. Then, a symbolic music evaluation method(MEM) is proposed through the combination of mathematical statistics, music theory knowledge and signal processing methods, which is more objective than the manual evaluation method. Based on this evaluation method and music theories, the music generation model in this paper are compared with other models (such as long short-term memory (LSTM) model,Leak-GAN model and Music SketchNet). The results show that the melody generated by the proposed model is closer to real music.

Suggested Citation

  • Yi Guo & Yangcheng Liu & Ting Zhou & Liang Xu & Qianxue Zhang, 2023. "An automatic music generation and evaluation method based on transfer learning," PLOS ONE, Public Library of Science, vol. 18(5), pages 1-21, May.
  • Handle: RePEc:plo:pone00:0283103
    DOI: 10.1371/journal.pone.0283103
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0283103
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0283103&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0283103?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Judy A. Franklin, 2006. "Recurrent Neural Networks for Music Computation," INFORMS Journal on Computing, INFORMS, vol. 18(3), pages 321-338, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Sang Won Choi & Brian H. S. Kim, 2021. "Applying PCA to Deep Learning Forecasting Models for Predicting PM 2.5," Sustainability, MDPI, vol. 13(7), pages 1-30, March.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0283103. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.