Topological properties of graphs
Sep 29th 2026
These slides, excluding third-party material, are licensed under CC BY-NC 4.0 by Sushmita Roy and Anthony Gitter
Plan for the semester
2
When | What |
Week 2-Week 4 | Representing and learning networks from data |
Week 5 | Graph structure properties and clustering |
Week 6-Week 9 | Shallow and deep representation learning on graphs* |
Week 9-Week 10 | Graph alignment and comparison |
Week 10-Week 13 | Network-based applications: prioritization, integration, interpretation |
Week 14-Week 15 | Project presentations |
*Includes Deep Learning in Network Biology
Plan for this section
Goals for today
Why should we care about network properties?
“Probably the most important discovery of network theory was the realization that despite the remarkable diversity of networks in nature, their architecture is governed by a few simple principles that are common to most networks of major scientific and technological interest” Barabasi and Oltvai, Nature Genetics Review 2004
Commonly measured network properties
Recall node degree
C
B
A
D
G
H
E
F
Average degree
Degree distribution
Different degree distributions
Poisson distribution
k
P(X=k)
Power law distribution
P(k)
k
Barabasi and Oltvai, Nature Genetics Review 2004
Erdös Renyi random graphs
Example Erdos-Renyi graphs
Courtesy: Spencer Halberg, Erika Da-Inn Lee
n: # of nodes, p: prob of an edge
p=0.05
p=0.1
p=0.25
p=0.4
Scale free networks
Poisson versus Scale free
Barabasi & Oltvai 2004, Nature Genetics Review
Yeast protein interaction network is believed to be scale free
Barabasi & Oltvai 2004, Nature Genetics Review
Degree of a node is correlated to functional importance of a node
Yeast PPI network degree distribution
5,905 nodes
86,286 edges
Origin of scale free networks
Barabasi & Oltvai 2004, Nature Genetics Review
Growth and preferential attachment in scale free networks
A new node (red) is more likely to connect to node 1
than 2
Barabasi & Oltvai 2004, Nature Genetics Review
Example scale free graph creation
Courtesy: Spencer, Erika. Original gif from Harvath Arpad available in Networkx in python
Commonly measured network properties
Paths on a graph
C
B
A
D
G
H
E
Path: a set of connected edges from one node to another
Paths from B to D
F
There are two paths from B-D: B->A->D and B->G->H->A->D
Path lengths
Scale-free networks tend to be ultra-small
Yeast protein interaction network
Avg. path length: 2.6
Diameter: 6
Nodes: 5,905
Edges: 86,286
Are scale free networks ubiquitous?
Broido, A. D. & Clauset, A. Scale-free networks are rare. Nat Commun 10, 1017 (2019).
Are scale free networks ubiquitous?
Broido, A. D. & Clauset, A. Scale-free networks are rare. Nat Commun 10, 1017 (2019).
Top Hat Question
Commonly measured network properties
Network motifs
Milo Science 2002
Network motifs of size 3 in a directed network
Additional possibilities if we consider the sign of an edge
Milo Science 2002
Different types of feed-forward motifs
Coherent: sign of the direct path is the same as the indirect path
Incoherent: sign of the direct path and indirect path are not the same
Alon 2007, Nature Review Genetics
These appear much more in transcriptional networks than other FF motifs
Network motifs are associated with dynamics
A feed-forward motif with an AND gate can encode a sign sensitive delay
Alon 2007, Nature Review Genetics
Network motifs found in many complex networks
The occurrence of the feed-forward loop in both networks suggests a fundamental similarity in the design on these networks
Milo et al., Science 2002
How to find network motifs?
Wernicke 2005: Pages 165-177 https://link.springer.com/content/pdf/10.1007/11557067.pdf
Generating a randomized network
Strategy to generate randomized networks (Switching method)
1
2
3
4
5
1
2
3
4
5
Select two edges connecting four vertices and swap the end points.
Repeat.
Milo, R., Kashtan, N., Itzkovitz, S., Newman, M. E. J. & Alon, U. On the uniform generation of random graphs with prescribed degree sequences. at http://arxiv.org/abs/cond-mat/0312028 (2004).
Strategy to generate randomized network (Matching method)
A
B
C
D
Adapted from Jure Leskovec slides on “Machine learning with graphs”
A
B
C
D
A
B
C
D
Nodes with spokes
Randomly pair up spokes
Resulting graph
Also called the configuration model
Assessing the significance of a network motif
The motif (red dashed edges) occurs much more frequently in the real network than
in any randomized network
Commonly measured network properties
Clustering coefficient
A
B
C
?
Clustering coefficient example
A
C
B
G
D
Commonly measured network properties
Resuming on Oct 21st, 2025
Modularity in networks
A modular network
Module 1
Module 2
Module 3
M. E. J. Newman, Modularity and community structure in networks, PNAS 2006
Different types of network modules
Albert-László Barabási, Natali Gulbahce, and Joseph Loscalzo, Nature Review Genetics 2011, Mitra et al., Nature Review Genetics 2014
Studying modularity in biological systems
Q measure for modularity
K: number of groups
eij: Fraction of total edges that link nodes in group i to group j
Detecting community structure in networks. M.E. J Newman
Fraction of edges within group i
Fraction of edges without regard to community structure
Summary of topological properties of networks
Goals for today
Problem definition of (topological) module detection
Common graph clustering algorithms
Please review Clustering slides at the end of this presentation if needed.
Community structure in a graph
Detecting community structure in networks, M. E. J. Newman
Communities
Intercommunity edges
Girvan-Newman algorithm
M. E. J. Newman and M. Girvan. Finding and evaluating community structure
Betweenness of an edge
Girvan-Newman algorithm
M. E. J. Newman and M. Girvan. Finding and evaluating community structure
Girvan-Newman algorithm as a hierarchical clustering algorithm
Graph vertices
where clustering is good enough
Zachary’s karate club study
Each node is an individual and edges represent social interactions among individuals. The shape and colors represent different groups.
Girvan Newman on Zachary’s karate club dataset
Each node is an individual and edges represent social interactions among individuals. The shape and colors represent different groups.
Node grouping based on betweenness
Modularity
References
Neural Subgraph Matching
Rex et al. Neural Subgraph Matching. at http://arxiv.org/abs/2007.03092 (2020).
Subgraph isomorphism
https://en.wikipedia.org/wiki/Subgraph_isomorphism_problem
Algorithm for enumerating subgraphs: Edge sampling
N(V’): set of neighbors of all vertices in V’
Kashtan et al., Bioinformatics 2004