English

Sequential importance sampling for estimating expectations over the space of perfect matchings

Probability 2022-07-07 v2 Data Structures and Algorithms

Abstract

This paper makes three contributions to estimating the number of perfect matching in bipartite graphs. First, we prove that the popular sequential importance sampling algorithm works in polynomial time for dense bipartite graphs. More carefully, our algorithm gives a (1±ϵ)(1\pm\epsilon)-approximation for the number of perfect matchings of a λ\lambda-dense bipartite graph, using O(n12λλϵ2)O(n^{\frac{1-2\lambda}{\lambda}\epsilon^{-2}}) samples. With size nn on each side and for 12>λ>0\frac{1}{2}>\lambda>0, a λ\lambda-dense bipartite graph has all degrees greater than (λ+12)n(\lambda+\frac{1}{2})n. Second, practical applications of the algorithm require many calls to matching algorithms. A novel preprocessing step is provided which makes significant improvements. Third, three applications are provided. The first is for counting Latin squares, the second is a practical way of computing the greedy algorithm for a card-guessing game with feedback, and the third is for stochastic block models. In all three examples, sequential importance sampling allows treating practical problems of reasonably large sizes.

Keywords

Cite

@article{arxiv.2107.00850,
  title  = {Sequential importance sampling for estimating expectations over the space of perfect matchings},
  author = {Yeganeh Alimohammadi and Persi Diaconis and Mohammad Roghani and Amin Saberi},
  journal= {arXiv preprint arXiv:2107.00850},
  year   = {2022}
}

Comments

To appear in Annals of Applied Probability

R2 v1 2026-06-24T03:49:50.577Z