deep belief nets experiments and some ideas

30
Deep belief nets experiments and some ideas. Karol Gregor NYU/Caltech

Upload: jeb

Post on 04-Feb-2016

44 views

Category:

Documents


0 download

DESCRIPTION

Deep belief nets experiments and some ideas. Karol Gregor NYU/Caltech. Outline. DBN Image database experiments Temporal sequences. Deep belief network. Backprop. Labels. H3. H2. H1. Input. Preprocessing – Bag of words of SIFT. With: Greg Griffin (Caltech). Images. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Deep belief nets experiments and some ideas

Deep belief nets experiments and some ideas.

Karol GregorNYU/Caltech

Page 2: Deep belief nets experiments and some ideas

Outline

DBN Image database experiments

Temporal sequences

Page 3: Deep belief nets experiments and some ideas

Deep belief network

Input

H1

H2

H3

Labels

Backprop

Page 4: Deep belief nets experiments and some ideas

Preprocessing – Bag of words of SIFT

Images Features (using SIFT)

Group them (e.g. K-means)

Bag of words

Image1 Image2Word1 23 11Word2 12 55Word3 92 33… … …

With: Greg Griffin (Caltech)

Page 5: Deep belief nets experiments and some ideas

13 Scenes Database – Test error

Page 6: Deep belief nets experiments and some ideas

Train error

Page 7: Deep belief nets experiments and some ideas

- Pre-training on larger dataset- Comparison to svm, spm

Page 8: Deep belief nets experiments and some ideas

Explicit representations?

Page 9: Deep belief nets experiments and some ideas

Compatibility between databases

Pretraining: Corel databaseSupervised training: 15 Scenes database

Page 10: Deep belief nets experiments and some ideas

Temporal Sequences

Page 11: Deep belief nets experiments and some ideas

Simple prediction

t-1 t-2 t-3

t

X

Y

W

Supervised learning

Page 12: Deep belief nets experiments and some ideas

With hidden units(need them for several reasons)

t-1,t-2,t-3 t

t

Ht-1,t-2,t-3

G

X Y

¡ E =WX Y Hi j k X iYj Hk +WY H

j k Yj Hk +WYj Yj +WH

k Hk

Memisevic, R. F. and Hinton, G. E., Unsupervised Learning of Image Transformations. CVPR-07

Page 13: Deep belief nets experiments and some ideas

Example

pred_xyh_orig.m

Page 14: Deep belief nets experiments and some ideas

Additions t-1 t

t

Ht-1

G

X Y

¡ E =WX Y Hi j k X iYj Hk +WY H

j k Yj Hk +WYj Yj +WH

k Hk

Sparsity: When inferring the H the first time, keep only the largest n units on

Slow H change: After inferring the H the first time, take H=(G+H)/2

Page 15: Deep belief nets experiments and some ideas

Examples

pred_xyh.m

present_line.m

present_cross.m

Page 16: Deep belief nets experiments and some ideas

Sensese.g. Eye (through

retina, LGN)

Muscles(through sub-

cortical structures)

Hippocampus

e.g. See: Jeff Hawkins: On Intelligence

Page 17: Deep belief nets experiments and some ideas

Cortical patch: Complex structure(not a single layer RBM)

From Alex Thomson and Peter Bannister, (see numenta.com)

Page 18: Deep belief nets experiments and some ideas

Desired properties

Page 19: Deep belief nets experiments and some ideas

A B C D E F GH J K L E F H

1) Prediction

Page 20: Deep belief nets experiments and some ideas

2) Explicit representations for sequences

VISIONRESEARCH

time

Page 21: Deep belief nets experiments and some ideas

3) Invariance discovery

time

e.g. complex cell

Page 22: Deep belief nets experiments and some ideas

4) Sequences of variable length

VISIONRESEARCH

time

Page 23: Deep belief nets experiments and some ideas

5) Long sequences

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 1 2 3 5 8 13 21 34 55 89 1441 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ? ? 2 2 2 2 2 2 2 2 2 2 Layer1

Layer2

Page 24: Deep belief nets experiments and some ideas

6) Multilayer

VISIONRESEARCH

time

- Inferred only after some time

Page 25: Deep belief nets experiments and some ideas

7) Smoother time steps

Page 26: Deep belief nets experiments and some ideas

8) Variable speed

- Can fit a knob with small speed range

Page 27: Deep belief nets experiments and some ideas

9) Add a clock for actual time

Page 28: Deep belief nets experiments and some ideas

Sensese.g. Eye (through

retina, LGN)

Muscles(through sub-

cortical structures)

Hippocampus

Page 29: Deep belief nets experiments and some ideas

Sensese.g. Eye (through

retina, LGN)

Muscles(through sub-

cortical structures)

Hippocampus

In Addition

- Top down attention- Bottom up attention- Imagination- Working memory- Rewards

Page 30: Deep belief nets experiments and some ideas

Training data

- Videos-Of the real world-Simplified: Cartoons (Simsons)

-A robot in an environment -Problem: Hard to grasp objects

-Artificial environment with 3D objects that are easy to manipulate (e.g. Grand theft auto IV with objects)