a tutorial on efficient sampling
play

A tutorial on efficient sampling Mark Jerrum School of Informatics - PowerPoint PPT Presentation

Examples Matchings Independent sets BIS Highlights Open problems A tutorial on efficient sampling Mark Jerrum School of Informatics University of Edinburgh BCTCS, Swansea, 5th April 2006 Examples Matchings Independent sets BIS


  1. Examples Matchings Independent sets BIS Highlights Open problems A tutorial on efficient sampling Mark Jerrum School of Informatics University of Edinburgh BCTCS, Swansea, 5th April 2006

  2. Examples Matchings Independent sets BIS Highlights Open problems Example 1: Matchings (monomer-dimer) Instance: a graph G = ( V , E ). A matching is a collection M ⊆ E of vertex-disjoint edges. � π ( M ) = λ | M | / Z , λ | M | . where Z = M Task: Sample from π , efficiently (certainly in time polynomial in n = | V | ).

  3. Examples Matchings Independent sets BIS Highlights Open problems Example 2: Independent sets (hard-core gas) Instance: a graph G = ( V , E ). An independent set is a subset I ⊆ V of non-adjacent vertices. where Z ′ = � π ( I ) = λ | I | / Z ′ , λ | I | . I Task: As before.

  4. Examples Matchings Independent sets BIS Highlights Open problems Computational complexity Despite their similarity, one of these two sampling problems is tractable and the other intractable. They are both trivial as decision problems. They are both hard (#P-complete) as counting problems. Approximate counting is strongly related to sampling. So one is tractable as an approximate counting problem and the other intractable. Let’s dive in fearlessly, using matching as an example.

  5. Examples Matchings Independent sets BIS Highlights Open problems Sequential choice For convenience assume λ = 1. M := ∅ . For each edge e ∈ E ( G ) in turn ( ∗ ): If e is “blocked” do nothing. If e is “free”, add it to M with probability 1 2 . The resulting distribution is highly dependent on the order ( ∗ ).

  6. Examples Matchings Independent sets BIS Highlights Open problems Sequential choice For convenience assume λ = 1. M := ∅ . For each edge e ∈ E ( G ) in turn ( ∗ ): If e is “blocked” do nothing. If e is “free”, add it to M with probability 1 2 . The resulting distribution is highly dependent on the order ( ∗ ). Example For a path on n vertices, the asymptotic density of edges in the resulting matching is 1 3 , as against the correct √ 1 � � 1 − 1 / 5 = 0 . 276+. 2

  7. Examples Matchings Independent sets BIS Highlights Open problems Monte Carlo (Dart throwing) Matchings All subsets of E Until success: Choose M ⊆ E u.a.r. If M is a matching, output M . Correct distribution, but exponential running time.

  8. Examples Matchings Independent sets BIS Highlights Open problems Markov chain Monte Carlo Repeat: Choose e ∈ E u.a.r. If e is blocked, do nothing. Otherwise: with probability 1 2 , M := M \ { e } , or with probability 1 2 , M := M ∪ { e } .

  9. Examples Matchings Independent sets BIS Highlights Open problems Mixing time The trial just described defines the transition probabilities P of a Markov chain on state space Ω = { All matchings in G } . The Markov chain is irreducible and aperiodic, and its stationary distribution π is uniform. We are interested in the mixing time τ of the Markov chain, i.e., the time to convergence to near stationarity: t : � P t ( x , · ) − π � TV ≤ e − 1 � � τ = max x ∈ Ω min , where � σ � TV = 1 � x ∈ Ω | σ ( x ) | . 2

  10. Examples Matchings Independent sets BIS Highlights Open problems Canonical paths/Multi-commodity flow For every pair of states x , y ∈ Ω, define a canonical path γ xy from x to y using valid transitions of the MC. “Congestion constant” ̺ : � π ( x ) π ( y ) | γ xy | ≤ ̺ π ( z ) P ( z , z ′ ) , ∀ z , z ′ . γ xy ∋ ( z , z ′ )

  11. Examples Matchings Independent sets BIS Highlights Open problems Canonical paths/Multi-commodity flow For every pair of states x , y ∈ Ω, define a canonical path γ xy from x to y using valid transitions of the MC. “Congestion constant” ̺ : � π ( x ) π ( y ) | γ xy | ≤ ̺ π ( z ) P ( z , z ′ ) , ∀ z , z ′ . γ xy ∋ ( z , z ′ ) Theorem (Diaconis, Stroock; Sinclair) τ = O ( ̺ log π − 1 min ) .

  12. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  13. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  14. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  15. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  16. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  17. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  18. Examples Matchings Independent sets BIS Highlights Open problems Richer set of transitions Convenient to augment existing “add” and “delete” transitions with a “displace”: [Broder, 1986; J. & Sinclair, 1988]

  19. Examples Matchings Independent sets BIS Highlights Open problems Canonical paths for matchings To get from the blue matching . . .

  20. Examples Matchings Independent sets BIS Highlights Open problems Canonical paths for matchings . . . to the red matching . . .

  21. Examples Matchings Independent sets BIS Highlights Open problems Canonical paths for matchings . . . first superimpose red and blue (symmetric difference) . . . and then “unwind” each component (path or cycle).

  22. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle The cycle:

  23. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle Initial matching:

  24. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle After 1 step:

  25. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle After 2 steps:

  26. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle After 3 steps:

  27. Examples Matchings Independent sets BIS Highlights Open problems “Unwinding” a cycle After 4 steps (final matching):

  28. Examples Matchings Independent sets BIS Highlights Open problems Encoding a canonical path through a transition A transition:

  29. Examples Matchings Independent sets BIS Highlights Open problems Encoding a canonical path through a transition An encoding (matching):

  30. Examples Matchings Independent sets BIS Highlights Open problems Encoding a canonical path through a transition Superposition reveals the initial and final matching:

  31. Examples Matchings Independent sets BIS Highlights Open problems Encoding a canonical path through a transition Superposition reveals the initial and final matching:

  32. Examples Matchings Independent sets BIS Highlights Open problems Encoding a canonical path through a transition Superposition reveals the initial and final matching:

  33. Examples Matchings Independent sets BIS Highlights Open problems Calculating the congestion The encoding argument shows that the number of canonical paths passing through a given transition is roughly equal to the size of the state space. Pursuing the calculation in more detail yields: Theorem (J. & Sinclair) ̺ = O ( nm ¯ λ 2 ) , where n = | V | , m = | E | and ¯ λ = max { λ, 1 } . Corollary τ = O ( nm 2 ¯ λ 2 ) .

  34. Examples Matchings Independent sets BIS Highlights Open problems Independent sets in general graphs Now for the bad news. Given a graph G , we may efficiently construct a graph G ′ such that a typical independent set in G ′ points out a maximum independent set in G . This constitutes a reduction from optimisation to sampling . Theorem There is no efficient sampler for independent sets in a general graph unless RP = NP .

  35. Examples Matchings Independent sets BIS Highlights Open problems Independent sets in bounded degree graphs Restrict attention to graphs with degree bound ∆.

  36. Examples Matchings Independent sets BIS Highlights Open problems Independent sets in bounded degree graphs Restrict attention to graphs with degree bound ∆. If ∆ is sufficiently large, no efficient sampler exists unless RP = NP [Luby & Vigoda]. ∆ = 25 suffices [Dyer, Frieze & J.]. These results use the theory of PCPs.

  37. Examples Matchings Independent sets BIS Highlights Open problems Independent sets in bounded degree graphs Restrict attention to graphs with degree bound ∆. If ∆ is sufficiently large, no efficient sampler exists unless RP = NP [Luby & Vigoda]. ∆ = 25 suffices [Dyer, Frieze & J.]. These results use the theory of PCPs. If ∆ ≥ 6 then MCMC is ineffective [DFJ].

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend