Authors
Hendrik Fichtenberger, Mingze Gao, Pan Peng
Publication date
2020/5/4
Journal
arXiv preprint arXiv:2005.01861
Description
We present a simple sublinear-time algorithm for sampling an arbitrary subgraph \emph{exactly uniformly} from a graph with edges, to which the algorithm has access by performing the following types of queries: (1) degree queries, (2) neighbor queries, (3) pair queries and (4) edge sampling queries. The query complexity and running time of our algorithm are and , respectively, where is the fractional edge-cover of and is the number of copies of in . For any clique on vertices, i.e., , our algorithm is almost optimal as any algorithm that samples an from any distribution that has total probability mass on the set of all copies of must perform queries. Together with the query and time complexities of the -approximation algorithm for the number of subgraphs by Assadi, Kapralov and Khanna [ITCS 2018] and the lower bound by Eden and Rosenbaum [APPROX 2018] for approximately counting cliques, our results suggest that in our query model, approximately counting cliques is "equivalent to" exactly uniformly sampling cliques, in the sense that the query and time complexities of exactly uniform sampling and randomized approximate counting are within a polylogarithmic factor of each other. This stands in interesting contrast to an analogous relation between approximate counting and almost uniformly sampling for self-reducible problems in the polynomial-time regime by Jerrum, Valiant and Vazirani [TCS 1986].
Total citations
2020202120222023202423443
Scholar articles
H Fichtenberger, M Gao, P Peng - arXiv preprint arXiv:2005.01861, 2020