Open in TheBrain

ECK, Douglas, Generative Recurrent Neural Nets, Google Brain, Nov 17, 2017

<p class="MsoNormal" >ECK, Douglas,&nbsp; Generative Recurrent Neural Nets,&nbsp; Google Brain,&nbsp; Nov 17, 2017

this is a Stfd FriSem in Psych Dept MBC&nbsp; on Friday at 3:15PM.

<b>Magenta Project... </b>music,&nbsp; video images and text&nbsp; by ML.

full title is&nbsp; <b>generative models for Music and Art....</b>

shows 3 overlapping cirlces of Music/ Art and ML = macine learning and

human creativity and feedback.

this is open source... and engages&nbsp; creative&nbsp; coders, artists, and musicians

see g.co/magenta...

our rsch is&nbsp; on SOTA&nbsp; generative models for audio, images, and text.

tensor&nbsp; lab is like MatLab for&nbsp; ML... run them at scale on a cloud.

to write&nbsp; big ML models.

is this a cat or a dog...

shows&nbsp; Deep Neural Net layers&nbsp; going up... but

here (in this talk)&nbsp; he wants to go DOWN from top.

can I use&nbsp; gradient descent to spit out&nbsp; tokens in another language.

go eg from Japanese to Korean.

job of NN is to&nbsp; go from one language to another.

it has an INTERLINGUA.

english to chinese is harder then going to Spanish.

this is much better than&nbsp; phrase-based&nbsp; models using&nbsp; HMMs.

shows&nbsp; Hemingway... Snows of Kilimanjaro...

we see much better&nbsp; translation of

What was the leopard&nbsp; seeking at high altitude.

we used to hand write a note of thanks to your grandma...

for gratitude and authenticity...that may come back.

shows his kids are in Japan at a restaurant...

he has teens.&nbsp; what can&nbsp; ML add&nbsp; (to mobile, that the kids are always on)

<b>shows QuickDraw&nbsp;&nbsp; </b>against the computer.... draw a bear.

machine model&nbsp;&nbsp; tries to parse and ID your drawing.

use autoencoder...&nbsp; &nbsp;try to reconstruct the input as an output.

from CAT to encoder to Z and then out to Decoder and to a new stroke-based CAT.

this is a recurrent NN = neural net.

the encoder is a both forward and backward RNN.

train it to reproduce the input drawing...

want to reproduce the drawing...

using RNN = recurrent NN&nbsp; +&nbsp; mixture of Gaussians.

these drawings are&nbsp; stroke-based.&nbsp; (eg&nbsp;&nbsp; a CAT face with whiskers and ears and mouth)

step 1 is an encoder using fwd and back RNN;

next step is embedding with a latent vector... with input + noise;

next step is RNN with mixture of Gaussians.

he shows a generative model for vector images...&nbsp;&nbsp; above..

the models learn what is important.

note:&nbsp;&nbsp; input cat&nbsp; has&nbsp; 5 whiskers...&nbsp; only 2 on one side

and output cat has 3 on each side&nbsp; * 2 = 6.

input is&nbsp; pen up, pen down and X/Y positions...

shows "low temperature"&nbsp; vs&nbsp; "hot temp"&nbsp; (like Hot Yoga, he jokes)

toggles variability.

L2&nbsp; = Euclidean distance&nbsp;&nbsp; and&nbsp;&nbsp; use variational loss.

shows&nbsp; 4 drawings by David... human drawn and

&nbsp;he shows the computer gen&nbsp; faces that

reproduce them.

latent faces are intermediate btwn these.

he shows PREDICTIVE&nbsp; computer model...

it anticipates the mosquito drawing...

it's several steps ahead of you.

this is sketch-rnn mosquito predictor.

give it an 8 legged pig and it gives you back a 4 legged pig....

it draws a pig/truck... v amusing...

and it gets rid of the third eye in a 3 eye cat&nbsp; and converts it to 2 eyes.

variational loss... well behaved.

shows vector image analogies...

take a pig body and add (cat face - cat body)&nbsp; =&nbsp; pig face.

describes DOOM game...

this is&nbsp; just vector arithmetic as in WordToVec (with words).

David&nbsp; draws&nbsp; cartoons and they are passed thru encoder to get

to latent spaces.

difference btwn Asian chair in 2d versus Western chair in 3d...

MUSIC

*

he worked on this since 2002...

tried to make music&nbsp;&nbsp; with NNs&nbsp; (even Turing tried this)

model:&nbsp;&nbsp; what is happening at&nbsp; time t and then&nbsp; predict t+1.

polyphonic is v difficult.

we can advance the clock&nbsp; in arbitrary units...

do SoftMax...

train models on scores... but they overfit quickly...

Yamaha&nbsp; DiskClavier&nbsp; piano... records&nbsp; hammer velocity and timing.

&nbsp;

&nbsp;</p>

Attachments