Composing graphical models with neural networks · — more flexible models can require slow...

22
Composing graphical models with neural networks (most slides stolen from Matthew James Johnson) 1

Transcript of Composing graphical models with neural networks · — more flexible models can require slow...

Page 1: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Composing graphical models with neural networks

(most slides stolen from Matthew James Johnson)

1

Page 2: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Outline● Motivation and Examples● Stochastic Variational Inference● Structured Variational Auto-Encoders

2

Page 3: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Example: Generative Clustering

DataGMM

3

Page 4: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Example: Generative Clustering

4

Page 5: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

5

Page 6: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Application: Parse mouse behaviour

Aim: Generative model for different mouse behaviour

6

Page 7: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Application: Parse mouse behaviour

Input: Videos

Aim: Come up with a generative model for the behaviour and the video frames

7

Page 8: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Example: Switching Linear Dynamical System

8

Page 9: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Example: Switching Linear Dynamical System

9

Page 10: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Special Cases

GMM LDS

10

Page 11: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

11

Page 12: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Stochastic Variational Inference

12

Page 13: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Mean Field Approximation

Objective function

Equivalent to the Kalman Filter

13

Page 14: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

14

Algorithm

Page 15: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Structured Variational Auto Encoder

15

Page 16: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Mean Field Approximation

Objective function

16

Page 17: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

Variational Auto-Encoder

17

Page 18: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

18

Page 19: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

19

Algorithm

Page 20: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

20

Page 21: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

21

Page 22: Composing graphical models with neural networks · — more flexible models can require slow top-down inference — limited inference queries — data- and compute-hungry + recognition

22

Conclusion

Possible applicationsReinforcement Learning and BanditsSemi-supervised Learning