Skip to content

Cliques, Quasi-Cliques, and Bicliques in Random Graphs: Sampling and Algorithms

Thanh Le, A. Pavan, Xavier Pérez-Giménez, N. V. Vinodchandran

cs.DS

Abstract

We study the algorithmic problem of finding dense subgraphs - cliques, quasi-cliques, and bicliques - in Erdős-Rényi random graphs. While the extremal structure of cliques in G(n,1/2)G(n,1/2) is well understood, efficiently locating large cliques remains a central algorithmic challenge. We introduce a new perspective on this problem: the classical Grimmett-McDiarmid greedy algorithm implicitly defines a near-uniform sampler over cliques of size (1−o(1))log⁡n(1-o(1))\log n. Building on this observation, we develop a sampling-based framework for finding larger cliques. In particular, for every η>0η>0, we give an algorithm that finds a clique of size (1+η)log⁡n(1+η)\log n in time n(η2/2+o(1))log⁡nn^{(η^2/2+o(1))\log n} - the first smooth trade-off between clique size and running time in this regime, improving on the previously best-known running time of n(1/2+o(1))log⁡nn^{(1/2+o(1))\log n}. We further show that improved sampling algorithms for cliques of size (1+η)log⁡n(1+η)\log n translate into faster algorithms for finding a maximum clique. Beyond cliques, we give a deterministic algorithm that enumerates all maximum γγ-quasi-cliques in G(n,p)G(n,p) in time matching their count up to lower-order factors, and extend this to random bipartite graphs G(n,n,p)G(n,n,p), establishing new concentration bounds for quasi-bicliques together with analogous enumeration algorithms. Finally, we study unbalanced bicliques in G(n,n,p)G(n,n,p). For each s∈[n]s \in [n], we obtain a concentration bound on the largest t=tmax⁡(s)t = t_{\max}(s) for which an (s,t)(s,t)-biclique exists, and show that when s=ω(log⁡n)s = ω(\log n), a simple greedy algorithm finds an (s,(1−o(1))tmax⁡(s))(s,(1-o(1))t_{\max}(s))-biclique in linear time with high probability - demonstrating that greedy is near-optimal in this regime.

Create a lesson