Week 3: AlphaGo and Computations Flashcards

1
Q

Why is the AlphaGo game so difficult?

A

-board game is 19x19 so 361 neurons
-state space is 10^172
-game tree size is 10^ 360

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does AI use a neural network for AlphaGo?

A

-Build a neuron layer that corresponds to each number within the 361 spaces
-Neural network learns the strength of each positon
-Model learn the pattern of the game board, known as the policy network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

policy network meaning

A

You take the input of the image and you get a distribution of all the outputs you should take

same as end-to-end system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AlphaGo model

A

-a hybrid model
-includes both self-learning and 30 millions games played by professional players
-looks at the game board and the action that a real player actually took to train AI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain AlphaZero

A

-Self Play with zero human knowledge
-AI competes with AI
-Uses the outcome of the game play to train their model (in the beginning they act randomly)
-Based on outcome they update their neural network

Can use alpha zero to play different games

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Difference between human and neural network learning

A
  1. Deep network has high performance with a lot of experience (takes a lot of hours spent playing the game, but can outperform humans)
  2. Humans learn new games much more quickly– we require very little “data” while AI requires a lot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How would you design AI to be able to identify the joints?

A

-input: image
-output: identifying each joint

To design the output layer: assign a number to each joint – the number tells you the x and y position

E.g. Left elbow
X position: 280
Y position: 300

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Components of one neuron

A
  1. Summation process
  2. Bias
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Summation Process

A

Sum all the numbers from your input

-This is a weighted summation. the sigma value indicates the weighted sum.
-x represents the pixel value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Weighted Summation

A

Some input has higher weight and some has lower weight

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

*Bias

A

-a constant that gets added at the end of the weighted sum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why do you need the bias?

A

-Some neurons get excited too easily and need to calm down a bit
-Others are too passive and need a boost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Who sets the weight and the bias?

A

the neural network, not humans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a fully connected neural network mean?

A

Every neuron is connected to every neuron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Since H1 and H2 are connected to the same input neurons and therefore always receive the same inputs, does this mean that H1 and H2 will always have the same input summation?

A

No because you have different weights and biases per neuron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Activation function

A

Takes the weighted sum and bias and transforms it to produce the neuron’s output, which is then passed to the next neuron

Activation function must be nonlinear

17
Q

An activation function must be…

A

nonlinear

-Input (x axis ) will be weighted sum
-Y axis will be the outcome

18
Q

How does simple classification work

A

In order to determine which category a new data point belongs to, it makes a classification by drawing a line (on this side of line you belong to this category, on the other side of the line you belong to that category)

However, data is not always this simple - not every problem can be solved for a line (for example, some data is represented as a circle)

19
Q

How is the problem of messy data addressed?

A

Instead of changing the model, the hidden layer of neurons can transform the data into something that can be segmented with a line

19
Q

Cartesian System vs Polar System

A

-Cartesian uses two perpendicular lines (x and y axis) to plot points while polar system uses a distance from the origin and an angle
-Wouldn’t be able to segment them with the cartesian system
-Neural networks wants to learn the transformation function so that points on the cartesian system can be put into the polar system

20
Q

Two ways a point can be represented

A
  1. Cartesian System
  2. Polar System
21
Q

*How can a cartesian point be transformed into a polar point?

A

Polar X Coordinate
1. identify the two cartesian coordinates
2. square both the x and y coordinates, then add
3. take the square root of this value

Polar Y Coordinate
atan^2(y,x) x (180/pi)

22
Q

Linear transformation

A

-Transforming cartesian data into polar is not a linear function
-A neural network learns how to combine these small pieces of action functions to achieve the transformations that works best for a particular task

23
Q

What are the hidden layers really and what do they do?

A

They are a giant function that transform the raw data in one coordination into another coordination

24
Q

What does the ouput layer represent in a yes/no question?

A

the probability that the input image contains a target object (e.g. face or cup)