Almost Optimal Bounds for Sublinear-Time Sampling of $k$-Cliques: Sampling Cliques is Harder Than Counting
Abstract
In this work, we consider the problem of sampling a -clique in a graph from an almost uniform distribution in sublinear time in the general graph query model. Specifically the algorithm should output each -clique with probability , where denotes the number of -cliques in the graph and is a given approximation parameter. We prove that the query complexity of this problem is where is the number of vertices in the graph, is its arboricity, and suppresses the dependence on . Interestingly, this establishes a separation between approximate counting and approximate uniform sampling in the sublinear regime. For example, if , , and (the number of triangles) is , then we get a lower bound of (for constant ), while under these conditions, a -approximation of can be obtained by performing queries (Eden, Ron and Seshadhri, SODA20). Our lower bound follows from a construction of a family of graphs with arboricity such that in each graph there are cliques (of size ), where one of these cliques is "hidden" and hence hard to sample. Our upper bound is based on defining a special auxiliary graph , such that sampling edges almost uniformly in translates to sampling -cliques almost uniformly in the original graph . We then build on a known edge-sampling algorithm (Eden, Ron and Rosenbaum, ICALP19) to sample edges in , where the challenge is simulate queries to while being given access only to .
Keywords
Cite
@article{arxiv.2012.04090,
title = {Almost Optimal Bounds for Sublinear-Time Sampling of $k$-Cliques: Sampling Cliques is Harder Than Counting},
author = {Talya Eden and Dana Ron and Will Rosenbaum},
journal= {arXiv preprint arXiv:2012.04090},
year = {2020}
}