graph convolutional neural networks white › ~eestudentrg › presentations › de... ·...

35
Deconvoluting Graph Convolutional Networks Answering the whats, whys and hows Nagma Khan M.Tech, 3 rd Year Vision and Image Processing Lab, ElectricalEngineering

Upload: others

Post on 03-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

DeconvolutingGraphConvolutionalNetworks

Answering thewhats,whysandhows

NagmaKhanM.Tech,3rd Year

Vision andImageProcessingLab,ElectricalEngineering

Page 2: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Outline

● ConvolutionalNeuralNetworks

● WhyGraphConvolutionalNetworks(GCN)?

● ConvolutioninGCN

● Applications

Page 3: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Outline

● ConvolutionalNeuralNetworks

● WhyGraphConvolutionalNetworks(GCN)?

● ConvolutioninGCN

● Applications

Page 4: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutionalNeuralNetworks- Therevolution● AlexNetbroughtabouta

revolutionwithitssimplearchitectureandgoodperformance

● Thisnetworkachievedatop-5errorrateof15.3%inImageNet-2012challenge

● Hasjust8layers,5convolutional followedby3fully-connected

Image courtesy: https://www.slideshare.net/Haxel/iisdv-2017-the-next-era-deep-learning-for-biomedical-research

Page 5: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

NeuralNetworks- Thestartingpoint● Perceptronconsistsof

weightsw,summing functionandanactivationfunction

● Output= f(Wx +b)

A perceptron

Image courtesy: https://medium.com/technologymadeeasy/for-dummies-the-introduction-to-neural-networks-we-all-need-c50f6012d5eb

Page 6: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

NeuralNetworks- Thestartingpoint

A multi-layer perceptron model

Image courtesy: https://medium.com/technologymadeeasy/for-dummies-the-introduction-to-neural-networks-we-all-need-c50f6012d5eb

Multi-layer perceptron (MLP) models do not take spatial structure

into account and suffer from curse of

dimensionality!

Page 7: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutionalNeuralNetworks(CNN)● Operatesonimages- capturesthespatialstructure● Consistsoflearnablesetoffilterswhichperform2Dconvolutiononthe

imagetogetactivationmap

Image courtesy: https://media.giphy.com/media/6EjTPebp1oWxG/giphy.gifhttps://stats.stackexchange.com/questions/114385/what-is-the-difference-between-convolutional-neural-networks-restricted-boltzma

Page 8: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutionalNeuralNetwork- ActivationMaps● The2Dimageobtainedafter

convolution withfilteriscalledactivationmap

● Therecanbemultiple suchmapsinagivenlayerdepending onnumberoffilters

● Mapsintheinitiallayerslearnlowlevelfeatureslikeedgesanddeeperlayerslearnhigh-levelfeatures

Example activation maps

Image courtesy: https://www.quora.com/What-is-a-convolutional-neural-network

Page 9: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutionalNeuralNetwork- Pooling

Max-pooling operation

Image courtesy: http://cs231n.github.io/convolutional-networks/

Page 10: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutionalNeuralNetwork

An example architecture of a CNN being used for classification

Image courtesy: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 11: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Whatnext?

Neural Networks

Convolutional Neural

Networks

?

Page 12: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Outline

● ConvolutionalNeuralNetworks

● WhyGraphConvolutionalNetworks(GCN)?

● ConvolutioninGCN

● Applications

Page 13: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Graphs● Agraph(directedorundirected)

consistsofasetofverticesV(ornodes)andasetofedgesE

● Edgescanbeweighted(weightscanbescalarorvector)orbinary

● Nodesarerepresentedbyattributevalues(canbescalarorvector)

A directed graph

Image courtesy: https://cs.stackexchange.com/questions/18138/dijkstra-algorithm-vs-breadth-first-search-for-shortest-path-in-graph

Page 14: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ImageasaGraph● Eachpixelhas8neighbors

● Thenodeattributesarescalarvaluesforgrayscaleimageand3-dimensional forRGBimages

● Theedgeweightsarebinary(0or1),eitherpresentorabsent

Page 15: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

GraphConvolutionalNetworks(GCN)

Theirarisesmanyscenarioswheretheinherentstructureofthedatais

thatofagraph(fore.g.socialnetworks)andonehastolearnfrom

it,onecanemployGCNforclassification/segmentation/clusterin

gtasks!

Why?

Page 16: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

GraphConvolutionalNetworks(GCN)

*Image courtesy: Monti et al.,Geometric deep learning on graphs and manifolds using mixture model CNNs, 2016

The Cora dataset

Page 17: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

GraphConvolutionalNetworks(GCN)

ThearchitectureissimilartoatraditionalCNNbutittakesgraphsas

input,alsotheconvolutionandpoolingoperationsaredifferentin

principle

What?

Page 18: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

CNNvsGCN

Convolution

Pooling

Fully-connectedlayer

Same as in CNN!

?

? The three integral operations

Page 19: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

CNNvsGCN

An example architecture of a CNN being used for classification

Image courtesy: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/

Page 20: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

CNNvsGCN

An example architecture of a GCN being used for classification

Image courtesy: Defferrard et al. Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering. 2016

Page 21: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Outline

● ConvolutionalNeuralNetworks

● WhyGraphConvolutionalNetworks(GCN)?

● ConvolutioninGCN

● Applications

Page 22: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ConvolutioninGCN● SpectralandSpatialapproachexistforperformingconvolutioningraphs● Spectralapproachhasthelimitationofthegraphstructurebeingsame

forallsamplesi.e.homogeneous structure● Itisahardconstraint,asmostofthereal-worldgraphdatahasdifferent

structuresandsizefordifferent samplesi.e.heterogeneousstructure● Spatialapproachcomestotherescue!

Page 23: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach● Doesnotrequirehomogeneousgraphstructure● Inturn,requirespreprocessingofgraphtoenablelearningonit● RecallinCNN,imageshadtobesamesize beforebeingfedtotheCNN● So,incaseofGCNalsoalltheheterogeneousgraphstructuresneedto

bemappedtoafixed-sizeoutputbeforelearningisperformedonit● Luckilyanapproachexists- GraphEmbedPooling!

Page 24: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach

Graph-embedpooling

Fixed structure graph!

Page 25: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach

Image courtesy: F.P. Such et al., Robust Spatial Filtering with Graph Convolutional Neural Networks, 2017

Graph Convolution transforms only the Vertex values

whereas and Graph Pooling transforms both the Vertex

values as well as the Adjacency Matrix

Page 26: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach- Convolution● ConvolutionoftheverticesV withthefilterH requirematrix

multiplicationoftheform,

● ThefilterH isdefinedasthek-thdegreepolynomialofthegraphadjacencymatrixA,

● Generallywehave,

● Incaseofnodeattributesbeingvector,thematrixH canbedesignedaccordingly

Page 27: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach- Pooling● JustlikeinCNN,heretoopoolinghastobeperformed● Graphembedpoolingistheapproach,itserves twopurposes-

○ pooling ofgraphstoreducesize(and increasereceptivefield)

○ mappingofinput toafixedsizeoutputgraph

● Unlikemax-poolinginCNN,hereaconvolutionallayerislearntwhoseoutputgivestheembeddingmatrix

● Usingtheembeddingmatrix,thevertexattributesandadjacencymatrixaretransformed

Page 28: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Spatialapproach

Graph Embed Pooling demonstrated, geometry should not

be taken literally

Image courtesy: F.P. Such et al., Robust Spatial Filtering with Graph Convolutional Neural Networks, 2017

Page 29: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Outline

● ConvolutionalNeuralNetworks

● WhyGraphConvolutionalNetworks(GCN)?

● ConvolutioninGCN

● Applications

Page 30: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Applications● Classification

○ Images/segmentsmodelledasgraphbeing labeledintoclasses

○ Chemicalcompound classification

● Clustering/Segmentation(subsetofclassification)○ Imagepixels,modelledasagraph,being labeledintosemanticclasses

○ Researchpaperclassificationdepending onthecitationandreferencesrelationshipbetweendifferentdocuments (Coradataset)

○ Toorganizeinformation inlargedatasetsforfasteraccess,sayforsocialnetworkanalysis

Page 31: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Applications

Image represented as a graph

*Image courtesy: F.P. Such et al., Robust Spatial Filtering with Graph Convolutional Neural Networks, 2017

Samples of chemical compounds which will be classified into positive or negative sample for detection of

lung cancerMNIST digit image as

a graph

Page 32: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Applications

*Image courtesy: Monti et al.,Geometric deep learning on graphs and manifolds using mixture model CNNs, 2016

The Cora dataset

Page 33: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ImportantReferences1. David I Shuman, Sunil K Narang, Pascal Frossard, Antonio Ortega, and Pierre Vandergheynst. The Emerging Field

of Signal Processing on Graphs. IEEE Signal Processing Magazine, 30(3):83–98, 2013.

2. Aliaksei Sandryhaila and José M F Moura. Discrete Signal Processing on Graphs. IEEE Transactions on Signal Processing, 61(7):1644–1656, 2013.

3. Bruna et al. Spectral networks and locally connected networks on graphs. In International Conference on Learning Representations (ICLR), 2014.

4. Michael Edwards and Xianghua Xie. Graph Based Convolutional Neural Network. arXiv:1609.08965, 2016.

5. Michae ̈l Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering. 2016.

6. Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodola ̀, Jan Svoboda, and Michael M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model CNNs. arXiv:1611.08402, 2016.

7. F. P. Such et al. Robust Spatial Filtering With Graph Convolutional Neural Networks. IEEE Journal of Selected Topics in Signal Processing, vol. 11, no. 6, pp. 884-896, 2017.

Page 34: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

Questions?

Page 35: Graph Convolutional Neural Networks white › ~eestudentrg › presentations › De... · 2018-02-09 · Michael Edwards and XianghuaXie. Graph Based Convolutional Neural Network

ThankYou