Finding Connected Dense $k$-Subgraphs

Xujin Chen, Xiaodong Hu, Changjun WangarXiv 2015

TL;DR

This paper introduces the first non-trivial combinatorial approximation algorithms for finding the densest connected subgraph of exactly $k$ vertices in a general graph. By combining iterative vertex removal with greedy attachment strategies, the authors achieve an approximation ratio of $O(n^{2/5})$ relative to the densest (possibly disconnected) $k$-subgraph, providing a significant theoretical step forward for community detection and network analysis.

What Problem Does This Paper Address?

In graph theory, the Densest $k$-Subgraph Problem (DkSP) asks us to find a set of $k$ vertices that induces the maximum number of edges. This is a fundamental primitive for identifying "communities" in social networks, functional modules in protein-interaction networks, or high-traffic clusters on the web.

However, in many real-world scenarios, a "community" that is fragmented into isolated pieces isn't very useful. This leads to the Densest Connected $k$-Subgraph Problem (DCkSP), where the chosen $k$ vertices must also form a connected component.

The challenge is that DkSP is notoriously hard: it is NP-hard and even approximating it within a constant factor is believed to be impossible for general graphs. Adding the connectivity constraint makes the problem significantly more complex, as traditional density-increasing moves (like adding high-degree nodes) might break the connectivity of the subgraph. Prior to this paper, non-trivial approximations for DCkSP were only known for very specific graph types (like trees or interval graphs).

Methods

The authors propose a suite of four combinatorial algorithms that are run in parallel, with the best result among them being selected. The core techniques include:

  1. Iterative Vertex Removal: Starting with the full graph, the algorithm repeatedly deletes "removable" vertices—those whose degree is less than half the average degree of the current graph—while ensuring the graph remains connected.
  2. Greedy Attachment: When a subgraph is smaller than $k$, the authors use a greedy procedure to attach new vertices. They prioritize vertices that have the most neighbors in the existing set, which naturally preserves connectivity while maximizing edge density.
  3. Hub-based Expansion: For cases where the densest clusters are far apart, the algorithm identifies a "hub" vertex and uses length-2 walks to bridge the gap between dense but disconnected components.
  4. Densest Subgraph Relaxation: One approach involves finding the densest subgraph of any size (which can be done in polynomial time using max-flow techniques) and then pruning or expanding it to reach exactly $k$ vertices.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets or training sets. Instead, the algorithms are evaluated through rigorous mathematical proofs of their approximation ratios.

The authors do, however, construct specific synthetic graph examples (Example 1.1) to demonstrate the theoretical lower bounds of the "connectivity tax"—the inherent loss in density one must accept when moving from a disconnected densest $k$-subgraph to a connected one.

Key Insights and Ideas

  • The "Removable" Property: A key insight is the formal definition of a removable vertex (Definition 2.2). If a vertex's degree is less than half the average degree, removing it must increase the overall density of the remaining graph.
  • The Connectivity Tax: The authors quantify the gap between the densest $k$-subgraph ($\sigma^*_k$) and the densest connected $k$-subgraph. They show that in the worst case, the connected version can be a factor of $n^{1/3}$ less dense than the disconnected version.
  • Hybridization is Necessary: No single algorithm performs well across all values of $k$. The $O(n^{2/5})$ guarantee is only possible by combining different strategies that handle "small $k$" and "large $k$" regimes differently.

Key Results

  • Approximation Ratio: For the unweighted problem (DCkSP), the algorithms achieve an approximation ratio of $O(\min\{n^{2/5}, n^2/k^2\})$. This means the density of the found subgraph is at least a factor of $\Omega(n^{-2/5})$ of the optimal (possibly disconnected) density.
  • Weighted Generalization: For the weighted version (HCkSP), where edges have different importance, they achieve an approximation ratio of $O(\min\{n^{2/3}, n^2/k^2\})$.
  • Efficiency: All proposed algorithms are computationally efficient, running in $O(mn \log n)$ time, where $n$ is the number of vertices and $m$ is the number of edges. This makes them potentially applicable to large-scale networks.

Limitations and Future Work

  • The Approximation Gap: There is still a gap between the $O(n^{2/5})$ ratio achieved here and the $O(n^{1/4 + \epsilon})$ ratio known for the standard (disconnected) DkSP. Closing this gap remains an open challenge.
  • Weighted Case Performance: The weighted version's ratio ($n^{2/3}$) is significantly weaker than the unweighted one. The authors note that many techniques used for edge counting don't translate easily to edge weights when connectivity is required.
  • Tightness of Bounds: While the authors provide examples showing the connectivity gap can be large, it is not yet clear if their specific approximation factors are the best possible or if more sophisticated semidefinite programming (SDP) approaches could improve them.

Summary updated

BibTeX
@misc{chen2015finding,
  author = {Xujin Chen and Xiaodong Hu and Changjun Wang},
  title = {{Finding Connected Dense $k$-Subgraphs}},
  year = {2015},
  eprint = {1501.07348},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1501.07348},
}
Figure