TL;DR
This paper provides a comprehensive survey and taxonomy of Community Search (CS) algorithms, which are designed to retrieve personalized, densely connected subgraphs from massive networks in real-time. By analyzing core structural metrics ($k$-core, $k$-truss, $k$-clique, and $k$-edge connected components) across both simple and attribute-rich graphs, the authors map out the fundamental trade-offs between community cohesiveness and computational efficiency.
What Problem Does This Paper Address?
Traditional Community Detection (CD) focuses on partitioning an entire graph into clusters based on global criteria (like modularity). While useful for macro-analysis, CD is computationally expensive, struggles to scale to billion-node graphs, and lacks personalization.
This paper addresses the problem of Community Search (CS), an online, query-driven alternative. Given a graph and a specific query vertex $q$, CS aims to find a localized, highly cohesive community containing $q$ in real-time. This has immediate applications in personalized friend recommendations, social event organization, targeted advertising, and biological protein complex identification. The core challenge lies in navigating diverse definitions of structural "cohesiveness" while maintaining sub-second query latencies on massive, dynamic, and attribute-rich graphs.
Methods
The survey systematically categorizes CS methods based on their underlying structural cohesiveness metrics:
- $k$-core: A subgraph where every vertex has a degree of at least $k$. It is highly efficient to compute ($O(m+n)$) but structurally loose.
- $k$-truss: A subgraph where every edge is part of at least $(k-2)$ triangles, balancing local density with solid computational performance.
- $k$-clique: A completely connected subgraph of $k$ vertices. It represents the highest possible density but is NP-hard to find, severely limiting scalability.
- $k$-ECC ($k$-edge connected component): A subgraph that remains connected even after removing any $k-1$ edges, capturing a more global sense of connectivity.
The authors evaluate how these structural foundations are extended to attributed graphs, which incorporate non-structural data such as spatial locations (using R-trees or SaR-trees), textual keywords (via CL-trees), temporal intervals, and influence probabilities. They also contrast the algorithmic paradigms used to solve these problems: global peeling frameworks, local expansion methods, and index-based architectures that pre-compute tree structures offline to accelerate online queries.
Datasets
The survey evaluates the performance of these metrics using four real-world benchmark graphs representing different scales and domains:
- Email-Enron: A small communication network ($36.7\text{K}$ vertices, $183.8\text{K}$ edges).
- Google: A web page hyperlink graph ($876\text{K}$ vertices, $5.1\text{M}$ edges).
- Livejournal: A large social network ($4.8\text{M}$ vertices, $69\text{M}$ edges).
- Wise: A massive, billion-scale graph ($58.6\text{M}$ vertices, $265.1\text{M}$ edges).
Key Insights and Ideas
-
The Cohesiveness-Efficiency Spectrum: There is a strict inverse relationship between how tightly bound a community model is and how fast it can be computed. As a practitioner, choosing a model requires balancing this exact trade-off.
The trade-off between structural cohesiveness and computational efficiency across community search models. -
Inclusion-ship Hierarchy: The structural models form a neat nesting hierarchy: every $k$-clique is a subgraph of a $k$-truss, which is a subgraph of a $k$-ECC, which in turn is a subgraph of a $k$-core.
- Index-Based Acceleration: Purely algorithmic local or global search is often too slow for real-time applications on big graphs. Pre-computing tree-like index structures (such as ShellStruct for $k$-cores or EquiTruss for $k$-trusses) shifts the heavy computational lifting offline, enabling optimal online query times proportional only to the size of the returned community.
- Attribute Orthogonality: Structural cohesiveness metrics are completely orthogonal to graph types. This means a metric like $k$-truss, traditionally used for simple graphs, can be creatively combined with spatial or temporal attributes to spawn entirely new community search paradigms.
Key Results
- Scalability Limits: On the massive Wise dataset ($265.1\text{M}$ edges), computing a $k$-core took 553 seconds and a $k$-ECC took 5,764 seconds using online algorithms. Meanwhile, $k$-clique computation was completely intractable, failing to finish within a 24-hour window.
- Index Power: Using index-based query processing on the Google web graph, $k$-truss queries returned answers in just 0.2 seconds, demonstrating the massive latency reduction achieved by shifting graph decomposition offline.
- Quality Metrics: Qualitatively, $k$-truss-based solutions consistently achieved the highest clustering coefficients and smallest diameters across the benchmarks, confirming that triangle-based connectivity yields the most tightly bound, meaningful communities in practice.
Limitations and Future Work
- The Parameter Tuning Dilemma: Most existing CS models require users to manually input parameters like $k$ or specific keyword sets. If $k$ is set too high, the query returns an empty result; if too low, the community explodes in size. Automatically suggesting or optimizing these parameters using historical query logs or crowdsourcing remains an open challenge.
- Billion-Scale Memory Constraints: Most current state-of-the-art algorithms assume the graph can fit entirely into a single machine's RAM. True billion-scale graphs (like Facebook or the full WWW) require distributed frameworks (e.g., GraphX) or specialized I/O-efficient disk-resident index designs.
- Advanced Graph Models: Very little work has explored community search on complex graph variants such as uncertain graphs (probabilistic edges), signed graphs (positive/negative relationships), or heterogeneous information networks (HINs).
Summary updated