Approximate Counting
Prev: Graph Algorithms Next: Parallel and Distributed Algorithms
Problems
11.1
In this problem we will design a Monte Carlo algorithm to estimate the value of . Consider a circle of diameter enclosed within a square with sides of length . We will sample points uniformly and independently from the square and set the indicator variable if the th point is inside the circle, and set otherwise. It is clear that , where is the sum of of these indicator variables.
Give an upper bound on the value of for which gives an estimator of that is accurate to digits, with probability at least .
11.2
Due to R.M. Karp, M. Luby, and N. Madras [240].
Consider the following variant of the Coverage algorithm for approximating the DNF counting problem. The th trial of this algorithm first picks a random clause , where the probability of choosing a clause is proportional to the number of satisfying truth assignments for it. Next, it selects a random satisfying truth assignment for the chosen clause. So far, this is exactly the same as the sampling procedure described before. Define the random variable , where denotes the set of clauses that are satisfied by the truth assignment .
The estimator for #F is the random variable
where denotes the sum of the sizes of the coverage sets over all possible truth assignments. Prove that is an -approximation for #F when
for some small constant . (Hint: Use the Chernoff-type bound derived in Problem 4.7.)
11.3
Prove the converse of Theorem 11.4. In other words, show that given an algorithm for estimating the number of matchings in a bipartite graph, it is possible to get a near-uniform generator of matchings in the bipartite graph.
11.4
In this problem we will see that the problem of counting the perfect matchings in graphs with large minimum degree is also #P-complete. Suppose there is a polynomial time algorithm for counting the number of perfect matchings in a graph with minimum degree at least , for a constant . Show that there must then exist a polynomial time algorithm for counting the number of perfect matchings in an arbitrary bipartite graph.
11.5
Consider the Markov chain induced by a random walk on a connected, undirected graph on vertices. How small can the conductance of this Markov chain be, the minimum being taken over connected, undirected graphs on vertices? How large can it be?
11.6
Let be a connected, undirected graph on vertices.
(a) Consider the Markov chain induced by the following random process for moving from one spanning tree of to another: pick edges and independently and uniformly at random; if the current spanning tree is and is a spanning tree, then move to the new spanning ; otherwise stay put at . Show that the conductance of this Markov chain is bounded from below by .
(b) Suggest and analyze an algorithm for approximate counting of the number of spanning trees in a graph , as an alternative to the matrix-tree theorem.
11.7
Due to A. Sinclair and M.R. Jerrum [376].
An ergodic Markov chain with transition matrix is said to be time reversible if for all and , . This is equivalent to requiring that the matrix is symmetric, where is a diagonal matrix with . Clearly, the largest eigenvalue of is ; define . Show that for any fixed choice of an initial state , the relative pointwise distance of this Markov chain at time is bounded as follows:
What does this imply for the random walk setting considered in Theorem 6.21?