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

Yeganeh Alimohammadi, Persi Diaconis, Mohammad Roghani, Amin Saberi
7/2/2021
math.PRcs.DS

Official code: mohammadroghani/SIS (0 stars, C++, MIT, last commit 2022-02-02).

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.

Show full abstract

More carefully, our algorithm gives a $(1\pmε)$-approximation for the number of perfect matchings of a $λ$-dense bipartite graph, using $O(n^{\frac{1-2λ}λε^{-2}})$ samples. With size $n$ on each side and for $\frac{1}{2}>λ>0$, a $λ$-dense bipartite graph has all degrees greater than $(λ+\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.

View on arXivView PDF

Code Implementations(1)

MIT
01C++Feb 17, 20214 years agoMIT

Similar Papers

Cite this paper

@article{alimohammadi2021sequential,
  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},
  year   = {2021},
  eprint = {2107.00850},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.00850}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.00850.svg)](https://codeofpaper.com/paper/2107.00850)

Discussion