10 + 11 Flashcards

1
Q

What are the two main approaches to training artificial neural networks?

A

Deep belief nets and convolutional neural networks.

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

How does a deep network work?

A

Encodes complex functions using multiple hidden layers, the first layer learns simple patterns, the next learns patterns from this. Visual object classification is good for this.

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

How are images processed in a feed forward network?

A

Image treated as array of pixels, each neuron in a layer is connected to every neuron in previous layer.

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

How does a convolutional neural network process images?

A

A neuron takes input from a subimage(specified by user), another neuron with same wights takes input from same size subimage in different location(specified by user). This forms a 2D map of neurons sensitive to the same feature. This is done with many neurons to create more feature maps. Each feature map is like its own image. Pooling then occurs for each feature map via the same process to build a sub sampled map. A feature map can then be formed from this(treated as an image with colours = to number of feature maps). Second last will be the fully connected layer, in which each neuron connects to each neuron of every final feature map. This then does a standard feedforward to softmax neural network layer.

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

What is pooling?

A

Max pooling takes a subset of neighbouring neurons from a feature map and only retains the one with the highest output.

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

What is used to train a convolutional neural network?

A

Backpropagation. It is analogous to an MLP with lots of neurons but few weights. Note that the pooling layer has no trainable parameters, but can pass error “blame” backwards.

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

What are the typical activation functions used in a convolutional neural network?

A

Rectifier linear unit for convolutional layers, sigmoid function for fully connected MLP, and softmax for output.

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

What parts of a convolutional neural network must be specified by the user?

A

Convolutional layer: number of filters, size of filters, step size, padding.
Pooling layer:Size of pooling window, step size, type of pooling(max or average)

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

What are the biggest problems with convnets?

A

As long as a combination of features is found the actual order is typically ignored. State of the art networks are trained on huge training sets for this reason.

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

What are the basics of a genetic algorithm?

A

A species has some definition of fitness for each organism in it, each individual has variations in genes, giving genetic diversity(in combination with mutations). The most successful individuals will pass on their genes.
A genetic algorithm is essentially an optimisation problem.

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

What is a chromosome?

A

A sequence of characters from some alphabet.

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

What is the genetic algorithm steps?

A
  1. create population with random chromosomes.
  2. Evaluate fitness of each member
  3. pick two parents randomly as function of fitness.
  4. create new individual by mixing chromosomes(and mutations).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the two most common parent selection methods?

A

Roulette wheel: Sum fitness of all individuals in population, normalise to sum to 1. Express fitness of each individual as range in interval. Choose random number from 0,1. Pick individual whose range includes random number.

Tournament selection: Pick subset of n individuals from population at random, two fittest individuals are chosen as parents.

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

How are chromosomes mixed?

A

Crossover: choose a crossover point in chromosome. One side is the first parent’s chromosome, the other is the second parent’s chromosome. Next, using a low probability introduce a mutation in the child.

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

What are the parameters of a genetic algorithm?

A

How the chromosome encodes possible solutions, population size, selection method, mutation chance, crossover probabilities, elitism(retaining fittest individuals for next generation).

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