{"id":1131,"date":"2021-11-02T08:40:33","date_gmt":"2021-11-02T08:40:33","guid":{"rendered":"https:\/\/salarydistribution.com\/machine-learning\/2021\/11\/02\/ai-completes-beethovens-unfinished-symphony-nearly-200-years-later\/"},"modified":"2021-11-02T08:40:33","modified_gmt":"2021-11-02T08:40:33","slug":"ai-completes-beethovens-unfinished-symphony-nearly-200-years-later","status":"publish","type":"post","link":"https:\/\/salarydistribution.com\/machine-learning\/2021\/11\/02\/ai-completes-beethovens-unfinished-symphony-nearly-200-years-later\/","title":{"rendered":"AI Completes Beethoven\u2019s Unfinished Symphony Nearly 200 Years Later"},"content":{"rendered":"<div data-url=\"https:\/\/blogs.nvidia.com\/blog\/2021\/11\/01\/ai-beethovens-unfinished-symphony\/\" data-title=\"AI Completes Beethoven\u2019s Unfinished Symphony Nearly 200 Years Later\">\n<p>Growing up in the Nile delta, Ahmed Elgammal dreamed of becoming an archaeologist or art historian. He never imagined he\u2019d wind up in a concert hall in Bonn listening to the premier of Beethoven\u2019s Tenth, a symphony he helped finish with AI.<\/p>\n<p>\u201cAs a boy in Alexandria, I had a passion for art, but I was good at math. When it came time to pick a major in college, people said if I chose a career in art I\u2019d have no money, so I went into computer science,\u201d said Elgammal, now a professor at Rutgers and head of its Art and Artificial Intelligence Laboratory.<\/p>\n<p>\u201cI never gave up my passion for art,\u201d he said, noting his two-year-old startup, <a href=\"https:\/\/www.playform.io\/\">Playform<\/a>, has already helped 25,000 visual artists wade into deep learning.<\/p>\n<h2><b>Getting a Classical Call<\/b><\/h2>\n<p>About 15 years into his work in computer vision, Elgammal founded the Rutgers lab at the nexus of AI and art.<\/p>\n<p>\u201cI\u2019ve had the privilege to work on some amazing research over the last 10 years doing what I really like \u2014 working with art historians, artists and musicians,\u201d he said.<\/p>\n<p>Hearing of Elgammal\u2019s work, the director of a music technology institute in Salzburg asked him in early 2019 to help complete two movements of Beethoven\u2019s Tenth, also known as his Unfinished Symphony, for a celebration of the composer\u2019s 250th birthday.<\/p>\n<h2><b>AI Hears a Symphony<\/b><\/h2>\n<p>The challenge was enormous. The composer had only sketched out a few brief themes for the work before he died in 1827.<\/p>\n<p>For more than two years, Elgammal worked with musicologists and composers, taking AI in new directions.<\/p>\n<p>Ultimately, machine learning would add harmony to Beethoven\u2019s themes, develop them as the composer would have, bridge one theme to the next, and then help orchestrate the work, assigning parts to different instruments.<\/p>\n<p>\u201cI hadn\u2019t heard all this done before. Some AIs had helped create a few minutes of a string quartet but not a full symphony,\u201d he said.<\/p>\n<h2><b>Language Models Help Beethoven Sing<\/b><\/h2>\n<p>Given the sequential nature of music, the team adapted transformer models used for natural-language processing.<\/p>\n<p>Ultimately, they created four neural networks. Two models used in language translation proved best for adding harmony and orchestration, another transformer served to develop themes and a BERT model helped bridge between themes.<\/p>\n<p>Since music can be represented as mathematical symbols, the lab\u2019s servers, outfitted with a range of NVIDIA GPUs including a <a href=\"https:\/\/www.nvidia.com\/en-us\/deep-learning-ai\/products\/titan-rtx\/\">TITAN RTX<\/a>, could easily handle the task.<\/p>\n<p>\u201cTo watch AI learn from a genius like Beethoven was an amazing experience,\u201d said Elgammal, whose training data included many hours of music from the German master.<\/p>\n<h2><b>Doubters and Devotees<\/b><\/h2>\n<p>The work was released and premiered on Oct. 9 by the Bonn Beethoven Orchestra in the composer\u2019s hometown. (You can hear a recording <a href=\"https:\/\/www.youtube.com\/watch?v=Rvj3Oblscqw\">online<\/a>.)<\/p>\n<p>\u201cAfter listening to this music for two years on my laptop, it was amazing to be in the event and hear it played live,\u201d he said.<\/p>\n<figure id=\"attachment_53443\" aria-describedby=\"caption-attachment-53443\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/blogs.nvidia.com\/wp-content\/uploads\/2021\/11\/Ahmed-Elgammal-on-Stage-Beethoven-X-CROPPED.jpg\"><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blogs.nvidia.com\/wp-content\/uploads\/2021\/11\/Ahmed-Elgammal-on-Stage-Beethoven-X-CROPPED-672x460.jpg\" alt=\"Elgammal attended the premier and visited Beethoven\u2019s home in Bonn.\" width=\"672\" height=\"460\"><\/p>\n<p><\/a><figcaption id=\"caption-attachment-53443\" class=\"wp-caption-text\">Elgammal attended the premier and visited Beethoven\u2019s home in Bonn.<\/figcaption><\/figure>\n<p>Responses spanned the spectrum. Skeptics disliked the mix of art and technology, others felt inspired.<\/p>\n<p>\u201cSome were very enthusiastic with tears in their eyes and goosebumps, and one friend listened to it the whole day, over and over,\u201d he recalled.<\/p>\n<h2><b>Taking Music AI Mainstream<\/b><\/h2>\n<p>Whatever the response, it was a historic moment in what Elgammal calls computational creativity.<\/p>\n<p>\u201cWe imagine in the future we could offer various tools. We worked in classical music, but this could also be relevant to today\u2019s music,\u201d he said.<\/p>\n<p>Early in its work, the team rendered one of Beethoven\u2019s themes in a pop style, just for fun.<\/p>\n<h2><b>Lending Artists a GAN<\/b><\/h2>\n<p>Much of Elgammal\u2019s work these days is in visual arts. His startup Playform makes the <a href=\"https:\/\/blogs.nvidia.com\/blog\/2017\/05\/17\/generative-adversarial-networks\/\">generative adversarial networks<\/a> (GANs) used in computer vision available as tools for a painter\u2019s palette.<\/p>\n<p>Playform uses data augmentation so artists can train their own AI models with as few as 30 images rather than the tens of thousands that GANs typically require. The service runs on NVIDIA GPUs in a public cloud service.<\/p>\n<p>\u201cArtists don\u2019t want to use pretrained models, they want their art to be unique, so they won\u2019t use someone else\u2019s GAN model,\u201d he said.<\/p>\n<h2><b>Plans for an Encore<\/b><\/h2>\n<p>Some artists use Playform to brainstorm, exploring new concepts that inspire what they paint by hand. Others use AI as an assistant, creating digital assets they incorporate in their work.<\/p>\n<p>\u201cWe\u2019re adding capabilities like synchronizing music and art for events and AI models trained to make music videos,\u201d he said.<\/p>\n<p>The next Beethoven might start a symphony with a digital flourish.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/feedproxy.google.com\/~r\/nvidiablog\/~3\/6GJxbQSJ7jA\/<\/p>\n","protected":false},"author":0,"featured_media":1132,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/1131"}],"collection":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/comments?post=1131"}],"version-history":[{"count":0,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/posts\/1131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media\/1132"}],"wp:attachment":[{"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/media?parent=1131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/categories?post=1131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salarydistribution.com\/machine-learning\/wp-json\/wp\/v2\/tags?post=1131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}