Autoencoder Explained

2018 ж. 26 Қаң.
185 373 Рет қаралды

How does an autoencoder work? Autoencoders are a type of neural network that reconstructs the input data its given. But we don't care about the output, we care about the hidden representation its learned. Its a lower dimensional compression of the input that preserves its features. We can use this learned representation for tasks like image colorization, dialogue generation, and anomaly detection.
Code for this video (with Coding Challenge):
github.com/llSourcell/autoenc...
Please Subscribe! And like. And comment. That's what keeps me going.
Want more education? Connect with me here:
Twitter: / sirajraval
Facebook: / sirajology
instagram: / sirajraval
More learning resources:
ufldl.stanford.edu/tutorial/un...
ai.stanford.edu/~quocle/tutori...
lazyprogrammer.me/a-tutorial-...
blog.keras.io/building-autoen...
jaan.io/what-is-variational-a...
hackernoon.com/autoencoders-d...
Join us in the Wizards Slack channel:
wizards.herokuapp.com/
And please support me on Patreon:
www.patreon.com/user?u=3191693
Signup for my newsletter for exciting updates in the field of AI:
goo.gl/FZzJ5w
Hit the Join button above to sign up to become a member of my channel for access to exclusive content! Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
www.wagergpt.co

Пікірлер
  • A wonderful high-level explanation of AEs. I'm recently starting research in this field and this has been really helpful. Thanks!

    @cralo2066@cralo20665 жыл бұрын
  • 6:43 had to jerk the earbuds out from that sound. Thanks for this content. It was a good introduction, I'll do more research on this

    @skully90@skully905 жыл бұрын
  • I tried to understand autoencoders so I googled and started reading various articles. After an hour I just gave up and checked if you have a video on the topic, another 5 minutes later i finally got it. keep up the great work!

    @benjaminf.3760@benjaminf.37605 жыл бұрын
  • Siraj has learnt a lot about teaching and is now capable of expressing complex ideas in a more didactic way. Kudoz for him.

    @rexfarell@rexfarell5 жыл бұрын
  • Finally I understand autoencoders, thank you!! So many explanations fail to mention that the hidden layer in the middle represents compression! They talk about "learning the identity function" which only confused me further. But your explanation was clear and on point. I'm happy to be your patron.

    @klaudialustig3259@klaudialustig32596 жыл бұрын
  • Wow, this is incredible stuff! I’ve been experimenting with using neural networks for data compression recently, but had no idea it was the same thing as an autoencoder. I also didn’t know that there were any reliable generative models other than GANS, but variational autoencoders seem to be a lot simpler and easier to implement than GANS, and really useful. Great video!

    @diamondguy3651@diamondguy36516 жыл бұрын
  • Watching your videos for around a year now NOW i can proudly say I understand 99.99% of the things you talk about

    @ishantpundir8225@ishantpundir82256 жыл бұрын
    • so glad to hear

      @SirajRaval@SirajRaval6 жыл бұрын
    • Not sure how you managed that when Siraj himself barely understands 30% of what he talks about.

      @youtubeadventurer1881@youtubeadventurer18814 жыл бұрын
  • Hi Siraj, thanks a lot for that anomaly detection case - I'll soon be implementing such a model, never thought about that possibility :)

    @centar15@centar156 жыл бұрын
  • This covers way more than AEs. This is a very brilliant high level generalized view of what Neural Networks do and what they actually represent,

    @Privacy-LOST@Privacy-LOST4 жыл бұрын
  • Wow this video was very informative. I go so many information and ideas for future projects

    @crykrafter@crykrafter5 жыл бұрын
  • Visually appealing and easy to follow! Thanks Siraj! :)

    @tanaminogarashi@tanaminogarashi6 жыл бұрын
  • Great video Siraj, great pace and I like the content to meme ratio here. In these shorter videos you don't stutter or repeat yourself at all, I wanted to know how you do that? Do you type a script and then practice it a few times?

    @hammadshaikhha@hammadshaikhha6 жыл бұрын
  • @siraj Thank you sooo much for this video i have this seminar coming up where i have to talk about autoencoders so this was very helpful

    @LIPINPIUSmeetme@LIPINPIUSmeetme6 жыл бұрын
  • Your videos are amazing. Thank you bro!

    @zardouayassir7359@zardouayassir73595 жыл бұрын
  • Love your videos. I"m just getting into machine learning and the math behind it all is really daunting. Do you have any tips for learning? Should I just keep practicing making my own models from scratch? I don't feel like I learn anything using pre-built libraries. Keep up the great content!

    @BuddyVQ@BuddyVQ3 жыл бұрын
  • I am happy every I get alerted You post a video bcz I know I will learn sth I thought it was so hard to learn!

    @ehfo@ehfo6 жыл бұрын
  • love your ability to explain things without jargon

    @smarchweatherbee@smarchweatherbee6 жыл бұрын
  • Thanks for the hard work Siraj.

    @DriftyG@DriftyG6 жыл бұрын
  • This was an awesome video Siraj!!!!!!!

    @oraz.@oraz.6 жыл бұрын
  • Hi Siraj, I wonder how the "stylize" functionality in google photos work. It randomly chooses images from library and produces more saturated images. Does it also use autoencoders to recolor the images?

    @eusebioescelante1659@eusebioescelante16596 жыл бұрын
  • Great video. Appreciated the 3 takeaway points at the end. Question: How could I use autoencoders to perform dimensionality reduction on categorical data?

    @adityaojha627@adityaojha6273 жыл бұрын
  • Great video as always, Siraj!

    @vaibhavdwivedi@vaibhavdwivedi6 жыл бұрын
  • Cool , seems to have a lot of potential. Thanks for the video , great !

    @gregorywallace6001@gregorywallace60016 жыл бұрын
  • Great job Siraj, this helped a lot in my understanding! One small critique: the floating text around 0:38 made me feel a little nauseous! Please consider changing in the future. Many thanks!

    @_engid@_engid6 жыл бұрын
  • I just wanted to map the idea in the NN space, I got it thanks, great video!

    @vikaskumarjha9@vikaskumarjha93 жыл бұрын
  • Great video siraj, I don't understand what you say, one day i will, but i just love it. God bless.

    @harshad2227@harshad22276 жыл бұрын
  • Thanks, clear enough to understand Autoencoders

    @cutmecutme@cutmecutme3 жыл бұрын
  • Hi thanks for the video. How can I see the kernels that used for convolutional operation in Keras. I use Keras, and I have no idea what kind of kernels are automatically used during the training of CNN models. Thanks!

    @mooeoo@mooeoo6 жыл бұрын
  • Denoising Autoencoder is really useful!

    @srikumarsastry7473@srikumarsastry74736 жыл бұрын
  • what kind of network i need to input a image and train it with a wanted image for output, so if i input later a similar image it give me a similar output?

    @isacscjr@isacscjr6 жыл бұрын
  • Thanks my brain hurts but I a tenuous grasp of the autoencoder now. Ironic that this is a dense presentation discussing dense representations

    @nbibby@nbibby5 жыл бұрын
  • Nice vid. But how to validate the Autoencoder latent space is a good representation?

    @patorivera4690@patorivera46906 жыл бұрын
  • 7:47 do you have any refs for chatbots using auto encoders ?

    @kkkkjjjj4517@kkkkjjjj45176 жыл бұрын
  • Much appreciated Siraj, Can we do image clustering using AutoEncoder if yes then what type of Autoencoder would do that?

    @shahikkhan@shahikkhan6 жыл бұрын
  • Thanks Siraj, as usual, excellence delivered in a simple and intuitive manner on a highly technical subject! You should consider a career in teaching!

    @HossamKorin@HossamKorin2 жыл бұрын
  • Excellent great task greetings

    @sunjaysunjay6062@sunjaysunjay606214 күн бұрын
  • Could you make a video about superintelligence? As always keep up the good work!

    @tristant9686@tristant96866 жыл бұрын
  • thank you for autoencoder video

    @larryteslaspacexboringlawr739@larryteslaspacexboringlawr7396 жыл бұрын
  • What's your video set-up pls (camera & software) ?

    @ksmith7122@ksmith71226 жыл бұрын
  • Must go deeper

    @BrandonCoteservingyou@BrandonCoteservingyou6 жыл бұрын
  • Please make a video and explaining faster rcnn and especially focus on how the multiple region of interest are handled.

    @Nikhil8979634183@Nikhil89796341836 жыл бұрын
  • Hello Siraj, are vanilla autoenocoders same as simple autoencoders ,,,,,I don't see much research papers on this ,,, can this autoencoders be implemented using spectral data ,,,,as most of the examples are on MNIST dataset,,,, i need to visualize , pca vs t-SNE vs autoencoders

    @Rohit-nb8nf@Rohit-nb8nf4 жыл бұрын
  • Have you heard of the new autoencoder that learned to represent transformations ala capsule networks , but much simpler?

    @diegoantoniorosariopalomin4977@diegoantoniorosariopalomin49776 жыл бұрын
  • Great video!

    @amanchandra1972@amanchandra19726 жыл бұрын
  • Hello~ Great video! Could you please make a video on activation functions- general idea, basic math, visual example? Thanks :)

    @manasa2864@manasa28646 жыл бұрын
    • kzhead.info/sun/YJusk7WogYZtqKc/bejne.html are you talking about this? haha

      @kbhuehue@kbhuehue6 жыл бұрын
    • Whoops thanks :)

      @manasa2864@manasa28646 жыл бұрын
  • Awesome! Thanks Siraj!

    @VictorCaldo@VictorCaldo3 жыл бұрын
  • Really good video!

    @superjzh@superjzh6 жыл бұрын
  • You named the output "Learned representation", but isnt it actually just the approximated reproduction of the image? The actual learned representation would be in the bottleneck layer right before the decode layers start reproducing from it. I know the video is old, but I hope someone can rectify me on this if I misunderstood something here.

    @mikaelpaavola4781@mikaelpaavola47815 жыл бұрын
  • Hello sir, Please make a video on machine learning in clinical ,biomedical related with practical!!! I hope u will make it.

    @themonkeyminds7252@themonkeyminds72526 жыл бұрын
  • nice video editing

    @jtekmmx@jtekmmx6 жыл бұрын
  • Can confirm about the GM thing. Although, I'd add a qualifier: any car made by them after 1970,

    @FranksWorldTV@FranksWorldTV6 жыл бұрын
  • I feel like your videos have got less hand on ,I want my old Sirajology's scarybugsmac :'(

    @dhrumilbarot1431@dhrumilbarot14316 жыл бұрын
  • I'd like to request a video on Dynamic Time Warping algo :) merc

    @schrodingerscat3912@schrodingerscat39126 жыл бұрын
  • Isn't autoencoder a fancy name for the encoder-decoder style architecture (used popularly for image segmentation)? Because in both the cases you don't care about the input and the output but the latent space representation after the encoding. Is there something that I am missing in the autoencoders that makes them different from naive encoder-decoder networks?

    @MaheshDhoni@MaheshDhoni5 жыл бұрын
  • I wish someone, like you, would continue the Hacker's guide to NN….

    @AltMarc@AltMarc6 жыл бұрын
  • You hit a bit more than AEs and that may confuse some folks, but after a while they will realize that it was for the better as GANs and such follow these techniques.

    @TheRealAfroRick@TheRealAfroRick4 жыл бұрын
  • Very well explained, and overall a high tier video. Summed up some of my confusions atleast

    @jakobsaadbye5309@jakobsaadbye53096 жыл бұрын
  • I'm guessing it still lose some data in the process, uses autoencoder to reconstruct itself in a condensed mode rinse and repeat

    @planktonfun1@planktonfun16 жыл бұрын
  • I feel like Im missing habilities to follow you and try those challanges, except knowing to code what other tools/knowledge do I need?

    @Crushercorp@Crushercorp6 жыл бұрын
    • I would recommend starting with Keras, it is pretty simple to use and you will be able to quickly build neural networks in a few lines

      @Zakoool@Zakoool6 жыл бұрын
  • three points to remember in your boilogical neural networks :)

    @studysoftware9497@studysoftware94974 жыл бұрын
  • I was like "Daaaamn that's a nice house!". And then I realized haha 1:30

    @yassinet.benchekroun5087@yassinet.benchekroun50875 жыл бұрын
  • Can you explain DeepFakes?

    @Y2Kvids@Y2Kvids6 жыл бұрын
    • Y2Kvids yes contact Lucas arts , lol all this is sooo old

      @TheTravisweb@TheTravisweb5 жыл бұрын
    • @@TheTravisweb DeepFake uses Generative Adversarial Models, not AE I think.

      @julienpiltant2416@julienpiltant24165 жыл бұрын
  • How can an ANN with activation functions like Sigmoid, ReLU, and tanh approximate functions with high local variations in value? Take the function f(x) = exp(x) and an ANN with any of the mentioned activation functions. How could it work?

    @Ronnypetson@Ronnypetson6 жыл бұрын
    • Keep adding functions, with bias.

      @nolan412@nolan4126 жыл бұрын
  • Excellent!! This video explains the essence of AI from the deepest depth people usually don't know, with just a few words in such a short time. So it's very insightful !!

    @user-gv7mf9rc7b@user-gv7mf9rc7b2 жыл бұрын
  • Why SoftMax is better than svm with autoencoder if you have paper explain that

    @wasaamhazm@wasaamhazm6 жыл бұрын
  • Siraj tell me why when you said "Ok Google do you love me" it activated Google on my phone 🤣🤣🤣🤣🤣

    @brandonrussell2708@brandonrussell27085 жыл бұрын
  • hey Siraj! You got any ideas to do a thesis on? Any subjects or problems I could research? Broad question I know but anything could be valuable to me, thanks!

    @waxwingvain@waxwingvain6 жыл бұрын
    • Bryan Cardenas machine translation using autoencoders

      @JoseCastillo-fl8jn@JoseCastillo-fl8jn6 жыл бұрын
    • With low resources

      @JoseCastillo-fl8jn@JoseCastillo-fl8jn6 жыл бұрын
    • variational autoencoders for drug discovery

      @SirajRaval@SirajRaval6 жыл бұрын
  • Hello sir, can I contact you?

    @indrakumari1854@indrakumari18542 жыл бұрын
  • You're the best! Thank you very very much

    @destinyjames6117@destinyjames61172 жыл бұрын
  • that moment when ok google from your phone triggers google in your phone

    @MubashirAR@MubashirAR6 жыл бұрын
  • Explain the weights of the decoder.

    @sadenb@sadenb5 жыл бұрын
  • There is a compilation error with the code attached: Can someone help me with this Using TensorFlow backend. Traceback (most recent call last): File "variational_autoencoder.py", line 65, in vae.compile(optimizer='rmsprop') TypeError: compile() takes at least 3 arguments (2 given)

    @santhoshkk4731@santhoshkk47316 жыл бұрын
  • Hi guys, can somebody explain to me the meme about using logistic regression in production at 2:58 ? thanks

    @cidroldan6732@cidroldan67323 жыл бұрын
  • 6th :)) I am curious about micro architecture + machine learning would produce lol

    @allenallen7849@allenallen78496 жыл бұрын
  • For coding challenge: github.com/ParmuSingh/autoencoder-mnist I'm sorry its tensorflow and not keras :)

    @guitarheroprince123@guitarheroprince1236 жыл бұрын
  • 2:46 ... Output where to send a car, like _the dumpster_, if it was made by GM. *LMAO*

    @rgones@rgones6 жыл бұрын
    • I was gonna comment that. haha

      @jugsma6676@jugsma66766 жыл бұрын
    • That just earned him a stiff downvote

      @MrInternetuser2011@MrInternetuser20116 жыл бұрын
    • lol, not just gm every american car is company is trash lmao. ford, gm, tesla all shit lol.

      @vteckickedin2365@vteckickedin23655 жыл бұрын
    • This guy is fraud www.reddit.com/r/MachineLearning/comments/d7ad2y/d_siraj_raval_potentially_exploiting_students/

      @SoumilShah@SoumilShah4 жыл бұрын
  • cool

    @akashkandpal1832@akashkandpal18326 жыл бұрын
  • Hey +UCWN3xxRkmTPmbKwht9FuE5A/Siraj, I have an use case where I would like to use an autoencoder to detect anomalies. Now, as per my understanding, to make sure the AE detects anomalies, we must feed it non-anomalous data during training. This part sounds something like, "To do anomaly detection, you actually have to do anomaly detection." :) Any helpful comment is appreciated. Big fan!

    @metakram@metakram5 жыл бұрын
  • Hii. Why is the audio so unclear, some disturbing background noise while listening to this good tutorial.

    @Das12329@Das123293 жыл бұрын
  • I made Image autoencoder a week ago that can create new ones at decent quality with small numbers of examples. Working on GAN with same technique right now. github.com/Mylittlerapture/Continuous-Image-Autoencoder

    @volotat@volotat6 жыл бұрын
  • I feel like im watching this on a boat on the high seas

    @matthewjoss9596@matthewjoss95964 жыл бұрын
  • At 5:13, Me: Wo wo wo slow down! :)))))))))))

    @maryamsadeghi1199@maryamsadeghi11994 жыл бұрын
  • everyone got some **** for Machine learning today

    @yuyingliu5831@yuyingliu58314 жыл бұрын
  • 3:30 you forgot to add bias!!

    @jach8952@jach89525 жыл бұрын
  • 4:34 *higher

    @chicken6180@chicken61806 жыл бұрын
    • chicken yeah, he wanted to say lower dimension

      @andybergon@andybergon6 жыл бұрын
  • Emotional analysis of textile images paper hahahahhaha

    @leptdre@leptdre6 жыл бұрын
  • where to learn python

    @raisshaikh259@raisshaikh2596 жыл бұрын
    • thanks

      @raisshaikh259@raisshaikh2596 жыл бұрын
    • Go to Udacity, Sentdex on KZhead or even My Channel for being an expert in Python

      @RiteshKumarMaurya@RiteshKumarMaurya6 жыл бұрын
  • Send GM cars to the dumpster? Do you have precognition?

    @ec92009y@ec92009y2 жыл бұрын
  • Hey Siraj, I loved when the videos were fast paced! :)

    @metakram@metakram6 жыл бұрын
    • vikram iyer aren't all?

      @tkdevlop@tkdevlop6 жыл бұрын
  • T H A N K S !

    @eBuddha33@eBuddha334 жыл бұрын
  • Simple autoencoder for colored images : github.com/karanrn/Deep-learning/tree/master/Autoencoders

    @karannadagoudar7872@karannadagoudar78726 жыл бұрын
    • great work karan!

      @SirajRaval@SirajRaval6 жыл бұрын
  • nice hair style

    @xtredeabm2080@xtredeabm20806 жыл бұрын
  • atleast they underlined the problem ! LOLL

    @bosepukur@bosepukur5 жыл бұрын
  • Good videos, bad memes

    @nateshrager512@nateshrager5125 жыл бұрын
  • That einstein colored pic scared me

    @yassinet.benchekroun5087@yassinet.benchekroun50875 жыл бұрын
  • lol nice meems .

    @USBEN.@USBEN.6 жыл бұрын
  • a simple beta to mix and generate music by working on the latent space generated by the encoder: github.com/damgambit/seq2seq4music_generation

    @damianogambitta7171@damianogambitta71716 жыл бұрын
  • Hey Siraj, I want to build an application to lock Pendrive. How to build one please could you give me some direction that will be very helpful. Thanks.

    @bhejafry3779@bhejafry37796 жыл бұрын
    • sachan ankit dude, just download one

      @zoulock@zoulock6 жыл бұрын
    • Bro i need to make some changes according to my needs. That is why i want to know how to build one.

      @bhejafry3779@bhejafry37796 жыл бұрын
  • 5th

    @ewouddierickx429@ewouddierickx4296 жыл бұрын
  • For Coding Challenge : github.com/neerajkrbansal1996/Denoising-autoencoder

    @neerajkrbansal1996@neerajkrbansal19966 жыл бұрын
    • great work neeraj!

      @SirajRaval@SirajRaval6 жыл бұрын
KZhead