TL;DR
This paper surveys the burgeoning field of "community search" (CS) in large graphs, which aims to efficiently find dense, cohesive subgraphs around query vertices. It categorizes existing CS methods by their underlying cohesiveness metrics (like k-core, k-truss, k-clique, k-ECC) and graph types (simple, directed, attributed), providing a comprehensive overview for researchers and practitioners.
What Problem Does This Paper Address?
In today's data-rich world, large graphs (like social networks, the web, or knowledge bases) are ubiquitous. A key challenge is to efficiently identify "communities" within these graphs – groups of vertices that are densely interconnected. This is crucial for applications like friend recommendations, event organization, and identifying functional modules in biological networks. Traditional "community detection" methods often find all communities globally, which is computationally expensive and doesn't cater to user-specific queries. "Community search" (CS) addresses this by focusing on finding high-quality communities around specific query vertices in real-time, while also considering factors like scalability, personalization, and dynamic graph updates.
Methods
The paper systematically categorizes CS approaches based on their core "cohesiveness metrics," which define what constitutes a "dense" subgraph. These include:
- k-core: The largest subgraph where every vertex has at least k neighbors within that subgraph.
- k-truss: A subgraph where every edge is part of at least k-2 triangles.
- k-clique: A complete subgraph where every pair of vertices is connected by an edge.
- k-ECC (k-edge-connected component): A subgraph that remains connected even after removing k-1 edges.
The survey also distinguishes between CS on simple graphs (only link information) and attributed graphs (which incorporate additional information like keywords, locations, or influence values). For each category, the paper discusses various algorithms, including:
- Online search algorithms: These answer queries directly without pre-processing.
- Index-based algorithms: These build an index offline to answer queries much faster online.
Datasets
The paper references several real-world datasets used in the surveyed research, including:
- Email-Enron
- Livejournal
- Wise
These datasets are used to empirically compare the performance of different CS algorithms.
Key Insights and Ideas
- Cohesiveness vs. Efficiency Trade-off: More cohesive community models (like k-clique) are generally more computationally expensive than less cohesive ones (like k-core). This means choosing the right metric depends on the application's needs and available resources.
- Attributed Graphs Add Complexity and Value: Incorporating attributes like keywords or locations makes communities more meaningful and personalized, but also significantly complicates the search problem and requires specialized algorithms.
- Index-Based Approaches are Crucial for Big Data: For large-scale graphs, pre-computing indexes is essential for achieving real-time query performance, despite the initial offline cost.
- No One-Size-Fits-All: The paper highlights that different CS models and algorithms are suited for different types of graphs and applications, emphasizing the need for practitioners to understand these distinctions.
Key Results
The paper provides a comprehensive comparison of CS solutions across various metrics and graph types. While specific quantitative results are detailed within the discussions of each metric and algorithm, the overarching findings include:
- k-core and k-ECC are generally more efficient for large graphs, while k-clique and k-truss offer higher cohesiveness.
- Index-based algorithms significantly outperform online algorithms in terms of query time, especially for large datasets.
- Empirical results on real-world graphs (like Google) confirm the theoretical complexity analyses, showing that k-core-based methods are often the fastest and most scalable.
- Attributed graph CS methods, while more complex, offer richer and more personalized community insights.
Limitations and Future Work
The authors acknowledge several limitations and suggest promising future research directions:
- Parameter Optimization: Many CS algorithms require users to manually set parameters (like 'k'), which can be challenging. Future work could focus on automatic parameter suggestion using historical query logs or crowdsourcing.
- Exploring New Cohesiveness Metrics: Many existing cohesiveness metrics haven't been fully explored in the context of CS. Investigating these could lead to new and improved community search capabilities.
- Handling Multiple Attributes: Real-world graphs often have multiple types of attributes. Developing CS methods that can effectively consider these diverse attributes simultaneously is a key future direction.
- Scalability for Truly Massive Graphs: While current CS methods handle large graphs, processing graphs with billions of vertices and edges (e.g., Facebook) still poses significant challenges, requiring distributed and I/O-efficient approaches.
- Standardized Benchmarks: The paper notes the lack of publicly available codes and datasets, suggesting the need for an online repository to facilitate reproducible research and benchmarking.
Summary updated