WhoBuilt

Making Music and Art Through Machine Learning

Jul 21, 2017· 44 min· 4.1K views·Watch on YouTube

Speaker

Doug Eck, a research scientist at Google, discusses Magenta’s machine learning tools for music and art with Y Combinator’s Craig Cannon.

Making room for machine-made quirks

Eck says Magenta aims to build tools that help people make new kinds of art, rather than to make its engineers into machine learning artists. He sees potential in the quirks and failures of new media, such as sounds created by moving between learned representations.

Learning from musicians and artists

Magenta’s NSynth project generates sounds by compressing audio into a space that users can explore, though listening to those sounds was not yet real time. Eck says the team wanted stronger music models that account for expressive timing and dynamics, and feedback from musicians showed that command-line tools were not fluid enough for their workflows. Artists also used SketchRNN, trained on 20-second Quick, Draw! sketches, to sample drawings and find unusual examples.

Treating models as creative collaborators

Eck describes AI Duet as a call-and-response game: musicians listen to a simple model’s output and adapt their playing, instead of expecting it to continue a melody like “Für Elise.” He says musicians brought their own improvisational skill to these experiments. He also wants Magenta to support creative coding, where people can retrain models or alter data to shape results.

Using feedback to shape generation

Eck explains that generative models can play it safe, while adversarial training and reinforcement learning can push them toward less predictable results. In one experiment, deep Q-learning rewarded an LSTM for following simple 19th-century counterpoint rules, producing music he found catchier. He suggests users could write measurable rewards for qualities they want, such as avoiding straight lines in sketches or making music sound shimmery.

Building tools for longer, more expressive work

Eck hopes future models can create longer pieces with structure, such as chord changes, while handling local details like expressive timing and musical texture. He says creative coding needs more accessible tools, perhaps something as approachable as GarageBand, and that Magenta’s next steps include making its API more usable and expressive. He invites people to explore the project site, open issues, and discussion list.

Takeaways

  • Design creative AI as a tool people can work with, rather than a button that replaces their process.
  • Treat user feedback as evidence about workflow problems, not only model quality.
  • A simple model can be useful when people learn to respond to its behavior.
  • Measurable human preferences can guide a generative model through reward signals.
  • Make creative tools accessible to people who do not already know how to code.

Mentioned in this talk

Search inside this talk

What was claimed 10

  • feature
    Magenta: Open source tools and models to help creative people make music and art
    “create open-source tools and models that help creative people be even more creative”
    YouTube
    Unverified1 source· Talk
  • role at
    Doug Eck is research scientist at Google
    “Doug's a research scientist at Google”
    YouTube
    Unverified1 source· Talk
  • built
    “he's working on Magenta, a project making music and art through machine learning”
    YouTube
    Verified2 sources· Talk
  • feature
    NSynth: Uses deep learning models to generate new sounds
    “trying to get deep learning models to generate new sounds”
    YouTube
    Unverified1 source· Talk
  • built
    “We have this project called NSynth”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Magenta integrates with Ableton
    “hard problems to solve, like integration with something like Ableton”
    YouTube
    Unverified1 source· Talk
  • feature
    SketchRNN: Generates sketches after training on sketches
    “a recurrent neural network trained on sketches to make sketches”
    YouTube
    Unverified1 source· Talk
  • uses
    “The sketches came from a game Google released called Quick, Draw!”
    YouTube
    Unverified1 source· Talk
  • launched
    “the game Google released called Quick, Draw!”
    YouTube
    Unverified1 source· Talk
  • feature
    Magenta: Open source code and a discussion list for community feedback
    “We have a pretty active discussion list, and we follow it closely”
    YouTube
    Unverified1 source· Talk

Related talks