Papers
Topics
Authors
Recent
Search
2000 character limit reached

Approximate Triangle Counting via Sampling and Fast Matrix Multiplication

Published 17 Apr 2021 in cs.DS | (2104.08501v2)

Abstract: There is a trivial O(n<sup>3T)O(\frac{n<sup>3}{T}) time algorithm for approximate triangle counting where TT is the number of triangles in the graph and nn the number of vertices. At the same time, one may count triangles exactly using fast matrix multiplication in time O~(n<sup>ω)\tilde{O}(n<sup>\omega). Is it possible to get a negative dependency on the number of triangles TT while retaining the n<sup>ωn<sup>\omega dependency on nn? We answer this question positively by providing an algorithm which runs in time O(n<sup>ωT<sup>ω</sup></sup>−2)⋅poly(n<sup>o(1)/ϵ)O\big(\frac{n<sup>\omega}{T<sup>{\omega</sup></sup> - 2}}\big) \cdot \text{poly}(n<sup>{o(1)}/\epsilon). This is optimal in the sense that as long as the exponent of TT is independent of n,Tn, T, it cannot be improved while retaining the dependency on nn; this as follows from the lower bound of Eden and Rosenbaum [APPROX/RANDOM 2018]. Our algorithm improves upon the state of the art when T=ω(1)T = \omega(1) and T=o(n)T = o(n). We also consider the problem of approximate triangle counting in sparse graphs, parameterizing by the number of edges mm. The best known algorithm runs in time O~(m<sup>3/2T)\tilde{O}\big(\frac{m<sup>{3/2}}{T}\big) [Eden et al., SIAM Journal on Computing, 2017]. There is also a well known algorithm for exact triangle counting that runs in time O~(m<sup>2ω/(ω</sup>+1))\tilde{O}(m<sup>{2\omega/(\omega</sup> + 1)}). We again get an algorithm that retains the exponent of mm while running faster on graphs with larger number of triangles. Specifically, our algorithm runs in time O(m<sup>2ω/(ω+1)</sup>T<sup>2(ω−1)/(ω+1))</sup>⋅poly(n<sup>o(1)/ϵ)O\Big(\frac{m<sup>{2\omega/(\omega+1)}}{</sup> T<sup>{2(\omega-1)/(\omega+1)}}\Big)</sup> \cdot \text{poly}(n<sup>{o(1)}/\epsilon). This is again optimal in the sense that if the exponent of TT is to be constant, it cannot be improved without worsening the dependency on mm. This algorithm improves upon the state of the art when T=ω(1)T = \omega(1) and T=o(m)T = o(\sqrt{m}).

Authors (1)
Citations (8)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.