arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.01861cs.DS
收藏

在次线性时间内对任意子图精确均匀采样

Sampling Arbitrary Subgraphs Exactly Uniformly in Sublinear Time

Hendrik Fichtenberger, Mingze Gao, Pan Peng

摘要:

我们提出了一个简单的次线性时间算法,用于从具有$m$边的图$G$中采样任意子图$H$ \emph{exactly uniformly},该算法通过执行以下类型的查询来访问:(1)度查询,(2)邻居查询,(3)对查询和(4)边采样查询。该算法的查询复杂度和运行时间分别为$\tilde{O}(\min\{m, \frac{m^{ρ(H)}}{\# H}\})$和$\tilde{O}(\frac{m^{ρ(H)}}{\# H})$,其中$ρ(H)$是$H$的分数边覆盖,$\# H$是$G$中$H$的拷贝数.对于$r$顶点上的任何团,即,$H=K_r$,我们的算法几乎是最佳的,因为任何算法,样本的$H$从任何分布,具有$Ω(1)$总概率质量的集合上的所有副本的$H$必须执行$Ω(\min\{m, \frac{m^{ρ(H)}}{\# H\cdot (cr)^r}\})$查询。结合Assadi,Kapralov和Khanna [ITCS 2018]的子图$H$数量的$(1\pm \varepsilon)$近似算法的查询和时间复杂度以及Eden和Rosenbaum [APPROX 2018]的近似计数集团的下限,我们的结果表明,在我们的查询模型中,近似计数集团“等同于”完全均匀采样集团,在这个意义上,精确均匀采样和随机近似计数的查询和时间复杂度在彼此的多对数因子内。这与Jerrum,Valiant和Vazirani [TCS 1986]在多项式时间范围内自约问题的近似计数和几乎均匀采样之间的类似关系形成了有趣的对比。

英文摘要:

We present a simple sublinear-time algorithm for sampling an arbitrary subgraph $H$ \emph{exactly uniformly} from a graph $G$ with $m$ 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 $\tilde{O}(\min\{m, \frac{m^{ρ(H)}}{\# H}\})$ and $\tilde{O}(\frac{m^{ρ(H)}}{\# H})$, respectively, where $ρ(H)$ is the fractional edge-cover of $H$ and $\# H$ is the number of copies of $H$ in $G$. For any clique on $r$ vertices, i.e., $H=K_r$, our algorithm is almost optimal as any algorithm that samples an $H$ from any distribution that has $Ω(1)$ total probability mass on the set of all copies of $H$ must perform $Ω(\min\{m, \frac{m^{ρ(H)}}{\# H\cdot (cr)^r}\})$ queries. Together with the query and time complexities of the $(1\pm \varepsilon)$-approximation algorithm for the number of subgraphs $H$ 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].

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑