Lecture 8: Deep Neural Networks Flashcards
What is a neural network?
A neural network is a set of interconnected stimuli. It is able to learn new behaviours.
Name 3 milestones in the history of NNs.
The electronic brain was the first advancement. It was not able to learn.
Hinton produced the multi-layered perceptron, which allowed for backpropagation.
Hinton then produced a deep neural network, which allowed pre-trained models.
What are the 3 neuron activation functions? Is there another alternative?
Sigmoid
Tanh
ReLU
An alternative would be to apply a layer function like SoftMax.
Give two examples of Neural Network topologies.
The first is perceptron, which has 2 layers: input and ouput.
The second is multi-layer perceptron, which is the same as perceptron but has an additional hidden layer.
What is meant by the term “training parameters”?
Finding/changing weights
Give three learning algorithms that are used in neural networks.
Batch gradient descent, which calculated the gradient at the end of each batch.
Stochastic gradient descent, which calculates gradient at each iteration/stimulus.
Mini batch gradient descent uses mini-batch, which is a subset of the total dataset.
What is the difference between the training dataset and test dataset?
Training dataset refers to the example stimuli used, but test dataset is the test stimuli used to assess model performance.
What is overfitting and underfitting?
Overfitting is when the model does not generalise well, i.e. when the test accuracy error is high.
Underfitting is when the model generalises almost too well, i.e. when the test accuracy error is almost zero.
What are examples of optimisation methods for neural networks?
Adam
SGD
RMSProp
How can overfitting be limited?
By tuning the regularisation strength and dropout probability
Give an example of a benchmark dataset for neural networks.
MNIST consists of handwritten digits (10 categories). It has 60,000 training set and 10,000 test set.
CIFAR-10 consists of colour images (10 classes). It has 50,000 training images, 10000 test images.
CIFAR-100 has 100 classes with 600 each and 20 superclasses.
ImageNet is the most important and complex dataset.
What is a convolutional neural network?
It is a neural network that converts human-defined features to learned features, called filters.
What was the first convolutional network called?
LeNet
How are convolutional feature maps used?
It is a sequential implementation of feature maps, where the window is slided over each feature map.
How can the spatial resolution of feature maps be reduced?
By pooling/sub-sampling.