Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Counting Colorings on Cubic Graphs
The Chinese University of Hong Kong
Joint work with Pinyan Lu (Shanghai U of Finance and Economics) Kuan Yang (Oxford University)
Minshen Zhu (Purdue University)
Chihao Zhang
Coloring
For any q � 3, it is NP-hard to decidewhether a graph is q-colorable
Counting Proper Colorings
• Counting is harder:
…
#P-hard on cubic graphs for any q � 3[BDGJ99]
Approximate Counting
Approximate Counting
It is natural to approximate the number of proper colorings
Approximate Counting
It is natural to approximate the number of proper colorings
(1� ")Z Z(G) (1 + ")Z
Compute
ˆZ in poly(G, 1" ) time satisfying
FPRAS/FPTAS
Approximate Counting
It is natural to approximate the number of proper colorings
(1� ")Z Z(G) (1 + ")Z
Compute
ˆZ in poly(G, 1" ) time satisfying
FPRAS/FPTAS
Any polynomial-factor approximation algorithm can be boosted into an FPRAS/FPTAS [JVV 1986]
Problem Setting
Problem Setting
FPRAS can distinguish between zero and nonzeroZ(G)
Problem Setting
Assume q � �+ 1,
FPRAS can distinguish between zero and nonzeroZ(G)
Problem Setting
Assume q � �+ 1,
FPRAS can distinguish between zero and nonzeroZ(G)
Decision: Easy
Problem Setting
Assume q � �+ 1,
FPRAS can distinguish between zero and nonzeroZ(G)
Decision: Easy
Exact Counting: Hard
Problem Setting
Assume q � �+ 1,
FPRAS can distinguish between zero and nonzeroZ(G)
Decision: Easy
Exact Counting: Hard
Approximate Counting: ?
Uniqueness Threshold
Uniqueness Threshold
q = �
{ }
Uniqueness Threshold
q = �
{ }
q = �+ 1
{ }
Uniqueness Threshold
q = �
{ }
q = �+ 1
{ }
The Gibbs measure is unique for q � �+ 1 [Jonasson 2002]
Two-Spin System
Two-Spin System
In (anti-ferromagnetic) two-spin system, the uniqueness threshold corresponds to the approximability threshold
Two-Spin System
In (anti-ferromagnetic) two-spin system, the uniqueness threshold corresponds to the approximability threshold
Theorem. [Weitz06, Sly10, SS11, SST12, LLY12, LLY13] Assume , the partition function of anti-ferromagnetic two-spin system is approximable if and only if the Gibbs measure is unique.
NP 6= RP
Two-Spin System
In (anti-ferromagnetic) two-spin system, the uniqueness threshold corresponds to the approximability threshold
Theorem. [Weitz06, Sly10, SS11, SST12, LLY12, LLY13] Assume , the partition function of anti-ferromagnetic two-spin system is approximable if and only if the Gibbs measure is unique.
NP 6= RP
Similar results in multi-spin system (Coloring) ?
Counting and Sampling
Counting and Sampling
FPRAS
Theorem. [JVV 1986]
FPAUS
Counting and Sampling
FPRAS
Theorem. [JVV 1986]
FPAUS
fully-polynomial time approximate uniform sampler
Counting and Sampling
FPRAS
Theorem. [JVV 1986]
FPAUS
fully-polynomial time approximate uniform sampler
It is natural to use Markov chains to design sampler
A Markov Chain to Sample Colorings
A Markov Chain to Sample Colorings
Colors { }
A Markov Chain to Sample Colorings
Colors { }
A Markov Chain to Sample Colorings
Colors { }
A Markov Chain to Sample Colorings
Colors { }
A Markov Chain to Sample Colorings
Colors { }
(One-site) Glauber Dynamics
A Markov Chain to Sample Colorings
Colors { }
(One-site) Glauber Dynamics
A uniform sampler when q � �+ 2
Analysis of the Mixing Time
Analysis of the Mixing TimeRapid mixing of the Glauber dynamics implies FPRAS for colorings
Analysis of the Mixing TimeRapid mixing of the Glauber dynamics implies FPRAS for colorings
It is challenging to analyze the mixing time
Analysis of the Mixing TimeRapid mixing of the Glauber dynamics implies FPRAS for colorings
It is challenging to analyze the mixing time
Relax the requirement to q � ↵ ·�+ �
Analysis of the Mixing TimeRapid mixing of the Glauber dynamics implies FPRAS for colorings
It is challenging to analyze the mixing time
Relax the requirement to q � ↵ ·�+ �
Ideally, ↵ = 1 and � = 2. Current best, ↵ = 116 [Vigoda 1999]
Analysis of the Mixing TimeRapid mixing of the Glauber dynamics implies FPRAS for colorings
It is challenging to analyze the mixing time
Relax the requirement to q � ↵ ·�+ �
Ideally, ↵ = 1 and � = 2. Current best, ↵ = 116 [Vigoda 1999]
On cubic graphs, q = 5 (= �+ 2) [BDGJ 1999]
q = �+ 1
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
Colors { }
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
Colors { }
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
Colors { }
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
Colors { }
Frozen!
q = �+ 1
When q = �+ 1, then chain is no longer ergodic
The method cannot achieve the uniqueness threshold
Colors { }
Frozen!
Recursion Based Algorithm
Recursion Based Algorithm
G =
Recursion Based Algorithm
{ }G =
Recursion Based Algorithm
{ }G =
PrG [ = ] =(1�Pr [ = ])2
P2{ , , , }(1�Pr [ = ])2
.
Recursion Based Algorithm
{ }G =
PrG [ = ] =(1�Pr [ = ])2
P2{ , , , }(1�Pr [ = ])2
.
This recursion can be generalized to arbitrary graphs
x = fd(x11, . . . , x1q;x21, . . . x2q; . . . , xd1, . . . , xdq)
Recursion Based Algorithm
{ }G =
PrG [ = ] =(1�Pr [ = ])2
P2{ , , , }(1�Pr [ = ])2
.
This recursion can be generalized to arbitrary graphs
x = fd(x11, . . . , x1q;x21, . . . x2q; . . . , xd1, . . . , xdq)
Computing the marginal is equivalet to counting colorings [JVV 1986]
Correlation Decay
Correlation Decay
Faithfully evaluate the recursion requires ⌦ ((�q)n) time
Correlation Decay
Faithfully evaluate the recursion requires ⌦ ((�q)n) time
Truncate the recursion tree at level ⇥(log n)
Correlation Decay
Faithfully evaluate the recursion requires ⌦ ((�q)n) time
v v
Truncate the recursion tree at level ⇥(log n)
Correlation Decay
Correlation Decay
q = �+ 1
{ }
Correlation Decay
q = �+ 1
{ }
Uniqueness Condition: the correlation between the root and boundary decays.
Correlation Decay
Uniqueness threshold suggests q � �+ 1 is sufficient for CD to hold
q = �+ 1
{ }
Uniqueness Condition: the correlation between the root and boundary decays.
Sufficient Condition
Sufficient Condition
Very hard to rigorously establish the decay property
Sufficient Condition
Very hard to rigorously establish the decay property
A sufficient condition is
|fd(x)� fd(x)| � · kx� xk1
for some � < 1
Sufficient Condition
Very hard to rigorously establish the decay property
A sufficient condition is
|fd(x)� fd(x)| � · kx� xk1
for some � < 1
Based on the idea, the best bounds so far isq > 2.581�+ 1 [LY 2013]
One Step Contraction
One Step Contraction
The domain D is all the possible values of marginals.
Establish � krfd(x)k1 < 1 for x = (x1, . . . , xd) 2 DEstablish � krfd(x)k1 < 1 for x = (x1, . . . , xd) 2 D
One Step Contraction
D is too complicated to work with
Introduce an upper bound ui for each xi
Work with the polytope P := {x | 0 xi ui}.
The domain D is all the possible values of marginals.
Establish � krfd(x)k1 < 1 for x = (x1, . . . , xd) 2 DEstablish � krfd(x)k1 < 1 for x = (x1, . . . , xd) 2 D
Barrier
BarrierThe relaxation does not change the result in two-spin system [SSY 2012; LLY 2012; LLY 2013]
Barrier
This is no longer true for coloring
The relaxation does not change the result in two-spin system [SSY 2012; LLY 2012; LLY 2013]
Barrier
It can be shown that for some , the one-step contraction does not hold for
⇠ > 0q = (2 + ⇠)�
This is no longer true for coloring
The relaxation does not change the result in two-spin system [SSY 2012; LLY 2012; LLY 2013]
Barrier
It can be shown that for some , the one-step contraction does not hold for
⇠ > 0q = (2 + ⇠)�
To improve, one needs to find a better relaxation
This is no longer true for coloring
The relaxation does not change the result in two-spin system [SSY 2012; LLY 2012; LLY 2013]
General Recursion
General Recursion
PrG,L [c(v) = i] =
Qdk=1
�1�PrGv,Lk,i [c(vk) = i]
�P
j2L(v)
Qdk=1
�1�PrGv,Lk,j [c(vk) = j]
�
General Recursion
PrG,L [c(v) = i] =
Qdk=1
�1�PrGv,Lk,i [c(vk) = i]
�P
j2L(v)
Qdk=1
�1�PrGv,Lk,j [c(vk) = j]
�
A vertex of degree d branches into d⇥ q subinstances
General Recursion
PrG,L [c(v) = i] =
Qdk=1
�1�PrGv,Lk,i [c(vk) = i]
�P
j2L(v)
Qdk=1
�1�PrGv,Lk,j [c(vk) = j]
�
The subinstances corresponding to the first child are marginals on the same graph
A vertex of degree d branches into d⇥ q subinstances
Constraints
Constraints
x = fd(x11, . . . , x1q;x21, . . . x2q; . . . , xd1, . . . , xdq)
Constraints
x = fd(x11, . . . , x1q;x21, . . . x2q; . . . , xd1, . . . , xdq)
Analyze rfd on the hyperplane
Pqi=1 x1i = 1
Constraints
x = fd(x11, . . . , x1q;x21, . . . x2q; . . . , xd1, . . . , xdq)
Analyze rfd on the hyperplane
Pqi=1 x1i = 1
Introduce the polytope P
0 := P \ {x |Pq
i=1 x1i = 1}
Technical Issue
Technical Issue
In fact, we need to analyze an amortized function ' � fd
Technical Issue
In fact, we need to analyze an amortized function ' � fd
The constraint
Pqi=1 x1i = 1 breaks down in the new domain
Technical Issue
In fact, we need to analyze an amortized function ' � fd
The constraint
Pqi=1 x1i = 1 breaks down in the new domain
The use of potential function and domain restriction are not compatible
New Recursion
New Recursion
We have to work with the same polytope P
New Recursion
We have to work with the same polytope P
PrG,L [c(v) = i] =
Qdk=1
�1�PrGv,Lk,i [c(vk) = i]
�P
j2L(v)
Qdk=1
�1�PrGv,Lk,j [c(vk) = j]
�
withP
j2[q] PrGv,L1,j [c(v1) = j] = 1
New Recursion
We have to work with the same polytope P
PrG,L [c(v) = i] =
Qdk=1
�1�PrGv,Lk,i [c(vk) = i]
�P
j2L(v)
Qdk=1
�1�PrGv,Lk,j [c(vk) = j]
�
withP
j2[q] PrGv,L1,j [c(v1) = j] = 1
The constraint is implicitly imposed if one further expand the first child with the same recursion
Pqi=1 x1i = 1
New definition of one step recursion
New definition of one step recursion
The new recursion keeps more information
Cubic Graphs
Cubic Graphs
The new constraint is negligible when the degree is large
Cubic Graphs
The new constraint is negligible when the degree is large
It turns to be useful when � = 3
Cubic Graphs
The new constraint is negligible when the degree is large
It turns to be useful when � = 3
The amortized analysis is very complicated even � = 3
Cubic Graphs
The new constraint is negligible when the degree is large
It turns to be useful when � = 3
We are able to establish CD property with the help of computer
The amortized analysis is very complicated even � = 3
Cubic Graphs
The new constraint is negligible when the degree is large
It turns to be useful when � = 3
Theorem. There exists an FPTAS to compute the number of proper four-colorings on graphs with maximum degree three.
We are able to establish CD property with the help of computer
The amortized analysis is very complicated even � = 3
Final Remark
Final Remark
The first algorithm to achieve the conjectured optimal bound in multi-spin system
Final Remark
It is possible to obtain FPTAS when q = 5 and � = 4
The first algorithm to achieve the conjectured optimal bound in multi-spin system
Final Remark
More constraints?
It is possible to obtain FPTAS when q = 5 and � = 4
The first algorithm to achieve the conjectured optimal bound in multi-spin system
Final Remark
More constraints?
It is possible to obtain FPTAS when q = 5 and � = 4
Other ways to establish correlation decay
The first algorithm to achieve the conjectured optimal bound in multi-spin system