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. 2003.13585
28
25

Parallel Batch-Dynamic kkk-Clique Counting

30 March 2020
Laxman Dhulipala
Quanquan C. Liu
Julian Shun
Shangdi Yu
ArXivPDFHTML
Abstract

In this paper, we study new batch-dynamic algorithms for the kkk-clique counting problem, which are dynamic algorithms where the updates are batches of edge insertions and deletions. We study this problem in the parallel setting, where the goal is to obtain algorithms with low (polylogarithmic) depth. Our first result is a new parallel batch-dynamic triangle counting algorithm with O(ΔΔ+m)O(\Delta\sqrt{\Delta+m})O(ΔΔ+m​) amortized work and O(log⁡∗(Δ+m))O(\log^* (\Delta+m))O(log∗(Δ+m)) depth with high probability, and O(Δ+m)O(\Delta+m)O(Δ+m) space for a batch of Δ\DeltaΔ edge insertions or deletions. Our second result is an algebraic algorithm based on parallel fast matrix multiplication. Assuming that a parallel fast matrix multiplication algorithm exists with parallel matrix multiplication constant ωp\omega_pωp​, the same algorithm solves dynamic kkk-clique counting with O(min⁡(Δm(2k−1)ωp3(ωp+1),(Δ+m)2(k+1)ωp3(ωp+1)))O\left(\min\left(\Delta m^{\frac{(2k - 1)\omega_p}{3(\omega_p + 1)}}, (\Delta+m)^{\frac{2(k + 1)\omega_p}{3(\omega_p + 1)}}\right)\right)O(min(Δm3(ωp​+1)(2k−1)ωp​​,(Δ+m)3(ωp​+1)2(k+1)ωp​​)) amortized work and O(log⁡(Δ+m))O(\log (\Delta+m))O(log(Δ+m)) depth with high probability, and O((Δ+m)2(k+1)ωp3(ωp+1))O\left((\Delta+m)^{\frac{2(k + 1)\omega_p}{3(\omega_p + 1)}}\right)O((Δ+m)3(ωp​+1)2(k+1)ωp​​) space. Using a recently developed parallel kkk-clique counting algorithm, we also obtain a simple batch-dynamic algorithm for kkk-clique counting on graphs with arboricity α\alphaα running in O(Δ(m+Δ)αk−4)O(\Delta(m+\Delta)\alpha^{k-4})O(Δ(m+Δ)αk−4) expected work and O(log⁡k−2n)O(\log^{k-2} n)O(logk−2n) depth with high probability, and O(m+Δ)O(m + \Delta)O(m+Δ) space. Finally, we present a multicore CPU implementation of our parallel batch-dynamic triangle counting algorithm. On a 72-core machine with two-way hyper-threading, our implementation achieves 36.54--74.73x parallel speedup, and in certain cases achieves significant speedups over existing parallel algorithms for the problem, which are not theoretically-efficient.

View on arXiv
Comments on this paper