Professional Documents
Culture Documents
for Internet
Computing
Lecture 9: RANDOM NETWORK MODELS
A nice book to discover the field
• Example:
• When m=n/2,suddenly the giant component
emerges, i.e.:
• One connected component of the network has
O(n) nodes
• The next largest connected component has
O(log(n)) nodes
DEGREE DISTRIBUTION OF A RANDOM GRAPH
Select k
nodes from N- probability
1 of
probability
missing N-
of
1-k
having k
edges
edges
• Summary
Generalized random graphs (ER-DD)
• Preserve the degree distribution of data
(“ER-DD”)
• Constructed as follows:
• An ER-DD network has n nodes
(so does the data)
• Edges are added between pairs of nodes using
the “stubs method” [configuration model
discussed earlier]
Generalized random graphs (ER-DD)
• The “stubs method” for constructing ER-DD
graphs:
• The number of “stubs” (to be filled by edges) is
assigned to each node in the model network
according to the degree distribution of the real
network to be modeled
• Edges are created between pairs of nodes with
“available” stubs picked at random
• After an edge is created, the number of stubs left
available at the corresponding “end nodes” of the
edges is decreased by one
• Multiple edges between the same pair of nodes are
not allowed
Generalized random graphs (ER-DD)
• Summary
• Summary
Scale-free networks (SF)
• Power-law degree distributions: P(k) = k−γ
• γ > 0; 2 < γ < 3
Scale-free networks (SF)
• Power-law degree distributions: P(k) = k−γ
• γ > 0; 2 < γ < 3
Scale-free networks (SF)
• Different models exist, e.g.:
• Summary
Stochastic Block Models
p=1/6
N=10
k ~ 1.5
Definition:
p=1/6
N=12
p=0.03
N=100
Note: No node has a very high degree. Rather, it is very unlikely for one
node to have a very high degree. Why? (HW question)
Binomial distribution...
( X ) E ( X ) E X
2 2 2
http://keral2008.blogspot.com/2008/10/derivation-of-mean-and-variance-of.html
Network Science: Random Graphs 2012
MATH TUTORIAL the variance of a binomial distribution
http://keral2008.blogspot.com/2008/10/derivation-of-mean-and-variance-of.html
Network Science: Random Graphs 2012
MATH TUTORIAL Binomian Distribution: The bottom line
http://keral2008.blogspot.com/2008/10/derivation-of-mean-and-variance-of.html
Network Science: Random Graphs 2012
RANDOM NETWORK MODEL
Select k
nodes from N- probability
1 of
probability
missing N-
of
1-k
having k
edges
edges
k k k
ln[(1 p) ( N 1) k ] ( N 1 k ) ln(1 ) ( N 1 k ) k (1 )k
N 1 N 1 N 1
for
P(k)
•The probability of seeing a node with very high of very low degree is
exponentially small.
•Most nodes have comparable degrees.
•The larger the size of a random network, the more similar are the node
NO OUTLIERS IN A RANDOM SOCIETY
Given that N ~109, the chance of finding an individual with 2,000 acquaintances is so tiny
that such nodes are virtually non-existent in a random society.
a random society would consist of mainly average individuals, with everyone with
roughly the same number of friends.
It would lack outliers, individuals that are either highly popular or recluse.
Sarah
Jan
e Ralph
Pete
r Frigyes Karinthy,
1929
Stanley Milgram,
1967
Network Science: Random Graphs 2012
SIX DEGREES 1967: Stanley Milgram
1. ADD YOUR NAME TO THE ROSTER AT THE BOTTOM OF THIS SHEET, so that the next
person who receives this letter will know who it came from.
3. IF YOU KNOW THE TARGET PERSON ON A PERSONAL BASIS, MAIL THIS FOLDER
DIRECTLY TO HIM (HER). Do this only if you have previously met the target person and know each
other on a first name basis.
4. IF YOU DO NOT KNOW THE TARGET PERSON ON A PERSONAL BASIS, DO NOT TRY TO
CONTACT HIM DIRECTLY. INSTEAD, MAIL THIS FOLDER (POST CARDS AND ALL) TO A PERSONAL
ACQUAINTANCE WHO IS MORE LIKELY THAN YOU TO KNOW THE TARGET PERSON. You may send
the folder to a friend, relative or acquaintance, but it must be someone you know on a first name
basis.
log N
l max
log k
Given the huge differences in scope, size, and average degree, the
agreement is excellent. Network Science: Random Graphs 2012
EVOLUTION OF A RANDOM NETWORK
Until now we focused on the static properties of a random graph with fixes
p value.
GOTO http://cs.gmu.edu/~astavrou/random.html
Choose Nodes=100.
Note that the p goes up in increments of 0.001, which, for N=100, L=pN(N-
1)/2~p*50,000, i.e. each increment is really about 50 new lines.
<k>
How does this transition happen? Network Science: Random Graphs 2012
THE PHASE TRANSITION TAKES PLACE AT <k>=1
Let us denote with u=1-Ng/N, i.e., the fraction of nodes that are NOT part of
the giant component (GC) Ng .
For a node i to be part of the GC, it needs to connect to it via another node j.
If i is NOT part of the GC, that could happen for two reasons:
The probability that i is not linked to the GC via any other node is (1-
p+pu)N-1
The probability that i is linked to the GC is 1-
Hence:
or any p and N this equation provides the size of the giant component as NGC=N(1-u)
ng p=<k>/(N-1) and taking the log of both sides and using <k><<N we obtain:
if we denote with S the fraction of nodes in the giant component, S=N GC/N, i.e. S=1-u
(a) (b)
Probability that a
randomly selected node
belongs to a cluster of
size s:
The distribution of
cluster sizes at
the critical point,
displayed in a log-log
plot. The data represent
At the critical point
an average over 1000
<k>=1
systems of sizes
The dashed line has a
slope of
<k>
N=100
<k>
No giant component.
<k>
<k>
<k>=5
<k>
The probability that a node does not connect to the giant component is
(1-p)NG~(1-p)N
For a sufficiently large p we are left with only one disconnected node, i.e.
C=1.
<k>
N=100
ni is the no. of
connections among
the ki nodes
•Degree distribution
Binomial, Poisson (exponential tails)
•Clustering coefficient
Vanishing for large network sizes