Abstract
We study the recently introduced problem of finding dense common subgraphs: Given a sequence of graphs that share the same vertex set, the goal is to find a subset of vertices $S$ that maximizes some aggregate measure of the density of the subgraphs induced by $S$ in each of the given graphs. Different choices for the aggregation function give rise to variants of the problem that were studied recently. We settle many of the questions left open by previous works, showing NP-hardness, hardness of approximation, non-trivial approximation algorithms, and an integrality gap for a natural relaxation.
Introduction
In classical graph theory, the Densest Subgraph problem—finding a subset of vertices where the ratio of edges to vertices is maximized—is a well-behaved problem solvable in polynomial time. However, real-world data is rarely static. In social networks, biological systems, or temporal datasets, we often encounter a sequence of graphs (snapshots) sharing the same vertex set.
This paper provides the first systematic theoretical treatment of the Dense Common Subgraph (DCS) problem: identifying a single group of nodes that remains tightly connected across multiple snapshots. The authors demonstrate that while the single-graph version is easy, the introduction of a temporal dimension makes the problem significantly harder (NP-hard).
Problem Variants
The research focuses on two primary ways to aggregate density across multiple graph frames:
- DCS-MA (Maximize the Minimum Average degree): This variant seeks a vertex set $S$ that maintains a high average degree even in its least dense snapshot. It is designed to find clusters that are consistently dense over time.
- DCS-AM (Maximize the Average Minimum degree): This variant seeks a set $S$ that, on average across all snapshots, maintains a high "floor" for the degree of every individual member.
Complexity and Hardness Results
The authors reveal that the jump from one graph to two or more snapshots breaks the structural properties (like submodularity) that make the single-graph version tractable.
- DCS-MA Hardness: The authors prove that DCS-MA is NP-hard and as difficult to approximate as the MinRep problem. Under the Planted Dense Subgraph Conjecture, they show it is hard to approximate within a factor of $n^{1/4-\epsilon}$.
- DCS-AM Hardness: This variant is even more challenging, with a reduction from the Maximum Independent Set problem showing it is NP-hard to approximate within a factor of $n^{1-\epsilon}$. This effectively matches the trivial upper bound, suggesting that for general graphs, no efficient algorithm can significantly outperform a naive search.
- LP Integrality Gaps: While Linear Programming (LP) solves the single-graph version exactly, the authors demonstrate a near-linear integrality gap for the multi-frame version, proving that standard relaxation techniques are insufficient for this problem.
Algorithmic Approaches
Despite the inherent hardness, the paper contributes several non-trivial algorithmic results:
- Approximation for DCS-MA: The authors propose a hybrid algorithm that achieves an $O(\sqrt{n \log T})$ approximation ratio by combining a global solution with a greedy strategy that picks vertex pairs to "cover" edges in as many frames as possible.
- Fixed-Parameter Tractability (FPT): For the DCS-AM variant, the authors generalize the classical $k$-core decomposition algorithm. They provide an exact algorithm with a running time of $n^T \cdot poly(n, T)$, which is efficient if the number of snapshots ($T$) is a small constant.
- Common Spanning Subgraphs: The authors also extend their analysis to a "Minimum Common Spanning Subgraph" problem, providing an $O(\log T)$ approximation.
Conclusion
This work establishes that finding dense common subgraphs is a fundamentally harder problem than its static counterpart. While the authors provide the first approximation algorithms and FPT results, a significant gap remains between the $O(\sqrt{n})$ upper bound and the $n^{1/4}$ lower bound for the DCS-MA variant. Future work may involve narrowing this gap or exploring these problems on specific graph classes, such as power-law or planar graphs, where the general hardness might not apply.
Summary updated