Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on...

36
Lecture 18: Graph Neural Networks Topics in AI (CPSC 532S): Multimodal Learning with Vision, Language and Sound

Transcript of Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on...

Page 1: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Lecture 18: Graph Neural Networks

Topics in AI (CPSC 532S): Multimodal Learning with Vision, Language and Sound

Page 2: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Logistics

— All slides will be up today!

— Last lecture by me

— Paper list is up (volunteers)?

Page 3: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Traditional Neural Networks

* slide from Thomas Kipf, University of Amsterdam

Page 4: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph-structured DataA lot of real-world data does not “live” on grids

* slide from Thomas Kipf, University of Amsterdam

Page 5: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph-structured DataA lot of real-world data does not “live” on grids

* slide from Thomas Kipf, University of Amsterdam

Page 6: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph-structured DataA lot of real-world data does not “live” on grids

* slide from Thomas Kipf, University of Amsterdam

Page 7: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph-structured DataA lot of real-world data does not “live” on grids

* slide from Thomas Kipf, University of Amsterdam

Page 8: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph-structured DataA lot of real-world data does not “live” on grids

Standard CNN and RNN architectures don’t work on this data

* slide from Thomas Kipf, University of Amsterdam

Page 9: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs)

Main Idea: Pass massages between pairs of nodes and agglomerate

Alternative Interpretation: Pass massages between nodes to refine node (and possibly edge) representations

* slide from Thomas Kipf, University of Amsterdam

Page 10: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs)

Main Idea: Pass massages between pairs of nodes and agglomerate

Alternative Interpretation: Pass massages between nodes to refine node (and possibly edge) representations

* slide from Thomas Kipf, University of Amsterdam

Page 11: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Recap: Convolutional Neural Networks (CNNs) on Grids

* slide from Thomas Kipf, University of Amsterdam

Page 12: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Recap: Convolutional Neural Networks (CNNs) on Grids

* slide from Thomas Kipf, University of Amsterdam

Page 13: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Recap: Convolutional Neural Networks (CNNs) on Grids

* slide from Thomas Kipf, University of Amsterdam

Page 14: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Recap: Convolutional Neural Networks (CNNs) on Grids

* slide from Thomas Kipf, University of Amsterdam

Page 15: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Kipf & Welling (ICLR 2017), related previous works by Duvenaud et al. (NIPS 2015) and Li et al. (ICLR 2016) Graph Convolutional Networks (GCNs)

* slide from Thomas Kipf, University of Amsterdam

Page 16: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Kipf & Welling (ICLR 2017), related previous works by Duvenaud et al. (NIPS 2015) and Li et al. (ICLR 2016) Graph Convolutional Networks (GCNs)

* slide from Thomas Kipf, University of Amsterdam

Page 17: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Kipf & Welling (ICLR 2017), related previous works by Duvenaud et al. (NIPS 2015) and Li et al. (ICLR 2016) Graph Convolutional Networks (GCNs)

* slide from Thomas Kipf, University of Amsterdam

Page 18: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Kipf & Welling (ICLR 2017), related previous works by Duvenaud et al. (NIPS 2015) and Li et al. (ICLR 2016) Graph Convolutional Networks (GCNs)

* slide from Thomas Kipf, University of Amsterdam

Page 19: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

GNNs with Edge EmbeddingsBattaglia et al. (NIPS 2016), Gilmer et al. (ICML 2017), Kipf et al. (ICML 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 20: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

GNNs with Edge EmbeddingsBattaglia et al. (NIPS 2016), Gilmer et al. (ICML 2017), Kipf et al. (ICML 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 21: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

GNNs with Edge EmbeddingsBattaglia et al. (NIPS 2016), Gilmer et al. (ICML 2017), Kipf et al. (ICML 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 22: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs) with Attention Monti et al. (CVPR 2017), Hoshen (NIPS 2017), Veličković et al. (ICLR 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 23: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs) with Attention Monti et al. (CVPR 2017), Hoshen (NIPS 2017), Veličković et al. (ICLR 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 24: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs) with Attention Monti et al. (CVPR 2017), Hoshen (NIPS 2017), Veličković et al. (ICLR 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 25: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Networks (GNNs) with Attention Monti et al. (CVPR 2017), Hoshen (NIPS 2017), Veličković et al. (ICLR 2018)

* slide from Thomas Kipf, University of Amsterdam

Page 26: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

A Brief History of Graph Neural Nets

* slide from Thomas Kipf, University of Amsterdam

Page 27: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

How do we use GNN / GCN for real problems?

Page 28: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Classification and Link Prediction with GNNs / GCNs

* slide from Thomas Kipf, University of Amsterdam

Page 29: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Classification and Link Prediction with GNNs / GCNs

* slide from Thomas Kipf, University of Amsterdam

Page 30: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Classification and Link Prediction with GNNs / GCNs

* slide from Thomas Kipf, University of Amsterdam

Page 31: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Classification and Link Prediction with GNNs / GCNs

* slide from Thomas Kipf, University of Amsterdam

Page 32: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Semi-supervised Classification on Graphs

* slide from Thomas Kipf, University of Amsterdam

Page 33: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Semi-supervised Classification on Graphs

* slide from Thomas Kipf, University of Amsterdam

Page 34: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Semi-supervised Classification on Graphs

* slide from Thomas Kipf, University of Amsterdam

Page 35: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Conclusions— Deep learning on graphs works and is very effective!

— Exciting area: lots of new applications and extensions (hard to keep up)

Open problems: — Theory

— Scalable, stable generative models

— Learning on large, evolving data

— Multi-modal and cross-model learning (e.g., sequence2graph) * slide from Thomas Kipf, University of Amsterdam

Page 36: Topics in AI (CPSC 532S)lsigal/532S_2018W2/Lecture18a.pdf · Conclusions — Deep learning on graphs works and is very effective! — Exciting area: lots of new applications and

Graph Neural Nets (GNNs) are strict Generalizations of Traditional Neural Nets

(CNNs / RNNs can be implemented using GNNs / GCNs, but this is inefficient)