Edge Sampling and Graph Parameter Estimation via Vertex Neighborhood Accesses

PROCEEDINGS OF THE 54TH ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING (STOC '22)(2022)

引用 6|浏览1
暂无评分
摘要
In this paper, we consider the problems from the area of sublineartime algorithms of edge sampling, edge counting, and triangle counting. Part of our contribution is that we consider three different settings, differing in the way in which one may access the neighborhood of a given vertex. In previous work, people have considered indexed neighbor access, with a query returning the i-th neighbor of a given vertex. Full neighborhood access model, which has a query that returns the entire neighborhood at a unit cost, has recently been considered in the applied community. Between these, we propose hash-ordered neighbor access, inspired by coordinated sampling, where we have a global fully random hash function, and can access neighbors in order of their hash values, paying a constant for each accessed neighbor. For edge sampling and counting, our new lower bounds are in the most powerful full neighborhood access model. We provide matching upper bounds in the weaker hash-ordered neighbor access model. Our new faster algorithms can be provably implemented efficiently on massive graphs in external memory and with the current APIs for, e.g., Twitter or Wikipedia. For triangle counting, we provide a separation: a better upper bound with full neighborhood access than the known lower bounds with indexed neighbor access. The technical core of our paper is our edge-sampling algorithm on which the other results depend. We now describe our results on the classic problems of edge and triangle counting. We give an algorithm that uses hash-ordered neighbor access to approximately count edges in time (O) over tilde (n/epsilon(2)root m + 1/epsilon(2)) (compare to the state of the art without hash-ordered neighbor access of (O) over tilde (n/epsilon(2)root m) Eden, Ron, and Seshadhri [ICALP 2017]). We present an Omega(n/epsilon root m) lower bound for epsilon >= root m/n in the full neighborhood access model. This improves the lower bound of Omega(n/root epsilon m) by Goldreich and Ron [Rand. Struct. Alg. 2008]) and it matches our new upper bound for epsilon >= root m/n. We also show an algorithm that uses the more standard assumption of pair queries ("are the vertices u and v adjacent?"), with time complexity of (O) over tilde (n/epsilon root m + 1/epsilon(4)). This matches our lower bound for epsilon >= m(1/6)/n(1/3). Finally, we focus on triangle counting. For this, we use the full power of the full neighbor access. In the indexed neighbor model, an algorithm that makes (O) over tilde (n/epsilon T-10/3(1/3) + min(m, m(3/2)/epsilon T-3)) queries for T being the number of triangles, is known and this is known to be the best possible up to the dependency on e (Eden, Levi, Ron, and Seshadhri [FOCS 2015]). We improve this significantly to (O) over tilde (min(n, n/epsilon T-1/3 + root nm/epsilon(2)root T)) full neighbor accesses, thus showing that the full neighbor access is fundamentally stronger for triangle El counting than the weaker indexed neighbor model. We also give a lower bound, showing that this is the best possible with full neighborhood access, in terms of n, m, T.
更多
查看译文
关键词
Sublinear-time algorithms, Edge sampling, Edge counting, Triangle counting
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要