FPT Algorithms for Finding Dense Subgraphs in c-Closed Graphs

Edin Husic, Tim RoughgardenarXiv 2020

Abstract

Dense subgraph detection is a fundamental problem in network analysis for which few worst-case guarantees are known, motivating its study through the lens of fixed-parameter tractability (FPT). Recent work has proposed parameterizing graphs by their degree of triadic closure, defining a $c$-closed graph as one in which every vertex pair with at least $c$ common neighbors is connected by an edge. While enumerating maximal cliques in $c$-closed graphs is known to be FPT with respect to $c$, many real-world applications require finding "near-cliques" that allow for some missing edges. We investigate the fixed-parameter tractability of optimization and enumeration in $c$-closed graphs for several notions of dense subgraphs, including $k$-plexes and subgraphs with bounded co-degeneracy or co-treewidth. Our approach utilizes a new combinatorial bound generalizing the Moon-Moser theorem and provides theoretical justification for the efficiency of common backtracking heuristics.

Introduction

In graph theory, the search for the largest clique—a subset of vertices where every pair is connected—is a cornerstone NP-hard problem. However, in practical domains such as social network analysis or bioinformatics, data is often noisy or incomplete. Consequently, researchers often seek "near-cliques" or dense subgraphs that relax the strict connectivity requirements of a clique. One such structure is the $k$-plex, where each vertex in the subgraph is missing at most $k-1$ connections to other members of the group.

While finding these dense structures is computationally harder in the worst case than finding cliques, simple backtracking algorithms often perform remarkably well on real-world datasets. This discrepancy suggests that real-world graphs possess structural properties that bypass worst-case complexity. This paper explores $c$-closed graphs as a model for these properties, specifically targeting the phenomenon of "triadic closure"—the tendency for two individuals with many common friends to become friends themselves.

The $c$-Closed Graph Model

A graph is defined as $c$-closed if any two vertices sharing at least $c$ common neighbors are guaranteed to be adjacent. This parameter $c$ captures the degree of triadic closure within a network. Previous research established that finding maximal cliques in such graphs is FPT with respect to $c$. This work extends these guarantees to more flexible, "noisy" dense structures, providing the first FPT algorithms for finding and enumerating near-cliques in this graph class.

Algorithmic Frameworks

The authors propose two primary algorithmic strategies to address the enumeration of dense subgraphs:

1. The Backtracking Approach

The paper analyzes a recursive backtracking procedure, similar to the well-known Bron-Kerbosch algorithm used for clique enumeration. By proving that the search tree of this algorithm is bounded by the $c$ parameter in $c$-closed graphs, the authors provide a rigorous theoretical justification for why these heuristics are so effective in practice. This aligns algorithmic theory with the empirical success observed in social network analysis.

2. The Three-Step Theoretical Framework

To derive tighter complexity bounds, the authors employ a more formal approach:

  • Combinatorial Bound: They establish a maximum possible number of maximal dense subgraphs in any graph, generalizing the famous Moon-Moser theorem.
  • FPT Bound: By applying the $c$-closure property, they translate the general combinatorial bound into one that depends primarily on the parameter $c$ rather than the total number of vertices $n$.
  • Enumeration: These bounds are integrated into an algorithm capable of listing all such subgraphs with polynomial delay.

Key Insights and Results

A significant contribution of this work is the generalization of the Moon-Moser theorem. The authors provide a new, tight combinatorial bound for maximal dissociation sets (subgraphs with a maximum degree of 1), showing their number is at most $10^{N/5}$. This serves as a critical building block for their results on $k$-plexes.

The paper establishes several new complexity bounds for $c$-closed graphs (where $n$ is the number of vertices and $c$ is the closure parameter):

  • $(d+1)$-plexes: Enumeration of all maximal $(d+1)$-plexes is achieved in $O(n^{2d} \cdot \kappa_d^c \cdot poly(c))$ time. For 2-plexes, a tighter bound of $O(n^2 \cdot 10^{c/5} \cdot poly(c))$ is proven.
  • Bounded Co-Degeneracy: Subgraphs whose complements have degeneracy $d$ can be enumerated in $O(n^{2d+4} 4^c)$ time.
  • Bounded Co-Treewidth: Subgraphs whose complements have treewidth $t$ can be enumerated in $O(n^{t+4} 2^{2c})$ time.

In these results, the exponential component of the complexity depends on the small constant $c$, while the dependence on $n$ remains polynomial, satisfying the requirements for FPT.

Discussion and Future Work

While this work provides a robust theoretical foundation for dense subgraph detection, certain limitations remain. The algorithms are FPT in $c$, but the polynomial dependence on $n$ involves an exponent that depends on the "looseness" parameter $d$ or $t$ (e.g., $n^{2d}$). If these parameters are large, the algorithms may become impractical. A "fully" FPT algorithm, where the exponent of $n$ is independent of $d$, remains an open challenge.

Additionally, the techniques do not extend to subgraphs defined by average co-degree. The authors demonstrate that even for an average co-degree of 2, the number of maximal subgraphs can be super-polynomial in $c$. Future research may also explore "weakly" or "approximately" $c$-closed graphs to better model real-world networks that do not strictly adhere to the $c$-closure definition.

Summary updated

BibTeX
@misc{husic2020fpt,
  author = {Edin Husic and Tim Roughgarden},
  title = {{FPT Algorithms for Finding Dense Subgraphs in c-Closed Graphs}},
  year = {2020},
  eprint = {2007.09768},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.09768},
}
Figure