Cargando…
An automatic music generation and evaluation method based on transfer learning
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 betwe...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10171593/ https://www.ncbi.nlm.nih.gov/pubmed/37163469 http://dx.doi.org/10.1371/journal.pone.0283103 |
_version_ | 1785039453163618304 |
---|---|
author | Guo, Yi Liu, Yangcheng Zhou, Ting Xu, Liang Zhang, Qianxue |
author_facet | Guo, Yi Liu, Yangcheng Zhou, Ting Xu, Liang Zhang, Qianxue |
author_sort | Guo, Yi |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-10171593 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-101715932023-05-11 An automatic music generation and evaluation method based on transfer learning Guo, Yi Liu, Yangcheng Zhou, Ting Xu, Liang Zhang, Qianxue PLoS One Research Article 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. Public Library of Science 2023-05-10 /pmc/articles/PMC10171593/ /pubmed/37163469 http://dx.doi.org/10.1371/journal.pone.0283103 Text en © 2023 Guo et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Guo, Yi Liu, Yangcheng Zhou, Ting Xu, Liang Zhang, Qianxue An automatic music generation and evaluation method based on transfer learning |
title | An automatic music generation and evaluation method based on transfer learning |
title_full | An automatic music generation and evaluation method based on transfer learning |
title_fullStr | An automatic music generation and evaluation method based on transfer learning |
title_full_unstemmed | An automatic music generation and evaluation method based on transfer learning |
title_short | An automatic music generation and evaluation method based on transfer learning |
title_sort | automatic music generation and evaluation method based on transfer learning |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10171593/ https://www.ncbi.nlm.nih.gov/pubmed/37163469 http://dx.doi.org/10.1371/journal.pone.0283103 |
work_keys_str_mv | AT guoyi anautomaticmusicgenerationandevaluationmethodbasedontransferlearning AT liuyangcheng anautomaticmusicgenerationandevaluationmethodbasedontransferlearning AT zhouting anautomaticmusicgenerationandevaluationmethodbasedontransferlearning AT xuliang anautomaticmusicgenerationandevaluationmethodbasedontransferlearning AT zhangqianxue anautomaticmusicgenerationandevaluationmethodbasedontransferlearning AT guoyi automaticmusicgenerationandevaluationmethodbasedontransferlearning AT liuyangcheng automaticmusicgenerationandevaluationmethodbasedontransferlearning AT zhouting automaticmusicgenerationandevaluationmethodbasedontransferlearning AT xuliang automaticmusicgenerationandevaluationmethodbasedontransferlearning AT zhangqianxue automaticmusicgenerationandevaluationmethodbasedontransferlearning |