ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2002.08299
25
8

Massively Parallel Algorithms for Small Subgraph Counting

19 February 2020
Amartya Shankha Biswas
T. Eden
Quanquan C. Liu
Slobodan Mitrović
R. Rubinfeld
ArXivPDFHTML
Abstract

Over the last two decades, frameworks for distributed-memory parallel computation, such as MapReduce, Hadoop, Spark and Dryad, have gained significant popularity with the growing prevalence of large network datasets. The Massively Parallel Computation (MPC) model is the de-facto standard for studying graph algorithms in these frameworks theoretically. Subgraph counting is one such fundamental problem in analyzing massive graphs, with the main algorithmic challenges centering on designing methods which are both scalable and accurate. Given a graph G=(V,E)G=(V, E)G=(V,E) with nnn vertices, mmm edges and TTT triangles, our first result is an algorithm that outputs a (1+ε)(1+\varepsilon)(1+ε)-approximation to TTT, with asymptotically \emph{optimal round and total space complexity} provided any S≥max⁡(m,n2/m)S \geq \max{(\sqrt m, n^2/m)}S≥max(m​,n2/m) space per machine and assuming T=Ω(m/n)T=\Omega(\sqrt{m/n})T=Ω(m/n​). Our result gives a quadratic improvement on the bound on TTT over previous works. We also provide a simple extension of our result to counting \emph{any} subgraph of kkk size for constant k≥1k \geq 1k≥1. Our second result is an Oε(log⁡log⁡n)O_{\varepsilon}(\log \log n)Oε​(loglogn)-round algorithm for exactly counting the number of triangles, whose total space usage is parametrized by the \emph{arboricity} α\alphaα of the input graph. We extend this result to exactly counting kkk-cliques for any constant kkk. Finally, we prove that a recent result of Bera, Pashanasangi and Seshadhri (ITCS 2020) for exactly counting all subgraphs of size at most 555 can be implemented in the MPC model in total space.

View on arXiv
Comments on this paper