Directed Random Graphs with Given Degree Distributions
Mariana Olvera-Cravioto
Columbia University molvera@ieor.columbia.edu
Joint work with Ningyuan Chen July 23th, 2012
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 1/25
Directed Random Graphs with Given Degree Distributions Mariana - - PowerPoint PPT Presentation
Directed Random Graphs with Given Degree Distributions Mariana Olvera-Cravioto Columbia University molvera@ieor.columbia.edu Joint work with Ningyuan Chen July 23th, 2012 ECT, Trento, Italy Directed Random Graphs with Given Degree
Columbia University molvera@ieor.columbia.edu
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 1/25
Opte project. Part of the MoMA permanent collection ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 2/25
◮ WWW seen as a directed graph (webpages = nodes, links = edges). ◮ Empirical observations:
◮ We want a directed random graph model that matches the degree
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 3/25
◮ Directed graph on n nodes V = {v1, . . . , vn}. ◮ In-degree and out-degree:
◮ mi = in-degree of node vi = number of edges pointing to vi. ◮ di = out-degree of node vi = number of edges pointing from vi.
◮ (m, d) = ({mi}, {di}) is called a bi-degree-sequence. ◮ Target distributions:
◮ We want the bi-degree-sequence to satisfy:
n
n
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 4/25
◮ Definition: We say that a directed graph is simple if it has no self-loops
◮ Definition: We say that (m, d) is graphical if there exists a simple
◮ Goal: Choose a graph uniformly at random from all simple graphs having
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 5/25
◮ Definition: We say that a directed graph is simple if it has no self-loops
◮ Definition: We say that (m, d) is graphical if there exists a simple
◮ Goal: Choose a graph uniformly at random from all simple graphs having
◮ Two problems:
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 5/25
◮ Definition: We say that a directed graph is simple if it has no self-loops
◮ Definition: We say that (m, d) is graphical if there exists a simple
◮ Goal: Choose a graph uniformly at random from all simple graphs having
◮ Two problems:
◮ Construct an appropriate bi-degree-sequence that with high probability will
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 5/25
◮ Definition: We say that a directed graph is simple if it has no self-loops
◮ Definition: We say that (m, d) is graphical if there exists a simple
◮ Goal: Choose a graph uniformly at random from all simple graphs having
◮ Two problems:
◮ Construct an appropriate bi-degree-sequence that with high probability will
◮ Choose uniformly at random a simple graph from such bi-degree-sequence. ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 5/25
◮ For undirected graphs, given a degree sequence d = (d1, . . . , dn):
◮ assign to each node vi a number di of stubs or half-edges; ◮ for the first half-edge of node v1 choose uniformly at random from all
◮ proceed in the same way for all remaining unpaired half-edges, i.e., choose
◮ The result is a multigraph (e.g., with self-loops and multiple edges) on
◮ If we discard any realization that is not simple, we obtain a uniformly
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 6/25
◮ For directed graphs, given a bi-degree-sequence (m, d):
◮ assign to each node vi a number mi of inbound stubs and a number di of
◮ pair outbound stubs to inbound stubs to form directed edges by matching
◮ The result is again a multigraph, but if we discard realizations that have
◮ Questions:
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 7/25
◮ For directed graphs, given a bi-degree-sequence (m, d):
◮ assign to each node vi a number mi of inbound stubs and a number di of
◮ pair outbound stubs to inbound stubs to form directed edges by matching
◮ The result is again a multigraph, but if we discard realizations that have
◮ Questions:
◮ What is the probability of the resulting graph being simple? ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 7/25
◮ For directed graphs, given a bi-degree-sequence (m, d):
◮ assign to each node vi a number mi of inbound stubs and a number di of
◮ pair outbound stubs to inbound stubs to form directed edges by matching
◮ The result is again a multigraph, but if we discard realizations that have
◮ Questions:
◮ What is the probability of the resulting graph being simple? ◮ Under what conditions is it bounded away from zero as n → ∞? ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 7/25
◮ For the undirected configuration model it is known that if d satisfies
◮ Then,
n→∞ P(graph is simple) = P(S = 0, M = 0) > 0. ◮ The same should be true for the directed version.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 8/25
i=1 mni = n i=1 dni for all n, let
n
n→∞ E[N [n]] = E[γ]
n→∞ E[D[n]] = E[ξ].
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 9/25
n→∞ E[N [n]D[n]] = E[γξ].
n→∞ E[(N [n])2] = E[γ2]
n→∞ E[(D[n])2] = E[ξ2]. ◮ Note: (N [n], D[n]) denote the in-degree and out-degree of a randomly
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 10/25
◮ Proposition: (Chen, O-C ’12) If {(mn, dn)}n∈N satisfies the regularity
◮ Proof adapted from the undirected case (Van der Hofstad ’08 -’12). ◮ Theorem: Under the same assumptions,
n→∞ P(graph obtained from (mn, dn) is simple) = e−λ1−λ2 > 0.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 11/25
◮ Repeated model: If all four regularity conditions are satisfied, then
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 12/25
◮ Repeated model: If all four regularity conditions are satisfied, then
◮ If condition (4) is not satisfied, the probability of obtaining a simple graph
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 12/25
◮ Repeated model: If all four regularity conditions are satisfied, then
◮ If condition (4) is not satisfied, the probability of obtaining a simple graph
◮ Erased model: Simply erase the self-loops and merge multiple edges in
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 12/25
◮ Repeated model: If all four regularity conditions are satisfied, then
◮ If condition (4) is not satisfied, the probability of obtaining a simple graph
◮ Erased model: Simply erase the self-loops and merge multiple edges in
◮ Question: (yet to answer) What are the in-degree and out-degree
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 12/25
◮ How to construct an appropriate bi-degree-sequence?
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 13/25
◮ How to construct an appropriate bi-degree-sequence? ◮ For the undirected case one can take Dn = {D1, . . . , Dn}, where the
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 13/25
◮ How to construct an appropriate bi-degree-sequence? ◮ For the undirected case one can take Dn = {D1, . . . , Dn}, where the
◮ Question: When is an i.i.d. sequence graphical?
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 13/25
◮ How to construct an appropriate bi-degree-sequence? ◮ For the undirected case one can take Dn = {D1, . . . , Dn}, where the
◮ Question: When is an i.i.d. sequence graphical? ◮ Answer: (Arratia and Ligget ’ 05) Provided E[D1] < ∞,
n→∞ P(Dn is graphical) =
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 13/25
◮ How to construct an appropriate bi-degree-sequence? ◮ For the undirected case one can take Dn = {D1, . . . , Dn}, where the
◮ Question: When is an i.i.d. sequence graphical? ◮ Answer: (Arratia and Ligget ’ 05) Provided E[D1] < ∞,
n→∞ P(Dn is graphical) =
◮ Easy fix: either resample Dn until its sum is even, or simply add 1 to the
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 13/25
◮ We want a bi-degree-sequence (N, D)n such that the {Ni} and the {Di}
◮ The sequences must satisfy n
n
◮ Problem: In general, if {γi} and {ξi} are independent i.i.d. sequences
n→∞ P
n
◮ The “easy fix”: add a few in-degrees or out-degrees to match the sums.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 14/25
◮ In-degree target distribution F. ◮ Out-degree target distribution G. ◮ Assume F and G have support on {0, 1, 2, . . . } and have common mean
◮ Suppose further that for some α, β > 1,
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 15/25
i=1 γi.
i=1 ξi.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 16/25
◮ The parameter θ is chosen so that
n→∞ P(|∆n| ≤ nθ+δ0) = 1. ◮ Proposition: (Nn, Dn) satisfies for any fixed r, s ∈ N,
◮ (Nn, Dn) is an approximate equivalent of the i.i.d. degree sequence for
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 17/25
◮ Theorem: (Chen, O-C ’12) The bi-degree-sequence (Nn, Dn) satisfies
n→∞ P ((Nn, Dn) is graphical) = 1.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 18/25
◮ Theorem: (Chen, O-C ’12) The bi-degree-sequence (Nn, Dn) satisfies
n→∞ P ((Nn, Dn) is graphical) = 1. ◮ The proof uses a graphicality criterion from Berge ’76.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 18/25
◮ Does (Nn, Dn) satisfy the regularity conditions?
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 19/25
◮ Does (Nn, Dn) satisfy the regularity conditions? ◮ It can be shown that
n
P
n
P
n
P
n
P
1 + ξ2 1] < ∞,
n
i P
1],
n
i P
1].
◮ Therefore, if E[γ2 1 + ξ2 1] < ∞, the directed configuration model will
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 19/25
◮ Let N (r) k
k
◮ Define for i, j = 0, 1, 2, . . . ,
n
k
k
(n) = 1
n
k
(n) = 1
n
k
◮ Proposition: For the repeated directed configuration model with
(n) P
(n) P
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 20/25
10 10
1
10
2
10
−7
10
−6
10
−5
10
−4
10
−3
10
−2
10
−1
10
Repeated Model, Out-degree distribution, Empirical vs. Target (Paretos α = 5, β = 5) k P(D > k) n = 100 n = 1,000 n = 10,000 n = 100,000 n = 1,000,000 Target distr.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 21/25
◮ If E[γ2 1 + ξ2 1] = ∞ but parts (1)-(3) of the regularity condition hold:
◮ Note: The resulting simple graph no longer has (Nn, Dn) as its
◮ Question: Do the in-degrees and out-degrees still follow the target
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 22/25
◮ Let N (e) k
k
◮ Define for i, j = 0, 1, 2, . . . ,
n
k
k
(n) = 1
n
k
(n) = 1
n
k
◮ Proposition: For the erased directed configuration model with
(n) P
(n) P
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 23/25
10 10
1
10
2
10
3
10
4
10
−4
10
−3
10
−2
10
−1
10
Erased Model, In-degree distribution, Empirical vs. Target (Paretos α = 1.1, β = 1.5) k P(N > k) n = 100 n = 1,000 n = 10,000 n = 100,000 n = 1,000,000 Target distr.
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 24/25
ECT, Trento, Italy Directed Random Graphs with Given Degree Distributions 25/25