Top Banner
Day 2 Lecture 1 Deep Belief Networks (DBN) Elisa Sayrol
25

Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Jan 27, 2017

Download

Data & Analytics

Xavier Giro
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Day 2 Lecture 1

Deep Belief Networks (DBN)

Elisa Sayrol

Page 2: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Restrictive Boltzmann Machine (RBM)

Training. Contrastive Divergence (CD)

Deep Belief Networks (DBN)

Overview

Page 3: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

3

Restricted Boltzmann Machine (RBM)

Figure: Geoffrey Hinton (2013)

Salakhutdinov, Ruslan, Andriy Mnih, and Geoffrey Hinton. "Restricted Boltzmann machines for collaborative filtering." Proceedings of the 24th international conference on Machine learning. ACM, 2007.

● Shallow two-layer net.● Restricted=No two nodes in a layer share a

connection● Bipartite graph.● Bidirectional graph

○ Shared weights.○ Different biases.

Page 4: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

4

Restricted Boltzmann Machine (RBM)

Figure: Geoffrey Hinton (2013)

Salakhutdinov, Ruslan, Andriy Mnih, and Geoffrey Hinton. "Restricted Boltzmann machines for collaborative filtering." Proceedings of the 24th international conference on Machine learning. ACM, 2007.

Page 5: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

5

Restricted Boltzmann Machine (RBM)

DeepLearning4j, “A Beginner’s Tutorial for Restricted Boltzmann Machines”.

Forward pass

Page 6: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

6

Restricted Boltzmann Machine (RBM)

DeepLearning4j, “A Beginner’s Tutorial for Restricted Boltzmann Machines”.

Backwardpass

c

c

c

c

Page 7: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

7

Restricted Boltzmann Machine (RBM)

DeepLearning4j, “A Beginner’s Tutorial for Restricted Boltzmann Machines”.

Backwardpass

The reconstructed values at the visible layer are compared with the actual ones with the KL Divergence.

Page 8: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

8

What are the Maths behind RBMs? (Estimation of the parameters)

Geoffrey Hinton, "Introduction to Deep Learning & Deep Belief Nets” (2012)Geoorey Hinton, “Tutorial on Deep Belief Networks”. NIPS 2007.

Page 9: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

9

What are the Maths behind RBMs?

Other references:

Deeplearning.net: Restricted Boltzmann Machines (with Theano functions and concepts)Hugo Larochelle: Course on NN

Let’s take a look at some of his slides on RBM….

Page 10: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

10

What are the Maths behind RBMs?

Hugo Larochelle Slides

Page 11: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 12: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 13: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 14: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 15: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 16: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 17: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 18: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Hugo Larochelle Slides

Page 19: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

19

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

● Architecture like an MLP.● Training as a stack of

RBMs.

Page 20: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

20

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

● Architecture like an MLP.● Training as a stack of

RBMs.

Page 21: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

21

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

● Architecture like an MLP.● Training as a stack of

RBMs.

Page 22: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

22

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

● Architecture like an MLP.● Training as a stack of

RBMs.

Page 23: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

23

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

● Architecture like an MLP.● Training as a stack of

RBMs…● ...so they do not need

labels:

Unsupervisedlearning

Page 24: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

24

Deep Belief Networks (DBN)

Hinton, Geoffrey E., Simon Osindero, and Yee-Whye Teh. "A fast learning algorithm for deep belief nets." Neural computation 18, no. 7 (2006): 1527-1554.

After the DBN is trained, it can be fine-tuned with a reduced amount of labels to solve a supervised task with superior performance.

Supervisedlearning

Softm

ax

Page 25: Deep Belief Networks (D2L1 Deep Learning for Speech and Language UPC 2017)

Thank You!