Navigate Select ESC Close

How the MIND of an AI Actually works! Inside Neural Networks!

2023-05-27 Science & Technology
124.5k
4.5k
575
Arvin Ash
Arvin Ash
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Skip the waitlist and invest in blue-chip art for the very first time by signing up for Masterworks: https://www.masterworks.art/arvinash Purchase shares in great masterpieces from artists like Pablo Picasso, Banksy, Andy Warhol, and more. How Masterworks works: -Create your account with your traditional bank account -Pick major works of art to invest in or our new blue-chip diversified art portfolio -Identify investment amount -Hold shares in works by Picasso or trade them in our secondary marketplace See important Masterworks disclosures: https://www.masterworks.com/about/disclaimer?utm_source=arvinash&utm_medium=youtube&utm_campaign=5-27-23&utm_term=Arvin+Ash+subscriber WANT All YOUR QUESTIONS ANSWERED guaranteed, and provide video subject input? Join Arvin's Patreon: https://www.patreon.com/arvinash REFERENCES (Prior video) How ChatGPT works: https://youtu.be/WAiqNav2cRE Sigmoid functions: https://tinyurl.com/2pqeg7ag How to build a Neural Network: https://tinyurl.com/yfxscyum Simple guid to Neural Networks: https://tinyurl.com/2gn6wvmc CHAPTERS 0:00 What this video is about 1:12 What is a neural network? 3:42 How do neural networks work? 6:17 How nonlinearity is built into neural networks 9:00 Masterworks offer: https://www.masterworks.art/arvinash 10:47 How Artificial intelligence can be "scary" 13:45 What is the real threat of AI? SUMMARY In this video, I explain how AI really works in detail. An artificial neural network, also called neural network, is at its core, a mathematical equation, no more. It’s just math. The term neural network comes from its analogy to neurons in our body. Neurons in neural networks also serve to receive and transmit signals, just like a biological neuron. Like in the brain, we connect multiple neurons together and form a neural network which we can train to perform a task. A neuron in a neural network is a processor, which is essentially a function with some parameters. This function takes in inputs, and after processing the inputs, it creates an output, which can be passed along to another neuron. Like neurons in the brain, artificial neurons can also be connected to each other via synapses. While an individual neuron can be simple and might not do anything impressive, it’s the networking that makes them so powerful. And that network is the core of artificial intelligence systems. How do these artificial neurons work? Well, essence of an artificial neuron is nothing but this simple equation from elementary school, Z(X)=W*X + B, where x is the input, w is a weight, b is a bias term and the result or output is Z(x). This allows the AI system to map the input value x to some preferred output value Z(x). How are W and b determined? This is where training comes in. We have to train the parameters w and b into the AI system, such that the input can be modified into the most appropriate or correct output. How is the training done? I do a simple example to illustrate how this works. The input is controlled and the output is known. If the output is not what it should be, then W and b are modified until the output does match. After many iterations, the network "learns" by adjusting W and b in the various nodes of the network. Note that equation above is linear, which is limiting. Nonlinearity is introduced into the network by adding a mathematical trick called an activation function. An example of such a function is the sigmoid function. I show an example of this in the video.With an appropriate activation function, the AI can answer much more complex questions. #artificialintelligence #ai #neuralnetworks There is one thing about this neural network that some find scary. When a network is trained, the adjustments that the system makes to the W and b in the training process is a black box. This means that when we train the system using known inputs and known outputs, we are having the system self-adjust its internal networking results from the various nodes, to match what the known result should be. But how exactly the network adjusts the various layers of intermediate outputs, to achieve the final output we want is NOT really known. The input and output layers are known. But the stuff inside is not. And so these intermediate layers of neurons are called “hidden” layers. The hidden layers are a black box. We don’t really know what these various layers are doing. They are performing some transformation of the data which we don’t understand. We can find the calculated intermediate results, but these look meaningless. No AI technology based on neural networks today could become something like Skynet in the Terminator movies, that suddenly becomes conscious and threatens mankind. The real threat of AI is in its power to do things that humans do today, and thus potentially eliminate jobs.

Top Comments (10)

@lamcho00 2023-05-27

The problem is, you train a neural network with a particular goal in mind, but it ends up doing more. It finds patterns in the data you were not able to foresee. When ChatGPT was trained, nobody thought it will be able to do math. Even if it's just simple arithmetic with small numbers. Nobody new it would be able to handle concepts or make generalizations. It would be more useful to think of neural networks as function finders. They substitute the function you are not able to explicitly define and write conventionally. The bad thing about training a neural network on vast amounts of information is, it ends up picking the intentions behind the words. In a way it finds the function of emotional outbursts or bad intentions. As long as the information was generated by humans with such flaws, the neural network is bound to pick those flaws up. In the case with ChatGPT and Bing Chat they had to train another neural network to block those type of responses. So in a way these unforeseen consequences are already happening. I think the issue here is that such big neural network require lots of data and it's not humanly viable to check all that data and sanitize it. Just search for *"Bing Chat Behaving Badly"* and you'll see what I'm talking about.

93 37 replies
@michaelhouston1279 2023-06-07

I recall reading about an AI program that was built to recognize wolves from a picture. They trained it with a bunch of pictures, but when they then showed it a picture of a wolf, and asked it if this was a wolf, it failed. They also showed it pictures of dogs and sometimes it would fail by saying it was a wolf. They decided to add code to determine what the AI was using to "learn" what a wolf was. They discovered that all the pictures of wolves that they used to train the AI had snow in the background and the snow is what the AI picked up on. I think we need to be very careful introducing AI into society to make sure it's not flawed in the hidden, black-box part.

88 8 replies
@MartijnMuller 2023-06-06

I've been trying to inform myself about AI for a couple months now and I never really understood why of how people said "we don't understand how it works". Your video is the first that made me understand the black box. Great job my friend!

38 4 replies
@BlackbodyEconomics 2023-05-27

I've got a "well, actually ..." here for ya. AI/ML engineer here - many of these larger networks actually DO do things they have not been trained to do. They often surprise their own developers with capabilities they were never trained to perform.

24 1 replies
@patrickmchargue7122 2023-05-27

You should also add a discussion on recurrent networks. Maybe neuromorphic ones too. The feed-forward networks are the most common, but these others are pretty interesting.

19 1 replies
@ArvinAsh 2023-05-27

Here's the link to my prior video on how AI bots like ChatGPT work: https://www.youtube.com/watch?v=WAiqNav2cRE - Good background to have prior to or after watching. video above

14 7 replies
@TheUnknown79 2023-06-30

If toe is the input then eot must be the output So my dear Ash get ready for the end of transmission by the broadcasting tenet

2
@aiart3615 2023-05-27

Thank you Arvin for this topic.

2
@JacobP81 2023-08-10

0:27 I don't know how it works, I've been wondering a lot how it does, that's why I'm watching this.

1
@ainsley7662 2023-11-19

So nicely explained, thanks

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot