Recurrent Neural Network Writes Music and Shakespeare Novels | Two Minute Papers #19
Key Takeaways
The video demonstrates the capabilities of Recurrent Neural Networks (RNNs) in generating sequences, including writing music and Shakespeare novels, using techniques such as Long Short-Term Memory (LSTM).
Full Transcript
dear fellow Scholars this is 2minute papers with K artificial neural networks are very useful tools that are able to learn and recognize objects on images or learn the style of Van go and paint new pictures in his style today we're going to talk about recurrent neural networks so what does the recurrent part mean with an artificial neural network we usually have a onetoone relation between the input and the output this means that one image comes in and one classification result comes out where the image depicts a human face or a train with recurrent neural networks we can have a one too many relation between the input and the output the input would still be an image but the output would not be a word but a sequence of words a sentence that describes what we see on the image for a many to one relation a good example is sentiment analysis this means that a sequence of inputs for instance a sentence is classified as either negative or positive this is very useful for processing movie reviews where we'd like to know whether the user liked or hated the movie without reading pages and pages of discussion and finally recurrent new networks can also deal with many to many relations translating an input sequence into an output sequence examples of this can be machine translations that take an input sentence and translate it to an output sentence in a different language for another example of a many to many relation let's see what the algorithm learned after reading too's War and Peace novel by asking it to write exactly in that style it should be noted that generating a new novel happens letter by letter so the algorithm is not allowed to memorize words let's look at the results at different stages of the training process the initial results are well gibberish but the algorithm seems to recognize immediately that words are basically a big bunch of letters that are separated by spaces if we wait a bit more we see that it starts to get a very rudimentary understanding of structures for instance a quotation mark that you have opened must be closed and a sentence can be closed by a period and it is followed by an uppercase letter later it starts to learn shorter and more common words such as fall that the for me if we wait for longer we see that it already gets a grasp of longer words and smaller parts of sentences actually start to make sense here's a piece of Shakespeare that was written by the algorithm after reading all of his works you see names that make sense and you really have to check the text thoroughly to conclude that it's indeed not the real deal it can also try to write math papers I had to look for quite a bit until I realized that something is fishy here it is not unreasonable to think that it can very easily deceive a non-expert reader can you believe this this is insanity it is also capable of learning the source code of the Linux operating system and generate new code that looks quite sensible it can also try to continue the song Let It Go from the famous Disney movie Frozen so recurrent newal networks are amazing tools that open up completely New Horizons for solving problems where either the inputs or the output s are not one thing but a sequence of things and now signing off with a piece of recurrent new network wisdom well your wit is in the care of side and debt bear this in mind wherever you go thanks for watching and I'll see you next time [Music]
Original Description
Artificial neural networks are powerful machine learning techniques that can learn to recognize images or paint in the style of Van Gogh. Recurrent neural networks offer a more general model that can learn input sequences and create output sequences. The resulting technique (Long Short-Term Memory in these examples) can write novels in the style of Tolstoy, Shakespeare, or write their own music.
________________________
Andrej Karpathy's original article is available here:
http://karpathy.github.io/2015/05/21/rnn-effectiveness/
Source code: https://github.com/karpathy/char-rnn
The paper "Long Short-Term Memory" by Sepp Hochreiter and Jürgen Schmidhuber is available here:
http://www.bioinf.jku.at/publications/older/2604.pdf
http://deeplearning.cs.cmu.edu/pdfs/Hochreiter97_lstm.pdf
Continuing "Let It Go" from Disney with a recurrent neural network:
https://ericye16.com/music-rnn/
Recommended for you:
Artificial Neural Networks and Deep Learning - https://www.youtube.com/watch?v=rCWTOOgVXyE
Deep Neural Network Learns Van Gogh's Art - https://www.youtube.com/watch?v=-R9bJGNHltQ
Creating Photographs Using Deep Learning - https://www.youtube.com/watch?v=HOLoPgTzV6g
A great write-up on how LSTMs work:
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
More applications of Long Short-Term Memory:
http://googleresearch.blogspot.co.uk/2015/09/google-voice-search-faster-and-more.html
http://googleresearch.blogspot.co.at/2015/08/the-neural-networks-behind-google-voice.html
Subscribe if you would like to see more of these! - http://www.youtube.com/subscription_center?add_user=keeroyz
The thumbnail image background was created by Brandon Giesbrecht (license: CC BY 2.0). Slight changes were made for better blending. - https://www.flickr.com/photos/naturegeak/5819184201/
Splash screen/thumbnail design: Felícia Fehér - http://felicia.hu
Music: "Gymnopedie no1" by Satie.
Károly Zsolnai-Fehér's links:
Patreon → https://www.patreon.com/TwoMinutePapers
Facebook → htt
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Two Minute Papers · Two Minute Papers · 21 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
▶
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Fluid Simulations with Blender and Wavelet Turbulence | Two Minute Papers #1
Two Minute Papers
Capturing Waves of Light With Femto-photography | Two Minute Papers #2
Two Minute Papers
Artificial Neural Networks and Deep Learning | Two Minute Papers #3
Two Minute Papers
Blender Rendering - Top 7 LuxRender Features
Two Minute Papers
Simulating Breaking Glass | Two Minute Papers #4
Two Minute Papers
Time Lapse Videos From Community Photos | Two Minute Papers #5
Two Minute Papers
AI Learns Van Gogh's Art
Two Minute Papers
Hydrographic Printing | Two Minute Papers #7
Two Minute Papers
Announcing LuxRender 1.5
Two Minute Papers
Digital Creatures Learn To Walk | Two Minute Papers #8
Two Minute Papers
Manipulating Photorealistic Renderings | Two Minute Papers #9
Two Minute Papers
Adaptive Fluid Simulations | Two Minute Papers #10
Two Minute Papers
Building Bridges With Flying Machines | Two Minute Papers #11
Two Minute Papers
Reconstructing Sound From Vibrations | Two Minute Papers #12
Two Minute Papers
Creating Photographs Using Deep Learning | Two Minute Papers #13
Two Minute Papers
Adaptive Cloth Simulations | Two Minute Papers #14
Two Minute Papers
Synthesizing Sound From Collisions | Two Minute Papers #15
Two Minute Papers
Metropolis Light Transport | Two Minute Papers #16
Two Minute Papers
3D Printing a Glockenspiel | Two Minute Papers #17
Two Minute Papers
Modeling Colliding and Merging Fluids | Two Minute Papers #18
Two Minute Papers
Recurrent Neural Network Writes Music and Shakespeare Novels | Two Minute Papers #19
Two Minute Papers
Gradients, Poisson's Equation and Light Transport | Two Minute Papers #20
Two Minute Papers
Real-Time Facial Expression Transfer | Two Minute Papers #21
Two Minute Papers
Automatic Lecture Notes From Videos | Two Minute Papers #22
Two Minute Papers
Be a Part of Two Minute Papers on Patreon!
Two Minute Papers
Recurrent Neural Network Writes Sentences About Images | Two Minute Papers #23
Two Minute Papers
How Does Deep Learning Work? | Two Minute Papers #24
Two Minute Papers
Cryptography, Perfect Secrecy and One Time Pads | Two Minute Papers #25
Two Minute Papers
Terrain Traversal with Reinforcement Learning | Two Minute Papers #26
Two Minute Papers
Multiple-Scattering Microfacet BSDFs with the Smith Model
Two Minute Papers
Google DeepMind's Deep Q-Learning & Superhuman Atari Gameplays | Two Minute Papers #27
Two Minute Papers
Are We Living In a Computer Simulation? | Two Minute Papers #28
Two Minute Papers
Artificial Superintelligence [Audio only] | Two Minute Papers #29
Two Minute Papers
Automatic Parameter Control for Metropolis Light Transport | Two Minute Papers #30
Two Minute Papers
Randomness and Bell's Inequality [Audio only] | Two Minute Papers #31
Two Minute Papers
OpenAI - Non-profit AI company by Elon Musk and Sam Altman
Two Minute Papers
How Do Genetic Algorithms Work? | Two Minute Papers #32
Two Minute Papers
Painting with Fluid Simulations | Two Minute Papers #33
Two Minute Papers
Peer Review #1 [Audio only] | Two Minute Papers
Two Minute Papers
Neural Programmer-Interpreters Learn To Write Programs | Two Minute Papers #34
Two Minute Papers
9 Cool Deep Learning Applications | Two Minute Papers #35
Two Minute Papers
Designing Cities and Furnitures With Machine Learning | Two Minute Papers #36
Two Minute Papers
Designing 3D Printable Robotic Creatures | Two Minute Papers #37
Two Minute Papers
3D Printing Objects With Caustics | Two Minute Papers #38
Two Minute Papers
Interactive Editing of Subsurface Scattering | Two Minute Papers #39
Two Minute Papers
Simulating Viscosity and Melting Fluids | Two Minute Papers #40
Two Minute Papers
What Do Virtual Objects Sound Like? | Two Minute Papers #41
Two Minute Papers
How DeepMind Conquered Go With Deep Learning (AlphaGo) | Two Minute Papers #42
Two Minute Papers
Breaking Deep Learning Systems With Adversarial Examples | Two Minute Papers #43
Two Minute Papers
Extrapolations and Crowdfunded Research (Experiment) | Two Minute Papers #44
Two Minute Papers
Biophysical Skin Aging Simulations | Two Minute Papers #45
Two Minute Papers
What is Impostor Syndrome? | Two Minute Papers #46
Two Minute Papers
Should You Take the Stairs at Work? (For Weight Loss) | Two Minute Papers #47
Two Minute Papers
Artistic Manipulation of Caustics | Two Minute Papers #48
Two Minute Papers
Deep Learning Program Learns to Paint | Two Minute Papers #49
Two Minute Papers
Interactive Photo Recoloring | Two Minute Papers #50
Two Minute Papers
How To Get Started With Machine Learning? | Two Minute Papers #51
Two Minute Papers
Awesome Research For Everyone! - Two Minute Papers Channel Trailer
Two Minute Papers
10 More Cool Deep Learning Applications | Two Minute Papers #52
Two Minute Papers
How DeepMind's AlphaGo Defeated Lee Sedol | Two Minute Papers #53
Two Minute Papers
More on: LLM Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Want to get started with deep learning
Reddit r/deeplearning
Building a Deepfake Detector From Scratch — What Nobody Tells You
Medium · Deep Learning
Unfolding the Meandering Path: High-Dimensional Invariance and the Flat 2D Plane of Neural…
Medium · Deep Learning
Implementing Neural Style Transfer from Scratch: The Project That Started It All
Medium · Deep Learning
🎓
Tutor Explanation
DeepCamp AI