Shallow Unsupervised Graph Embedding
Oct 6th 2026
These slides, excluding third-party material, are licensed under CC BY-NC 4.0 by Sushmita Roy and Anthony Gitter
Topics in this section
Goals for today
Representation learning of graphs
Hamilton, Ying, Leskovec, 2018
Learning representations for unsupervised problems on graphs
From graphs to embeddings
DeepWalk embedding of Zachary Karate Club social network
Hamilton, Ying, Leskovec, 2018
Nodes in graph
You already know one way to do this!
Nodes in graph
What algorithm have we seen in class?
You already know one way to do this!
First 2 eigen vectors of the Zachary Karate Club graph
(Not the same embedding)
Overview of algorithms we will see
Goals for today
Notation
Unsupervised representation learning on graphs
Encoder-decoder framework of representation learning
Hamilton, Ying, Leskovec, 2018. Representation Learning on Graphs: Methods and Applications
Encoder-decoder framework
A set of training node pairs
Classes of node embedding methods
Laplacian eigenmaps
Coming from the original graph
Graph factorization, GraRep, HOPE
Random-walk based methods
Hamilton, Ying, Leskovec, 2018;
See also node2vec+ better handles edges weights. Liu et al. Bioinformatics 2023 http://doi.org/10.1093/bioinformatics/btad047
Random walk-based methods
Motivation for node2vec
Node2vec key steps
Node2vec: generating neighborhood
dtx: Shortest path distance from t to x
distances wrt t
Node2vec: Objective function
Maximize the likelihood of neighborhoods
“Neighborhood” of u from sampling strategy S
Conditional independence assumption over individual source-neighbor pairs
Node2vec: Objective function
Likelihood of source-neighbor node pair
Simplified objective function
Denominator in likelihood above (approximated with negative sampling)
Node2vec implementation
Node2vec training
Node2vec: effect of p and q
Grover et al. 2016
p = 1
q = 0.5
p = 1
q = 2
Les Misérables character co-appearance network: 77 nodes, 237 edges
Colors: clusters on learned embeddings
TopHat
Experiments: Node classification
Experiments: Link prediction
Goals for today
OhmNet: Predicting multicellular function through�multi-layer tissue networks
Zitnik, M. & Leskovec, J. Predicting multicellular function through multi-layer tissue networks. Bioinformatics 33, i190–i198 (2017).
OhmNet representation of multi-layered networks
Tissue
Feature encoding in OhmNet
OhmNet overview
Encoding each network
Incorporating the hierarchy
OhmNet objective
Per network objective
Hierarchical part
OhmNet Algorithm
Sample neighborhoods
Go over all leaf nodes in the tissue tree
OhmNet Algorithm
Learn the encodings
OhmNet evaluation dataset
OhmNet prediction tasks
Predicting cellular function
Transfer learning task
Predicting function in a transfer learning manner
Degradation in performance is expected, but only graceful degradation
Visualizing tissue-specific networks
OhmNet was used only on the brainstem and brain networks and project the nodes in a 2D space
OhmNet key points
Conclusions
References
DeepWalk
Perozzi et al. 2014