Generative Adversarial Networks (GANs) - Computerphile
2024 ж. 16 Мам.
639 271 Рет қаралды
Artificial Intelligence where neural nets play against each other and improve enough to generate something new. Rob Miles explains GANs
One of the papers Rob referenced: bit.ly/C_GANs
More from Rob Miles: bit.ly/Rob_Miles_KZhead
/ computerphile
/ computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com
This gentleman explains high level concepts in ways that the layman can understand, AND has an interesting voice to listen to. A++ work
you should check out, he made his own youtube channel. search for "Robert Miles AI"
299 likes, here we go.
And mutton chops that I can only dream off
Brain work ... like House work...but deeper
I like that they don't feel the need to do a camera cut every time he pauses to think of his next word. Makes me feel like the video was made for people who are actually interested and not just clickbait for zoomers.
"Neural networks don't have feelings, yet...."
Vincent Peschar this is why the AGI will fight back. we abuse them so much lol.
Does a rock have feelings? If a rock had feelings, would it matter? Why? (honest questions on logic and peoples feelings)
It could be said that any matter that is arranged into any pattern is at some level alive. While a rock wouldn't have feelings nearly as obvious as humans, it still might have some sense of being. Breaking a rock into pieces may not cause it to experience pain or anxiety or pleasure, as it's sensory capacity is not sufficient to notice such changes to itself. However it's current makeup and position in the universe is no more or less arbitrary than any other matter in the universe. I guess the follow up question might be: if all matter, including organisms, are ultimately made up of non-living particles, what is life?
Yet. Growth mindset.
TechyBen The problem comes when you start asking if mud has feelings and if people have feelings. Mud and people are generally made of the same materials. It’s just that we are organized in a way that gives us feelings. The religious and non-religious can debate if the soul exists or not, but scientifically we can only differentiate between mud and life based on its level of organization. And so it holds that a highly organized piece of silicon (a computer chip) could also have feelings.
To call this impressive would be an understatement. That's amazing, fantastic, unbelievable, highly interesting and scary all at once.
Patrick Bateman why would it be scary?
@@daniellewilson8527 Most technologies can be scary, since they all have the potential of being misused. AI can particularly scary, since we use it for systems that are to complex for us to understand. So what we do, is handing these complexities over to a computer to handle, in the hope that it handles them the way we think it should. But the truth is, that we don't really know what it does and if we decide to use such technologies in our weapon systems for example, then it starts getting scary.
@@d34d10ck Interesting. Now let's hear what Paul Allen has to say about this
What do you think about it now?
@@h0stI13I can no longer imagine a life without generative AIs. As a developer, I use them all the time and my productivity has increased immensely because of them.
The Dell screens have come to worship the Commodore PET.
LMAO!
Enjoy your upvote, lol.
Kids going to see grandpa
these are some of the coolest networks ive seen so far
His Clarity and simplicity in unpacking a complex topic is just out of this world.
I love how quickly he moved past neural networks having feelings. "But neural networks don't have feelings (yet) so that's really not an issue. You can just continually hammer on the weak points, find whatever they're having trouble with, and focus on that" You just know that our robot masters are just going to replay this over and over again in the trial against humanity.
haha you're so funny
fish dont have feelings either but i have no qualms against sardine canning companies for packing millions of sardines a year. its almost like most intelligent agents dont care about automatons nor should they
@@qwertysacks Fish do have feelings. They have endocrine and nervous systems, and can act scared or whatever. Not that I care much about those feelings, but it's still non-zero. The narrow forms of AI we have at the moment do not have sufficient complexity for feelings.
@@harrygenderson6847 Nor will they for many years. It’s a non-issue.
I'm starting to think you're right...
"..which is kind of an impressive result." - understatement of the century
Gotta love latent spaces. My favorite was a network that showed a significant correlation between - and - . Assigning any direct meaning to that could be a leap of logic but when you think about it, cats have more visually feminine features than dogs, generally speaking
Lost it at "Neural Networks don't have feeling yet." It was just the casual way he threw it out there and took it as the most normal thing in the world. Like "Yet" makes total sense.
RealityVeil does it not? The first multicellular organisms didn’t have feelings(emotions) over time, emotions were produced, as well as brains
I'm afraid that is a common issue in AI. NN might become aware and acquire feelings. Some people still believe that animals do not have feelings. I keeps the world nice and simple.
just a matter of input data. hormones and brain / body health and their part in psychology in random situations. it will connect the dots at some point. one could argue "aren't those feelings simulated?" but then ask yourself: "aren't yours?". the structure of mind bases on the structure of input. thats why you shouldnt be afraid of AI with feelings but BIG DATA !
I love the "finding the weakness" analogy. Really helped me to understand.
Man, one of my favorite videos on this channel. How did I miss it? Not only does it make you think about the endless potential of machine learning, it also sheds some light into how natural brains might work. Maybe even a basic aspecto of nature of creativity. Getting my mind blown again!
Only discovered this channel recently and I've been watching nothing but Computerphile videos for a whole week. Love the content you do with Rob Miles - his field of study combined with his explanations make these my favorite videos to watch. Thank you!
Never really understood GANs before. Thank you so much for making this so intuitive. Eternally grateful.
I wish i could talk to this guy once... He seems so cool and intelligent at the same time
Approach him with wine and a supercapacitor. and a throwaway guitar.
This is literally one of the most fascinating videos I've ever seen on KZhead.
holy moly, this dude has a gift for explaining. awesome work
I honestly more often than not click the video based on whether Rob is hosting.
Same here
He's cute
I like all the computerphile regulars, but yeah Rob is great. I recommend checking out his personal channel that focuses on AGI's, it's linked in the above description!
Cast is great for any channel. Only Philip Moriarty gives weird vibes.
This guy knows. Rob is the best, and this is fascinating! It makes it irresistible to get involved with machine learning.
The only instance that I can remember when a science video presented on my level of understanding genuinely blew my mind at the end. The research on artificial neural networks will surely change computing as we know it.
Love the Commodore PET on the shelf. Class.
Stuff a GAN into 64k. Reminds me of the Chess player written for 4k ram
I've got a Commodore PET on a shelf too. Mine walks off during POST, so it isn't used anymore. But it looks classy on the shelf.
Literally the best explanation possible for such a dense topic, congrats my man, you are incredible!
"Right now, they're just datapoints" I like this guy
Im pretty sure this is the best format of learning something on youtube
That last bit was super interesting and mind blowing at the same time! Excellent video!
I could watch this all day.. like I did yesterday with numberphile :D
High-level concepts explained so beautifully. Fantastic!
excellent explanation!!! one of the best videos ever on computerphile
I think it's so cool that there is a Linksys WRT-54G and a Commodore PET in the background and they're discussing topics so modern.
The best explanation of GANs I have ever come across.
Wow, how can you make something so complex be so easy to understand? Thank you man
Studying computer science now. These videos give me inspiration to try to connect concepts outside of the classroom
Well explained. Best video about gans i have seen so far.
That was extremely interesting, thank you for making this episode.
Love the Commodore PET on the shelf! I played with one of the original PETs when they first came out (the one with the horrid rectilinear keyboard!). We eventually got four of the later models at my school, and before long we were happily playing Space Invaders when the teachers weren't looking... and then doing hex dumps of Space Invaders, working out how it worked, and adding a mod to give it a panic button in case the teacher came into the room so you could hit the button and look as if you were working. To be honest, I'm not sure they would have cared, because we probably learned more by doing the hex dump than we would have with our usual work!
Oh the effort kids will put in in order to avoid work!
This guy presents fantastically. Such an interesting topic... I remember seeing an online CS Harvard lecture around a decade ago that used the same concept (having the system compete with another instance of itself) to train a computer chess player...
wild to view this video again in 2023
Love this guy. Harnessing you concepts here!
This is so interesting! This is the way thispersondoesnotexist "photos" are made by the machine. Super cool!
20 minute video about AI by Rob Miles? YES PLZ
Great explanation Rob, thank you!
Love the video, everything is well explained and easy to understand.
Fantastic explanation, love this guy
the best video on gan I have ever seen, probably this can help me to return to ML
Hard to imagine watching television again, when such interesting programs are broadcast here instead.
That last part about the latent space was really valueable insight! Hard to come by
This is amazing! Keep up the great work!
WD, love Rob's explanations!
With the human analogy, an interesting idea is that; You don't just focus on the weak area of learning but you also adapt your teaching technique to enable learning. You change your approach. It may be the difficulty in learning is not a fault of the student but a 'bug' in the teaching method [1 & 7 look similar, our learning strategy is based on a simplistic shape recognition concept, we adapt our recognition concept (we focus on a particular aspect of the image for example) and thus the learner has a 'light bulb' moment as they 'get the point']
Great explanation. Thank you!
an amazing explanation of GANs
This man is the only reason I stay subscribed, he is fantastic
THIS is the best channel ever!
Wow excellent explanation of GAN - thanks a lot
I love seeing this in 2022, and comparing this to DALL-E, GPT-3, etc. Wow. Five years later, and it's generating "Pink cat on a skateboard in Times Square" at artist quality. (@16:25 - Yup. You do. And it does.)
"...but neural networks don't have feelings yet." Robert Miles throws this out there nonchalantly. I think he knows something we don't. What is it?
I wish I saw this earlier. You guys are amazing.
"So cats equal zero and dogs equal one. You train it to know the difference" Ultimate final test: show it a Shiba Inu.
knightshousegames Shiba look too happy to be cats.
That is what they call a fringe case. My guess is the machine would try to return a 0.5
knightshousegames i think you should ban 0.5 because thats right for both cases always, the machine cant learn from that
No because in the end you can tell the network that it is a dog, and it could alter its biases based on that result, so the next 100 times you show it a shiba inu, it might be able to give a better answer. Whether that would negatively affect its ability to identify a cat, however, I have no idea.
The fact that he add "yet" is both exciting and chilling.
Bro understood the cyclical nature of GANs so well that even his explanation turned cyclical
Another cool thing he didn't mention about that experiment with the faces: They also tried to generate a picture with only features that were found on men, and one with only pictures that were found on women, and the network ended up generating "grotesque" pictures, that were basically caricatures of a "man" or a "woman".
Metsuryu Is it possible to see these images?
@@daniellewilson8527 I saw these somewhere a long time ago, but you can probably try googling something like "AI generated male/female faces"
@@MetsuryuVids bro thats too general of a search
@@toomuchcandor3293 Yeah, sorry, I don't remember much else. I tried to find it again sometime ago, but with no success.
yes, more of this guy!
"Kind of impressive" is a massive understatement. It's one of the most awesome and scary things I know.
Deeply sophisticated trial and error to produce meaningful visual results. Awesome
Such a great explanation!
Very interesting topic and an excellent explanation by Rob! I hardly ever write youtube comments, but this video is great; it deserves all the love it is getting.
The videos on Rob's channel are so much better edited
what an amazing video, i wish i had a teacher like him!
Latent space description was great!
Amazing explanation, thanks!
Absolutely fantastic mind/teacher. I am a complete and utter noob to any of these ideas and even I could follow along. Thank you so much
It's completely flabbergasting to me how far science has come in the last decade alone!
Nice intuitive explanation
This is amazing!
Wow this video is amazing. Can he do some live coding/example? Would be interesting to see the pictures.
Nice explanation 👌
Nicely explained in layman terms...liked it
The common room elephant: consciousness is _relative,_ and shared by electronic machinery, and all of Earth's animals, including elephants, and not excluding Man.
your video and way of explanation is easy and very understandable that even a person like me who is new to GANs can fully understand every point. but can you please make a video on how to optimize GANs with Whale Optimization Algorithm. I have searched a lot about how to optimize GANs with WHO but couldn't find any related coding example.
Would love to see some example pictures of the generated and real pictures.
Are the generators producing the same image, for the same input? If so could it mean, that continuously changing the input by small steps creates kind of an animation? If this really is the case I would really like to see such a movie :)
Check out arxiv.org/pdf/1511.06434.pdf , on page 8 the authors have essentially done that!
Wow, thanks Philipp, fascinating! Page 11 also!
Thanks, yeah I hoped, that the pictures would be better already, but I guess that will change over time :) Specially the faces fall in the uncandy-valley I'd say. But beside that those examples are exactly what I meant.
Check out my follow-up video: watch?v=MUVbqQ3STFA
talking about developing skynet and advanced artificial intelligence, while in the background the keep a Commodore PET as their Backup-System ^-^ PRICELESS!
This guy is on the ball: a rare trait indeed.
Very nice explanation man !
super clever way to explain thanks
What if you trained another lstm model to convert the text input into meaningful inputs to the generator? So instead of manually adding and subtracting values in the input vector until you get some high dimensional line or wave or something you just automate the process?
"Neural networks don't have feelings.. yet." lol
He said it so matter of factly and by the by. Chilly!
So you watched the video too?
I also payed specific attention to that "yet". It's super cool and scary to live in a time when we can confidently say that software might have feelings in the future
Man, The Detective and Fragger Example Is the Best Example In The World. He is An Amazing Teacher. I want to Learn A LOT From Him
Yay Rob Miles!
6 years ago is crazy
The last part where Rob talks about how meaningful features are mapped to the latent space are a demonstration of how machine learning can strongly pick up on and perpetuate biases. e.g. If you fed a model a large dataset of people and included whether people were criminals or not as part of your dataset, and you fed it a large amount of criminal photos wherein the subject was dark-skinned, the model may learn that the "Criminal" vector associates with the colour of a person's skin i.e. you are more likely to be guilty of ANY CRIME if you are black. If we put these kinds of models in charge of informing decisions (say, generating facial sketches for wanted criminals) we might encode harmful biases into systems we rely on in our day-to-day lives. Thus, these kinds of machine learning need to handled very carefully in real-world situations!
I think this type of machine learning algorithm might actually be somewhat resistant to what you describe, because in order for the discriminator to be consistently fooled, the generator needs to be creating samples that span the whole population of criminal photos. Criminals might have a statistically most likely race, but if the generator is only outputting pictures of that race, then the discriminator would be able to do better than 50% at spotting "fakes" by assuming that all pictures of that race were generated and not real. So the discriminator would actually undo the generator's bias for some time by being reverse-biased. So I think once the generator was fully trained it would be outputting images of criminals of all races, weighted by how many images in the training set were of each race. But now that I think about it, if we are using current arrest records as the training material for the GAN, then any current biases that exist with who police choose to arrest will show up in the GAN also, so developing a completely unbiased neural network for what you describe could indeed be challenging.
hi, thanks for the video, really great. please i would like to know the least number of samples to train a GAN system with as well as how long an ideal training will last with a single GPU and 2 CPU Cores. just an estimate.
2022 was the year of latent diffusion!! Disco diffusion, mid journey, and now Stable diffusion is about to make their weights public!! This stuff is so fascinating! :) Great talk about the way!!!
And the best thing is that diffusion models aren't GANs, so they won't suffer from mode collapse and other pain like that.
I'm pretty excited about GANs, but what about dealing with when either the generator or discriminator gets a big edge over the other during training and basically kills further progress of the first network? Robert spoke on training on where the discriminator is weak, but it would be nice to have some more details.
Awesome ! Excellent explaining !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Here's your regularly scheduled self-promoting comment to let you know that I've got my own channel you can subscribe to] Edit: I made a follow-up video with more images and animations! kzhead.info/sun/gLmPktWJaoWKeXk/bejne.html
I don't think people realise it is actually you and not a joke comment...
Could I borrow your voice?
Wait this is actually you?? Dammit, I knew that was the real Donald Trump!!
It's actually a good channel, do subscribe to it =)
Robert Miles
the vector arithmetic things is awesome
Well explained!
Best explanation !
Very interesting. I think perhaps the explanation focused on the interacted between the generator and discriminator such that we lost sight of the system still needing actual pictures of cats.
there are quite a few youtubers that have a lot of content on them playing around with GANs
Any recommendations for particularly interesting ones?
+Higgins2001 carykh being one I can think of that plays around with using a GAN to generate instrumental music by feeding it image representations.
Thanks!!
The GAN wasn't exactly very good though.
If I recall, the most recent AI created for DOTA 2 game uses GANs to decimate professional gamers. OpenAI
6:46 love that "yet"