Lune

STOC2024Top-tier venue

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

Mina Dalirrooyfard, Surya Mathialagan, Virginia Vassilevska Williams, Yinzhan Xu

Abstract

We study the problem of finding and listing k-cliques in an m-edge, n-vertex graph, for constant k ≥ 3. This is a fundamental problem of both theoretical and practical importance.

Our first contribution is an algorithmic framework for finding k-cliques that gives the first improvement in 19 years over the old runtimes for 4 and 5-clique finding, as a function of m [Eisenbrand and Grandoni, TCS'04]. With the current bounds on matrix multiplication, our algorithms run in O(m 1.66 ) and O(m 2.06 ) time, respectively, for 4-clique and 5-clique finding.

Our main contribution is an output-sensitive algorithm for listing k-cliques, for any constant k ≥ 3. We complement the algorithm with tight lower bounds based on standard fine-grained assumptions. Previously, the only known conditionally optimal output-sensitive algorithms were for the case of 3-cliques given by Björklund, Pagh, Vassilevska W. and Zwick [ICALP'14]. If the matrix multiplication exponent ω is 2, and if the number of k-cliques t is large enough, the running time of our algorithms is Õ minm

and this is tight under the Exact-k-Clique Hypothesis. This running time naturally extends the running time obtained by Björklund, Pagh, Vassilevska W. and Zwick for k = 3. Our framework is very general in that it gives k-clique listing algorithms whose running times can be measured in terms of the number of ℓ-cliques ∆ ℓ in the graph for any 1 ≤ ℓ < k. This generalizes the typical parameterization in terms of n (the number of 1-cliques) and m (the number of 2-cliques).

If ω is 2, and if the size of the output, ∆ k , is sufficiently large, then for every ℓ < k, the running time of our algorithm for listing k-cliques is Õ ∆

We also show that this runtime is optimal for all 1 ≤ ℓ < k under the Exact k-Clique hypothesis.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Removing Additive Structure in 3SUM-Based Reductions cites Monochromatic Triangles, Triangle Listing and APSP
  • Removing Additive Structure in 3SUM-Based Reductions cites Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Removing Additive Structure in 3SUM-Based Reductions
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Faster Matrix Multiplication via Asymmetric Hashing
  • Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics cites Monochromatic Triangles, Triangle Listing and APSP
  • New Bounds for Matrix Multiplication: from Alpha to Omega cites Faster Matrix Multiplication via Asymmetric Hashing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Aggregating maximal cliques in real-world graphsNoga Alon, Sabyasachi Basu, Shweta Jain, Haim Kaplan et al.VLDB 2026

Builds on5

  1. New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
  2. Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 citations
  3. Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 citations
  4. Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive CombinatoricsAmir Abboud, Karl Bringmann, Nick FischerSTOC 2023 · 10 citations
  5. Removing Additive Structure in 3SUM-Based ReductionsCe Jin, Yinzhan XuSTOC 2023 · 9 citations

Related papers

  1. Induced Cycles and Paths Are Harder Than You ThinkMina Dalirrooyfard, Virginia Vassilevska WilliamsFOCS 2022 · 6 citations
  2. A tight (non-combinatorial) conditional lower bound for Klee's Measure Problem in 3DMarvin KünnemannFOCS 2022 · 1 citation
  3. Output-Sensitive Approximate Counting via a Measure-Bounded Hyperedge Oracle, or: How Asymmetry Helps Estimate k-Clique Counts FasterKeren Censor-Hillel, Tomer Even, Virginia Vassilevska WilliamsSTOC 2025 · 1 citation
  4. Ordering Heuristics for k-clique ListingRonghua Li, Sen Gao, Lu Qin, Guoren Wang et al.VLDB 2020 · 55 citations
  5. Tight Distributed Listing of CliquesKeren Censor-Hillel, Yi-Jun Chang, François Le Gall, Dean LeitersdorfSODA 2021 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines