CNNs and RNNs




CS256

Chris Pollett

Nov 15, 2017

Outline

Convolutional Neural Nets

Convolutional Neural Net Layers

Example Feature Map

CNN Motivation Biology

Why are CNNs good for image processing?

Stages of a CNN Layer and Pooling

In-Class Exercise

Variants on a Basic CNN Layer

What is the effect of having multiple CNN layers?

CNN Architecture

CNN Architecture - LeNet-5 Example

Due to Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. 1998

  1. Inputs: 32 x 32 pixel digits images
  2. Hidden Layer 1: Uses 5x5 kernel (with bias this means 26 weights), outputs 6, 24 x 24 feature maps.
  3. Hidden Layer 2: Uses 2x2 pixel maxpool layer, outputs 6, 14 x 14 feature maps.
  4. Hidden Layer 3: Uses 5x5 pixel kernel, outputs 16, 10 x 10 feature maps.
  5. Hidden Layer 4: Uses 2x2 pixel maxpool layer, outputs 16, 5 x 5 feature maps.
  6. Hidden Layer 6: Uses 5x5 pixel kernel, outputs 120, 1 x 1 feature maps.
  7. Hidden Layer 7: Fully connected to 120 input, 84 outputs.
  8. Output: 10 radial basis functions each getting 84 inputs, and whose outputs correspond to the different digits.

Intro to Recurrent Neural Nets