DeepDream

Strategy

Instead of generating a completed new image, here we want to amplify the existing features which we’ve detected on the original image

We know that positions with strong features also have high activations, this will be the key for this algorithm

Steps

  • Choose an image and a layer in a CNN

Repeat:

  1. Compute activations at chosen layer with forward pass
  2. Set gradient of chosen layer equal to its activations, is outputs (activations) of the layer
  1. Compute gradient on image pixels
  2. Update image

Example

Step 2 amplifies “all” the important features it detects. However, there will be wrong detection, and the wrong features will be applied on the image