SlideShare a Scribd company logo
Representation learning on graphs
11/05/2019 1
HCMC, May 2019
A/Prof Truyen Tran
Deakin University truyentran.github.io
truyen.tran@deakin.edu.au @truyenoz
letdataspeak.blogspot.com
goo.gl/3jJ1O0
11/05/2019 2
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Why learning of graph representation?
Graphs are pervasive in many scientific disciplines.
The sub-area of graph representation has reached a certain
maturity, with multiple reviews, workshops and papers at top
AI/ML venues.
Deep learning needs to move beyond vector, fixed-size data.
Learning representation as a powerful way to discover hidden
patterns making learning, inference and planning easier.
11/05/2019 3
System
medicine
11/05/2019 4https://www.frontiersin.org/articles/10.3389/fphys.2015.00225/full
Biology & pharmacy
Traditional techniques:
 Graph kernels (ML)
 Molecular fingerprints
(Chemistry)
Modern techniques
 Molecule as graph: atoms as
nodes, chemical bonds as edges
11/05/2019 5
#REF: Penmatsa, Aravind, Kevin H. Wang, and Eric Gouaux. "X-
ray structure of dopamine transporter elucidates antidepressant
mechanism." Nature 503.7474 (2013): 85-90.
Chemistry
DFT = Density Functional Theory
Gilmer, Justin, et al. "Neural message passing for quantum
chemistry." arXiv preprint arXiv:1704.01212 (2017).
11/05/2019 6
• Molecular properties
• Chemical-chemical
interaction
• Chemical reaction
• Synthesis planning
Materials science
11/05/2019 7
Xie, Tian, and Jeffrey C. Grossman.
"Crystal Graph Convolutional Neural
Networks for an Accurate and
Interpretable Prediction of Material
Properties." Physical review
letters 120.14 (2018): 145301.
• Crystal properties
• Exploring/generating
solid structures
• Inverse design
Videos as space-time region graphs
(Abhinav Gupta et al, ECCV’18)
Knowledge graphs
11/05/2019 9
https://www.zdnet.com/article/salesforce-research-knowledge-graphs-and-machine-learning-to-power-einstein/
11/05/2019 10
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Skip-gram
Negative sampling
Loss function
Predicting neighbors
DeepWalk (KDD-2014)
Considered as #epochs
For Hierarchical Softmax
Iterate over each epoch
Finding neighbours of each node
Update embedding of this node
Neighbour nodes Window size
Embedding matrix
Node2Vec (KDD-2016)
Similar to DeepWalk in using Skip-gram model for unsupervised learning.
Only modifies the search for neighboring nodes that balance between BFS and DFS.
Defines edge embedding based on node embedding
 Can solve link prediction problem
2nd order Random Walk
Consider random walk that just
travelled edge (t, v). The walk
will decide which is the next
node x that it should go from v
by computing
p and q are
hyper-parameters
Node2Vec
(Cont.)
Why it scales over DeepWalk?
Use Negative Sampling
instead of Hierarchical Softmax
Batch learning
11/05/2019 15
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Message passing
11/05/2019 16
Thin column
Relation graph Stacked learning
Column nets#REF: Pham, Trang, et al. "Column Networks for
Collective Classification." AAAI. 2017.
Factored message passing
11/05/2019 17
#REF: Do, Kien, et al. "Attentional Multilabel Learning over Graphs-A message passing
approach." Machine Learning, 2019.
Graph attention
(Do et al arXiv’s17, Veličković et al ICLR’ 18)
11/05/2019 18
Learning deep matrix representations, K Do, T Tran, S
Venkatesh, arXiv preprint arXiv:1703.01454
11/05/2019 19
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Graph morphism
Input: Graph
Output: A new graph. Same
nodes, different edges.
Model: Graph morphism
Method: Graph
transformation policy
network (GTPN)
11/05/2019 20
Kien Do, Truyen Tran, and Svetha Venkatesh. "Graph Transformation Policy Network for Chemical
Reaction Prediction." KDD’19.
Graph recurrence
Graphs that represent interaction between entities through time
Spatial edges are node interaction at a time step
Temporal edges are consistency relationship through time
Challenges
The addition of temporal edges make the graphs
bigger, more complex
 Relying on context specific constraints to reduce the
complexity by approximations
Through time, structures of the graph may change
 Hard to solve, most methods model short sequences
to avoid this
Structural RNN
CVPR16 best student paper Saxena group, Cornell
Example: human
microwaving food
 Middle: s-t graph capturing
spatial and temporal
interactions between the
human and the objects.
 Top: Schematic representation
of structural-RNN architecture
Structural RNN
Node features: human and object poses,
Edge features: relative orientation
Node labels: human activity and object affordance.
 affected by both its node and its interactions with other nodes (edges)
Structural RNN – from s-t graph
Each factor is represented as a RNN
Form a feed forward bipartite graph from edge factors to node factors
Sharing factors between node and edge of same semantics type
 More compact
 Support node # changes
Structural RNN - Applications
Activity detection and
anticipation
Skeleton tracking
Driver maneuver
prediction
Message-Passing Encoder-Decoder Recurrent Net
11/05/2019 27
• Prelim version published in (Morais et al,
CVPR’19)
• Multiple interacting channels
• Graphs are dynamics, with attention.
• Mixture density network at each time step
11/05/2019 28
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Technical challenges
No regular structures (e.g. grid, sequence,…)
Graphs are permutation invariant:
#permutations are exponential function of #nodes
The probability of a generated graph G need to be marginalized over
all possible permutations
Generating graphs with variable size
Diversity of generated graphs
Smoothness of latent space
Generation methods
Classical random graph models, e.g., An exponential family of probability
distributions for directed graphs (Holland and Leinhardt, 1981)
Deep Generative Model Methods:
 Variational Graph AutoEncoders
 Graphite: Iterative Generative Modeling of Graphs
 GraphVAE: Towards Generation of Small Graph using Variational AutoEncoder
 Junction Tree Variational AutoEncoder for Molecular Graph Generation
Sequence-based & RL method:
 GraphRNN - A Deep Generative Model for Graphs
 Multi-Objective De Novo Drug Design with Conditional Graph Generative Model
11/05/2019 30
Variational Autoencoder
(Kingma & Welling, 2013)
Two separate processes: generative (hidden visible) versus
recognition (visible  hidden)
http://kvfrans.com/variational-autoencoders-explained/
Gaussian
hidden
variables
Data
Generative
net
Recognising
net
Generative
Adversarial
Networks
(Goodfellow et al,2014)
11/05/2019 32
GAN architecture. Source: DL4J
(Goodfellow’s, NIPS 2014)
Variational methods
Minimize the upper bound on the negative log-likelihood,
equivalent to maximizing the ELBO:
Adjacency matrix
Edge types Node types
k>n
The graph size
are bounded
Latent vector for
whole graph
GraphVAE (Simonovsky and Komodakis)
Junction Tree VAE (Jin et. al.)
Constraint during adding nodes
GraphRNN
A case of graph
dynamics: nodes and
edges are added
sequentially.
Solve tractability using
BFS
11/05/2019 37
You, Jiaxuan, et al.
"GraphRNN: Generating
realistic graphs with deep
auto-regressive
models." ICML (2018).
Graphs step-wise construction
using reinforcement learning
11/05/2019 38
You, Jiaxuan, et al. "Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation." NeurIPS (2018).
Graph rep (message passing) | graph validation (RL) | graph
faithfulness (GAN)
11/05/2019 39
Graph dynamics
Graph generation
Graph reasoning
Message passing
Embedding
Why bother?
Graph representation
Reasoning
Reasoning is to deduce knowledge from
previously acquired knowledge in response
to a query (or a cue)
Early theories of intelligence:
focuses solely on reasoning,
learning can be added separately and later!
(Khardon & Roth, 1997).
11/05/2019 40
Khardon, Roni, and Dan Roth. "Learning to reason." Journal of the ACM
(JACM) 44.5 (1997): 697-725.
(Dan Roth; ACM
Fellow; IJCAI John
McCarthy Award)
Inferring relations
11/05/2019 41
https://www.zdnet.com/article/salesforce-research-knowledge-graphs-and-machine-
learning-to-power-einstein/
Do, Kien, Truyen Tran, and Svetha Venkatesh. "Knowledge
graph embedding with multiple relation projections." 2018
24th International Conference on Pattern Recognition (ICPR).
IEEE, 2018.
Querying a graph
11/05/2019 42
Controller
… Memory
Graph
Task/query Bioactivities
𝒚𝒚
query
#Ref: Pham, Trang, Truyen Tran, and Svetha Venkatesh. "Graph Memory
Networks for Molecular Activity Prediction." ICPR’18.
Message passing as refining
node & query representation
Querying a
graph (2)
11/05/2019 43
https://rylanschaeffer.github.io/content/research/neural_turing_machine/main.html
Neural Turing Machine
(Grave et al, 2014)
Differentiable Neural Computer (Grave et al, 2016)
Querying multiple graphs
11/05/2019 44
𝑴𝑴1
… 𝑴𝑴𝐶𝐶
𝒓𝒓𝑡𝑡
1
…𝒓𝒓𝑡𝑡
𝐾𝐾
𝒓𝒓𝑡𝑡
∗
Controller
Write𝒉𝒉𝑡𝑡
Memory
Graph
Query Output
Read
heads
Pham, Trang, Truyen Tran, and Svetha Venkatesh. "Relational dynamic memory networks." arXiv
preprint arXiv:1808.04247(2018).
Detects high-order
patterns from
disconnected paths
Learns graph
similarity
Models graph-graph
interaction
Supports structured
queries
On going and future work
Graph translation, graph2graph,
graph2seq
Graphs in context (e.g., crystals,
human activities in scene)
Semi-supervised learning
Manifolds learning
Graph as hidden layers (e.g., see
Ying et al, NIPS’19)
Generative models of sequence of
graphs
11/05/2019 45
Theoretical properties of graphs (e.g., Xu
et al, ICLR’19)
Graph matching
Higher-order graph neural networks
(e.g., Morris, AAAI’19)
Graphs for logical inference
Graphs of multi-agent communication
Continuous time graph dynamics
Graph density – anomaly detection
For more refs
Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., & Yu, P. S. (2019). A comprehensive survey on graph neural
networks. arXiv preprint arXiv:1901.00596.
Battaglia, P. W., Hamrick, J. B., Bapst, V., Sanchez-Gonzalez, A., Zambaldi, V., Malinowski, M., ... & Gulcehre, C.
(2018). Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261.
Goyal, P., & Ferrara, E. (2018). Graph embedding techniques, applications, and performance: A survey.
Knowledge-Based Systems, 151, 78-94.
Lee, J. B., Rossi, R. A., Kim, S., Ahmed, N. K., & Koh, E. (2018). Attention models in graphs: A survey. arXiv
preprint arXiv:1807.07984.
Bronstein, M. M., Bruna, J., LeCun, Y., Szlam, A., & Vandergheynst, P. (2017). Geometric deep learning: going
beyond euclidean data. IEEE Signal Processing Magazine, 34(4), 18-42.
Hamilton, W. L., Ying, R., &Leskovec, J. (2017). Representation learning on graphs: Methods and applications.
IEEE Data Engineering Bulletin.
Nickel, M., Murphy, K., Tresp, V., Gabrilovich, E. (2016). A review of relational machine learning for
knowledge graphs. Proceedings of the IEEE. 104.1, 11-33.
11/05/2019 46
The graph team @
11/05/2019 47
A/Prof. Truyen Tran
Dr Trang Pham
(Now @Google)
Dr Vuong Le
Mr Kien DoMr Tin Pham Mr Thao Minh Le
Dr Thin Nguyen
11/05/2019 48
Thank you!
http://ahsanqawl.com/2015/10/qa/
We’re hiring
PhD & Postdocs
truyen.tran@deakin.edu.au
https://truyentran.github.io/scholarship.html

More Related Content

What's hot

What's hot (20)

GraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDBGraphSage vs Pinsage #InsideArangoDB
GraphSage vs Pinsage #InsideArangoDB
 
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use CasesNeo4j GraphTalk Helsinki - Introduction and Graph Use Cases
Neo4j GraphTalk Helsinki - Introduction and Graph Use Cases
 
Community detection in social networks
Community detection in social networksCommunity detection in social networks
Community detection in social networks
 
Graph kernels
Graph kernelsGraph kernels
Graph kernels
 
Graph-Powered Machine Learning
Graph-Powered Machine LearningGraph-Powered Machine Learning
Graph-Powered Machine Learning
 
Density Based Clustering
Density Based ClusteringDensity Based Clustering
Density Based Clustering
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative FactsDebunking some “RDF vs. Property Graph” Alternative Facts
Debunking some “RDF vs. Property Graph” Alternative Facts
 
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks
Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks
 
Community detection
Community detectionCommunity detection
Community detection
 
Final thesis presentation
Final thesis presentationFinal thesis presentation
Final thesis presentation
 
GAN - Theory and Applications
GAN - Theory and ApplicationsGAN - Theory and Applications
GAN - Theory and Applications
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 
Intro to deep learning
Intro to deep learning Intro to deep learning
Intro to deep learning
 
2. visualization in data mining
2. visualization in data mining2. visualization in data mining
2. visualization in data mining
 
Introducing Neo4j
Introducing Neo4jIntroducing Neo4j
Introducing Neo4j
 
Dbscan algorithom
Dbscan algorithomDbscan algorithom
Dbscan algorithom
 
Knowledge Graph Embeddings for Recommender Systems
Knowledge Graph Embeddings for Recommender SystemsKnowledge Graph Embeddings for Recommender Systems
Knowledge Graph Embeddings for Recommender Systems
 
Recurrent neural networks rnn
Recurrent neural networks   rnnRecurrent neural networks   rnn
Recurrent neural networks rnn
 
Machine learning clustering
Machine learning clusteringMachine learning clustering
Machine learning clustering
 

Similar to Representation learning on graphs

Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
lauratoni4
 
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVEPARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
IJDKP
 

Similar to Representation learning on graphs (20)

AI that/for matters
AI that/for mattersAI that/for matters
AI that/for matters
 
Representation Learning on Complex Graphs
Representation Learning on Complex GraphsRepresentation Learning on Complex Graphs
Representation Learning on Complex Graphs
 
Deep learning 1.0 and Beyond, Part 1
Deep learning 1.0 and Beyond, Part 1Deep learning 1.0 and Beyond, Part 1
Deep learning 1.0 and Beyond, Part 1
 
Employing Graph Databases as a Standardization Model towards Addressing Heter...
Employing Graph Databases as a Standardization Model towards Addressing Heter...Employing Graph Databases as a Standardization Model towards Addressing Heter...
Employing Graph Databases as a Standardization Model towards Addressing Heter...
 
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
Graph Signal Processing for Machine Learning A Review and New Perspectives - ...
 
Intégration de données omiques multi-échelles : méthodes à noyau et autres ap...
Intégration de données omiques multi-échelles : méthodes à noyau et autres ap...Intégration de données omiques multi-échelles : méthodes à noyau et autres ap...
Intégration de données omiques multi-échelles : méthodes à noyau et autres ap...
 
NS-CUK Joint Journal Club: V.T.Hoang, Review on "Heterogeneous Graph Attentio...
NS-CUK Joint Journal Club: V.T.Hoang, Review on "Heterogeneous Graph Attentio...NS-CUK Joint Journal Club: V.T.Hoang, Review on "Heterogeneous Graph Attentio...
NS-CUK Joint Journal Club: V.T.Hoang, Review on "Heterogeneous Graph Attentio...
 
Simulation Informatics
Simulation InformaticsSimulation Informatics
Simulation Informatics
 
GIS-Based Adaptive Neuro Fuzzy Inference System (ANFIS) Method for Vulnerabil...
GIS-Based Adaptive Neuro Fuzzy Inference System (ANFIS) Method for Vulnerabil...GIS-Based Adaptive Neuro Fuzzy Inference System (ANFIS) Method for Vulnerabil...
GIS-Based Adaptive Neuro Fuzzy Inference System (ANFIS) Method for Vulnerabil...
 
An experimental evaluation of similarity-based and embedding-based link predi...
An experimental evaluation of similarity-based and embedding-based link predi...An experimental evaluation of similarity-based and embedding-based link predi...
An experimental evaluation of similarity-based and embedding-based link predi...
 
Massive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networksMassive parallelism with gpus for centrality ranking in complex networks
Massive parallelism with gpus for centrality ranking in complex networks
 
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVEPARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
PARTITIONING WIDE AREA GRAPHS USING A SPACE FILLING CURVE
 
Mid sem presentation 2019 -2020.pptx
Mid sem presentation 2019 -2020.pptxMid sem presentation 2019 -2020.pptx
Mid sem presentation 2019 -2020.pptx
 
Towards XMAS: eXplainability through Multi-Agent Systems
Towards XMAS: eXplainability through Multi-Agent SystemsTowards XMAS: eXplainability through Multi-Agent Systems
Towards XMAS: eXplainability through Multi-Agent Systems
 
KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning
KagNet: Knowledge-Aware Graph Networks for Commonsense ReasoningKagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning
KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoning
 
Introduction and e research time line review
Introduction and e research time line reviewIntroduction and e research time line review
Introduction and e research time line review
 
Stack 20070905a
Stack 20070905aStack 20070905a
Stack 20070905a
 
What Makes Graph Queries Difficult?
What Makes Graph Queries Difficult?What Makes Graph Queries Difficult?
What Makes Graph Queries Difficult?
 
Ppt for paper id 696 a review of hybrid data mining algorithm for big data mi...
Ppt for paper id 696 a review of hybrid data mining algorithm for big data mi...Ppt for paper id 696 a review of hybrid data mining algorithm for big data mi...
Ppt for paper id 696 a review of hybrid data mining algorithm for big data mi...
 
MODEL_FOR_SEMANTICALLY_RICH_POINT_CLOUD.pdf
MODEL_FOR_SEMANTICALLY_RICH_POINT_CLOUD.pdfMODEL_FOR_SEMANTICALLY_RICH_POINT_CLOUD.pdf
MODEL_FOR_SEMANTICALLY_RICH_POINT_CLOUD.pdf
 

More from Deakin University

Generative AI to Accelerate Discovery of Materials
Generative AI to Accelerate Discovery of MaterialsGenerative AI to Accelerate Discovery of Materials
Generative AI to Accelerate Discovery of Materials
Deakin University
 

More from Deakin University (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Deep learning and reasoning: Recent advances
Deep learning and reasoning: Recent advancesDeep learning and reasoning: Recent advances
Deep learning and reasoning: Recent advances
 
AI for automated materials discovery via learning to represent, predict, gene...
AI for automated materials discovery via learning to represent, predict, gene...AI for automated materials discovery via learning to represent, predict, gene...
AI for automated materials discovery via learning to represent, predict, gene...
 
Deep analytics via learning to reason
Deep analytics via learning to reasonDeep analytics via learning to reason
Deep analytics via learning to reason
 
Generative AI to Accelerate Discovery of Materials
Generative AI to Accelerate Discovery of MaterialsGenerative AI to Accelerate Discovery of Materials
Generative AI to Accelerate Discovery of Materials
 
Generative AI: Shifting the AI Landscape
Generative AI: Shifting the AI LandscapeGenerative AI: Shifting the AI Landscape
Generative AI: Shifting the AI Landscape
 
From deep learning to deep reasoning
From deep learning to deep reasoningFrom deep learning to deep reasoning
From deep learning to deep reasoning
 
Machine Learning and Reasoning for Drug Discovery
Machine Learning and Reasoning for Drug DiscoveryMachine Learning and Reasoning for Drug Discovery
Machine Learning and Reasoning for Drug Discovery
 
Deep Learning 2.0
Deep Learning 2.0Deep Learning 2.0
Deep Learning 2.0
 
Deep learning 1.0 and Beyond, Part 2
Deep learning 1.0 and Beyond, Part 2Deep learning 1.0 and Beyond, Part 2
Deep learning 1.0 and Beyond, Part 2
 
Machine reasoning
Machine reasoningMachine reasoning
Machine reasoning
 
AI/ML as an empirical science
AI/ML as an empirical scienceAI/ML as an empirical science
AI/ML as an empirical science
 
Machine Reasoning at A2I2, Deakin University
Machine Reasoning at A2I2, Deakin UniversityMachine Reasoning at A2I2, Deakin University
Machine Reasoning at A2I2, Deakin University
 
AI in the Covid-19 pandemic
AI in the Covid-19 pandemicAI in the Covid-19 pandemic
AI in the Covid-19 pandemic
 
Visual reasoning
Visual reasoningVisual reasoning
Visual reasoning
 
AI for tackling climate change
AI for tackling climate changeAI for tackling climate change
AI for tackling climate change
 
AI for drug discovery
AI for drug discoveryAI for drug discovery
AI for drug discovery
 
Deep learning and applications in non-cognitive domains I
Deep learning and applications in non-cognitive domains IDeep learning and applications in non-cognitive domains I
Deep learning and applications in non-cognitive domains I
 
Deep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains IIDeep learning and applications in non-cognitive domains II
Deep learning and applications in non-cognitive domains II
 
Deep learning and applications in non-cognitive domains III
Deep learning and applications in non-cognitive domains IIIDeep learning and applications in non-cognitive domains III
Deep learning and applications in non-cognitive domains III
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 

Representation learning on graphs

  • 1. Representation learning on graphs 11/05/2019 1 HCMC, May 2019 A/Prof Truyen Tran Deakin University truyentran.github.io truyen.tran@deakin.edu.au @truyenoz letdataspeak.blogspot.com goo.gl/3jJ1O0
  • 2. 11/05/2019 2 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 3. Why learning of graph representation? Graphs are pervasive in many scientific disciplines. The sub-area of graph representation has reached a certain maturity, with multiple reviews, workshops and papers at top AI/ML venues. Deep learning needs to move beyond vector, fixed-size data. Learning representation as a powerful way to discover hidden patterns making learning, inference and planning easier. 11/05/2019 3
  • 5. Biology & pharmacy Traditional techniques:  Graph kernels (ML)  Molecular fingerprints (Chemistry) Modern techniques  Molecule as graph: atoms as nodes, chemical bonds as edges 11/05/2019 5 #REF: Penmatsa, Aravind, Kevin H. Wang, and Eric Gouaux. "X- ray structure of dopamine transporter elucidates antidepressant mechanism." Nature 503.7474 (2013): 85-90.
  • 6. Chemistry DFT = Density Functional Theory Gilmer, Justin, et al. "Neural message passing for quantum chemistry." arXiv preprint arXiv:1704.01212 (2017). 11/05/2019 6 • Molecular properties • Chemical-chemical interaction • Chemical reaction • Synthesis planning
  • 7. Materials science 11/05/2019 7 Xie, Tian, and Jeffrey C. Grossman. "Crystal Graph Convolutional Neural Networks for an Accurate and Interpretable Prediction of Material Properties." Physical review letters 120.14 (2018): 145301. • Crystal properties • Exploring/generating solid structures • Inverse design
  • 8. Videos as space-time region graphs (Abhinav Gupta et al, ECCV’18)
  • 10. 11/05/2019 10 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 12. DeepWalk (KDD-2014) Considered as #epochs For Hierarchical Softmax Iterate over each epoch Finding neighbours of each node Update embedding of this node Neighbour nodes Window size Embedding matrix
  • 13. Node2Vec (KDD-2016) Similar to DeepWalk in using Skip-gram model for unsupervised learning. Only modifies the search for neighboring nodes that balance between BFS and DFS. Defines edge embedding based on node embedding  Can solve link prediction problem 2nd order Random Walk Consider random walk that just travelled edge (t, v). The walk will decide which is the next node x that it should go from v by computing p and q are hyper-parameters
  • 14. Node2Vec (Cont.) Why it scales over DeepWalk? Use Negative Sampling instead of Hierarchical Softmax Batch learning
  • 15. 11/05/2019 15 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 16. Message passing 11/05/2019 16 Thin column Relation graph Stacked learning Column nets#REF: Pham, Trang, et al. "Column Networks for Collective Classification." AAAI. 2017.
  • 17. Factored message passing 11/05/2019 17 #REF: Do, Kien, et al. "Attentional Multilabel Learning over Graphs-A message passing approach." Machine Learning, 2019.
  • 18. Graph attention (Do et al arXiv’s17, Veličković et al ICLR’ 18) 11/05/2019 18 Learning deep matrix representations, K Do, T Tran, S Venkatesh, arXiv preprint arXiv:1703.01454
  • 19. 11/05/2019 19 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 20. Graph morphism Input: Graph Output: A new graph. Same nodes, different edges. Model: Graph morphism Method: Graph transformation policy network (GTPN) 11/05/2019 20 Kien Do, Truyen Tran, and Svetha Venkatesh. "Graph Transformation Policy Network for Chemical Reaction Prediction." KDD’19.
  • 21. Graph recurrence Graphs that represent interaction between entities through time Spatial edges are node interaction at a time step Temporal edges are consistency relationship through time
  • 22. Challenges The addition of temporal edges make the graphs bigger, more complex  Relying on context specific constraints to reduce the complexity by approximations Through time, structures of the graph may change  Hard to solve, most methods model short sequences to avoid this
  • 23. Structural RNN CVPR16 best student paper Saxena group, Cornell Example: human microwaving food  Middle: s-t graph capturing spatial and temporal interactions between the human and the objects.  Top: Schematic representation of structural-RNN architecture
  • 24. Structural RNN Node features: human and object poses, Edge features: relative orientation Node labels: human activity and object affordance.  affected by both its node and its interactions with other nodes (edges)
  • 25. Structural RNN – from s-t graph Each factor is represented as a RNN Form a feed forward bipartite graph from edge factors to node factors Sharing factors between node and edge of same semantics type  More compact  Support node # changes
  • 26. Structural RNN - Applications Activity detection and anticipation Skeleton tracking Driver maneuver prediction
  • 27. Message-Passing Encoder-Decoder Recurrent Net 11/05/2019 27 • Prelim version published in (Morais et al, CVPR’19) • Multiple interacting channels • Graphs are dynamics, with attention. • Mixture density network at each time step
  • 28. 11/05/2019 28 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 29. Technical challenges No regular structures (e.g. grid, sequence,…) Graphs are permutation invariant: #permutations are exponential function of #nodes The probability of a generated graph G need to be marginalized over all possible permutations Generating graphs with variable size Diversity of generated graphs Smoothness of latent space
  • 30. Generation methods Classical random graph models, e.g., An exponential family of probability distributions for directed graphs (Holland and Leinhardt, 1981) Deep Generative Model Methods:  Variational Graph AutoEncoders  Graphite: Iterative Generative Modeling of Graphs  GraphVAE: Towards Generation of Small Graph using Variational AutoEncoder  Junction Tree Variational AutoEncoder for Molecular Graph Generation Sequence-based & RL method:  GraphRNN - A Deep Generative Model for Graphs  Multi-Objective De Novo Drug Design with Conditional Graph Generative Model 11/05/2019 30
  • 31. Variational Autoencoder (Kingma & Welling, 2013) Two separate processes: generative (hidden visible) versus recognition (visible  hidden) http://kvfrans.com/variational-autoencoders-explained/ Gaussian hidden variables Data Generative net Recognising net
  • 32. Generative Adversarial Networks (Goodfellow et al,2014) 11/05/2019 32 GAN architecture. Source: DL4J (Goodfellow’s, NIPS 2014)
  • 33. Variational methods Minimize the upper bound on the negative log-likelihood, equivalent to maximizing the ELBO:
  • 34. Adjacency matrix Edge types Node types k>n The graph size are bounded Latent vector for whole graph GraphVAE (Simonovsky and Komodakis)
  • 35. Junction Tree VAE (Jin et. al.)
  • 37. GraphRNN A case of graph dynamics: nodes and edges are added sequentially. Solve tractability using BFS 11/05/2019 37 You, Jiaxuan, et al. "GraphRNN: Generating realistic graphs with deep auto-regressive models." ICML (2018).
  • 38. Graphs step-wise construction using reinforcement learning 11/05/2019 38 You, Jiaxuan, et al. "Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation." NeurIPS (2018). Graph rep (message passing) | graph validation (RL) | graph faithfulness (GAN)
  • 39. 11/05/2019 39 Graph dynamics Graph generation Graph reasoning Message passing Embedding Why bother? Graph representation
  • 40. Reasoning Reasoning is to deduce knowledge from previously acquired knowledge in response to a query (or a cue) Early theories of intelligence: focuses solely on reasoning, learning can be added separately and later! (Khardon & Roth, 1997). 11/05/2019 40 Khardon, Roni, and Dan Roth. "Learning to reason." Journal of the ACM (JACM) 44.5 (1997): 697-725. (Dan Roth; ACM Fellow; IJCAI John McCarthy Award)
  • 41. Inferring relations 11/05/2019 41 https://www.zdnet.com/article/salesforce-research-knowledge-graphs-and-machine- learning-to-power-einstein/ Do, Kien, Truyen Tran, and Svetha Venkatesh. "Knowledge graph embedding with multiple relation projections." 2018 24th International Conference on Pattern Recognition (ICPR). IEEE, 2018.
  • 42. Querying a graph 11/05/2019 42 Controller … Memory Graph Task/query Bioactivities 𝒚𝒚 query #Ref: Pham, Trang, Truyen Tran, and Svetha Venkatesh. "Graph Memory Networks for Molecular Activity Prediction." ICPR’18. Message passing as refining node & query representation
  • 43. Querying a graph (2) 11/05/2019 43 https://rylanschaeffer.github.io/content/research/neural_turing_machine/main.html Neural Turing Machine (Grave et al, 2014) Differentiable Neural Computer (Grave et al, 2016)
  • 44. Querying multiple graphs 11/05/2019 44 𝑴𝑴1 … 𝑴𝑴𝐶𝐶 𝒓𝒓𝑡𝑡 1 …𝒓𝒓𝑡𝑡 𝐾𝐾 𝒓𝒓𝑡𝑡 ∗ Controller Write𝒉𝒉𝑡𝑡 Memory Graph Query Output Read heads Pham, Trang, Truyen Tran, and Svetha Venkatesh. "Relational dynamic memory networks." arXiv preprint arXiv:1808.04247(2018). Detects high-order patterns from disconnected paths Learns graph similarity Models graph-graph interaction Supports structured queries
  • 45. On going and future work Graph translation, graph2graph, graph2seq Graphs in context (e.g., crystals, human activities in scene) Semi-supervised learning Manifolds learning Graph as hidden layers (e.g., see Ying et al, NIPS’19) Generative models of sequence of graphs 11/05/2019 45 Theoretical properties of graphs (e.g., Xu et al, ICLR’19) Graph matching Higher-order graph neural networks (e.g., Morris, AAAI’19) Graphs for logical inference Graphs of multi-agent communication Continuous time graph dynamics Graph density – anomaly detection
  • 46. For more refs Wu, Z., Pan, S., Chen, F., Long, G., Zhang, C., & Yu, P. S. (2019). A comprehensive survey on graph neural networks. arXiv preprint arXiv:1901.00596. Battaglia, P. W., Hamrick, J. B., Bapst, V., Sanchez-Gonzalez, A., Zambaldi, V., Malinowski, M., ... & Gulcehre, C. (2018). Relational inductive biases, deep learning, and graph networks. arXiv preprint arXiv:1806.01261. Goyal, P., & Ferrara, E. (2018). Graph embedding techniques, applications, and performance: A survey. Knowledge-Based Systems, 151, 78-94. Lee, J. B., Rossi, R. A., Kim, S., Ahmed, N. K., & Koh, E. (2018). Attention models in graphs: A survey. arXiv preprint arXiv:1807.07984. Bronstein, M. M., Bruna, J., LeCun, Y., Szlam, A., & Vandergheynst, P. (2017). Geometric deep learning: going beyond euclidean data. IEEE Signal Processing Magazine, 34(4), 18-42. Hamilton, W. L., Ying, R., &Leskovec, J. (2017). Representation learning on graphs: Methods and applications. IEEE Data Engineering Bulletin. Nickel, M., Murphy, K., Tresp, V., Gabrilovich, E. (2016). A review of relational machine learning for knowledge graphs. Proceedings of the IEEE. 104.1, 11-33. 11/05/2019 46
  • 47. The graph team @ 11/05/2019 47 A/Prof. Truyen Tran Dr Trang Pham (Now @Google) Dr Vuong Le Mr Kien DoMr Tin Pham Mr Thao Minh Le Dr Thin Nguyen
  • 48. 11/05/2019 48 Thank you! http://ahsanqawl.com/2015/10/qa/ We’re hiring PhD & Postdocs truyen.tran@deakin.edu.au https://truyentran.github.io/scholarship.html