English

Towards Optimal Output-Sensitive Clique Listing or: Listing Cliques from Smaller Cliques

Data Structures and Algorithms 2024-03-25 v2

Abstract

We study finding and listing kk-cliques in a graph, for constant k3k\geq 3, a fundamental problem of both theoretical and practical importance. Our main contribution is a new output-sensitive algorithm for listing kk-cliques in graphs, for arbitrary k3k\geq 3, coupled with lower bounds based on standard fine-grained assumptions, showing that our algorithm's running time is tight. Previously, the only known conditionally optimal output-sensitive algorithms were for the case of 33-cliques by Bj\"{o}rklund, Pagh, Vassilevska W. and Zwick [ICALP'14]. Typical inputs to subgraph isomorphism or listing problems are measured by the number of nodes nn or the number of edges mm. Our framework is very general in that it gives kk-clique listing algorithms whose running times are measured in terms of the number of \ell-cliques Δ\Delta_\ell in the graph for any 1<k1\leq \ell<k. This generalizes the typical parameterization in terms of nn (the number of 11-cliques) and mm (the number of 22-cliques). If the matrix multiplication exponent ω\omega is 22, and if the size of the output, Δk\Delta_k, is sufficiently large, then for every <k\ell<k, the running time of our algorithm for listing kk-cliques is O~(Δ2(k)Δk12k(k)).\tilde{O}\left(\Delta_\ell^{\frac{2}{\ell (k - \ell)}}\Delta_k^{1-\frac{2}{k(k-\ell)}}\right). For sufficiently large Δk\Delta_k, we prove that this runtime is in fact {\em optimal} for all 1<k1 \leq \ell < k under the Exact kk-Clique hypothesis. In the special cases of k=4k = 4 and 55, our algorithm in terms of nn is conditionally optimal for all values of Δk\Delta_k if ω=2\omega = 2. Moreover, our framework is powerful enough to provide an improvement upon the 19-year old runtimes for 44 and 55-clique detection in mm-edge graphs, as a function of mm [Eisenbrand and Grandoni, TCS'04].

Keywords

Cite

@article{arxiv.2307.15871,
  title  = {Towards Optimal Output-Sensitive Clique Listing or: Listing Cliques from Smaller Cliques},
  author = {Mina Dalirrooyfard and Surya Mathialagan and Virginia Vassilevska Williams and Yinzhan Xu},
  journal= {arXiv preprint arXiv:2307.15871},
  year   = {2024}
}

Comments

48 pages, 5 figures