Topics in Algorithms and Data Science Random Graphs (2nd part)
Omid Etesami
Random Graphs (2 nd part) Omid Etesami Phase transitions for - - PowerPoint PPT Presentation
Topics in Algorithms and Data Science Random Graphs (2 nd part) Omid Etesami Phase transitions for CNF-SAT Phase transitions for other random structures We already saw phase transitions for random graphs Other random structures, like
Omid Etesami
form (CNF), also have phase transitions
threshold for satisfiability. The conjecture was recently proved for large k by Ding, Sly, Sun!
.
3-SAT solution space (height represents # of unsatisfied constraints)!
when m = cn and constant c < 2/3. Thus r3 ≥ 2/3.
While not all clauses satisfied assign true to a random literal in a random smallest-length clause delete satisfied clauses; delete unsatisfied literals. If a 0-length clause is ever found, we have failed.
less than the departure rate.
clause.
to the queue with probability 3/(2(n-t+1)).
at most 3(cn – t + 1)/(2(n-t+1)) = 1 – Ω(1).
at most 1/n3. The probability that the queue is empty at step t and remains non-empty in steps t, t + 1, …, t + s - 1 is at most exp(-Ω(s)) by multiplicative Chernoff bound: the # arrivals should be at least s while mean # arrivals is s(1 – Ω(1)). (We upper-bound # arrivals with sum of independent Bernoullies.) There are only n choices for t. Therefore for suitable choice of s0 = Ө(lg n), any non-empty episode is of length at most s0 with probability 1 – 1/n3.
If this trouble happens, then
If a1, a2, … is the sequence of literals that would be set to true (if clauses i and j didn’t exist), then 4 of the literals in these two clauses are the negation of the literals in at, at+1, …, at’ for t’ = t + O(lg n). This happens with probability O((ln 4 n)/n4) times # choices for t.
by union bound.
distribution
likely to be of degree 2
to reach an endpoint: the probability of reaching a vertex of degree i is then proportional to i λi , where λi is the fraction of vertices of degree i
expected # children E[i – 1] ≥ 1, or in other words E[i – 2] >= 0.
edge perspective (and not the vertex perspective). Thus it is proportional to i λi.
If vertices have Poisson degree distribution with mean d, then random endpoint of a random edge has degree distribution 1 + Poisson(d).
probability proportional to degrees
uniformly at random from the set of existing vertices
With preferential attachment
The resulting graph may become a multigraph. But since there are t2 pairs of vertices and O(t) existing edges, a multiple edge or self-loop happens at each step with small probability, and we ignore these cases.
new vertex new edge
Let dk(t) be expected # vertices of degree k at time t.
new vertex new edge
Let dk(t) = pkt in the limit as t tends to infinity. Geometric distribution which like the Poisson Erdos-Renyi distribution falls off exponentially fast, unlike preferential attachment power-law.
Let nk(t) be expected # components of size k at time t
proportional to nk(t)
equal to k nk(t)
Components of size 4 and 2
component sizes.
j vertices k – j vertices
j vertices k – j vertices
grown model?
and with probability δ, attach the new vertex to a vertex selected at random with probability proportional to its degree Obviously the graph has no cycles.
Let di(t) be the degree of vertex i at time t Thus di(t) = a t1/2. Since di(i) = δ, we have di(t) = δ (t/i)1/2.
Vertex number tδ2/d2 has degree d. Therefore, # of vertices of degree d is In other words, probability of degree d is 2δ2/d3.
Massachusetts with given address and occupation
“first name” basis who is closer
to a vertex v
d(u,v)-r where distance is Manhattan distance.
distance at least d* for some d* = n1-Ω(1).
shortest path between these pairs is at least nΩ(1).
A pair of vertices with distance Ω(n)
The algorithm is local and greedy: At each step follow the edge that takes us closest to the target.
Target w
Claim: with high probability for any pair of vertices u, t, within O(ln2 n) steps the distance from u to t decreases by half:
Proof: If distance between u and t is k, there are Θ(k2) vertices at distance ≤ k/2 from t. All these vertices are at distance Θ(k) from u. Thus, with probability Θ(k2 k-r/cr(u))=Θ(1/ln n), there is an edge to a vertex half distant to t. Repeating this process Θ(ln2 n) steps, by independence of edges, we succeed with probability o(1/n4). Since there are n4 pairs, by union bound, we succeed for every pair (u, t).
Since the distance is at most 2n in the beginning and halves every O(ln2 n) steps, we reach the target within O(ln3 n) steps.
Target w
Take u and t at distance ≥ nδ. We show any local algorithm with high probability takes ≥ nδ steps to go from u to t for small constant δ > 0. Otherwise, the algorithm should use an edge that takes us to a point at distance < nδ. At each step, this happens with probability ≤ O(n2δ/cr) = O(n-2+r+2δ), since we cannot plan
Since we should find such an edge in the first nδ steps, we can find it only with probability O(n-2+r+3δ), which is o(1) for small δ.
local algorithm for finding short path does not exist, despite existence of short paths
Erdos-Renyi.
going out of each square.
are at least twice these squares, since 9 > 2 and by Chernoff bound.
visited, the neighbors visited at each level is at least twice the number in the previous level (since # outgoing edges × fraction of remaining squares ≥ 9 × 1/2 > 2)
edges from any vertex.