TL;DR
This paper introduces Conductance-based Community Search (CCS), a new problem formulation for finding high-quality, connected subgraphs in massive networks that are both internally dense and externally sparse. They propose an efficient four-stage algorithm, SCCS, that leverages graph sampling and iterative refinement to achieve state-of-the-art results on billion-scale datasets.
What Problem Does This Paper Address?
Community search aims to find a group of interconnected nodes (a community) within a larger network that contains a specific "query" node. Existing methods often focus solely on how tightly knit the community is internally (e.g., using k-core or k-truss) but neglect how well-separated it is from the rest of the network. This can lead to communities that are not truly distinct or that include irrelevant nodes. The authors argue that a truly high-quality community should be both internally cohesive and externally sparse, and they propose using the conductance metric to measure this balance. Conductance quantifies the ratio of edges going out of a community to the total number of edges connected to its members. A lower conductance signifies a better community. The core challenge is finding a connected subgraph containing a query vertex with the minimum possible conductance, a problem they prove to be NP-hard.
Methods
The paper proposes a two-pronged approach:
- PPRCS (Basic Algorithm): This method uses Personalized PageRank (PPR) to score vertices based on their proximity to the query vertex. It then greedily selects connected subgraphs based on these scores, aiming for minimum conductance. While a good starting point, it can be sensitive to parameter choices and may not always yield optimal results.
- SCCS (Advanced Algorithm): This is the main contribution and tackles the NP-hardness by using a four-stage heuristic approach:
- Sampling: The massive graph is first reduced to a smaller, relevant subgraph around the query vertex using a breadth-first search-like strategy, controlled by depth and size parameters. This drastically cuts down computation.
- Initial Community: A "seed" community is established, typically by finding the largest clique containing the query vertex. This ensures a highly connected starting point.
- Expansion: Vertices are iteratively added to the community to improve its quality score (based on internal density and external sparsity). This stage allows adding multiple vertices at once to avoid local optima.
- Verification: Vertices that might have become detrimental to the community's quality (due to the non-monotonic nature of conductance) are iteratively removed. This stage ensures the final community is well-separated.
Datasets
The authors evaluate their methods on six real-world datasets:
- Amazon (Purchasing): Network of product purchases.
- DBLP (Authorship): Co-authorship network.
- Youtube (Social): Social network data.
- LiveJ (Social): Social network data.
- Orkut (Social): Social network data.
- Friendster (Social): Social network data (notable for its billion-scale edge count).
They also use synthetic LFR (Lancichinetti-Fortunato-Radicchi) benchmark datasets to systematically test performance under varying network parameters (size, average degree, community mixing ratio).
Key Insights and Ideas
- Conductance is Key: The paper strongly advocates for conductance as a superior metric for community search compared to purely cohesive measures, as it captures both internal density and external sparsity.
- Sampling is Crucial for Scale: For billion-scale graphs, directly searching is infeasible. The SCCS algorithm's subgraph sampling is a critical innovation that makes the problem tractable.
- Iterative Refinement Works: The expansion and verification stages in SCCS, working in tandem, effectively refine the community by adding beneficial nodes and removing detrimental ones, leading to higher quality.
- Maximal Cliques as Seeds: Using maximal cliques as initial communities provides a strong, locally dense starting point, which is beneficial for subsequent refinement.
- Trade-offs in Community Size: Methods that only focus on internal cohesion tend to produce larger communities, while conductance-based methods (especially SCCS) can find smaller, more distinct communities that better match real-world properties.
Key Results
- Efficiency: SCCS is significantly faster than competing methods, especially on large datasets. For instance, on the Friendster dataset (1.8 billion edges), SCCS takes ~11 seconds, while others fail to complete within 5 hours. PPRCS is even faster (~0.6 seconds).
- Effectiveness: SCCS achieves the best Fl-scores across most datasets, indicating it more accurately identifies ground-truth communities. It also reports lower conductance values, signifying better community quality.
- Scalability: The sampling strategy in SCCS allows it to scale to billion-edge graphs effectively.
- Parameter Sensitivity: SCCS shows more stable performance across different parameter settings (like
countanddp) compared to some baselines.
Limitations and Future Work
- NP-Hardness: The core problem (CCS) is NP-hard, meaning exact solutions are infeasible for large graphs. SCCS is a heuristic, and while effective, it doesn't guarantee an optimal solution.
- Heuristic Nature: The authors acknowledge that their algorithms are heuristic. Future work will focus on exploring approximation ratios and worst-case performance bounds.
- Parallelization: To further enhance scalability for even larger networks, they plan to implement a parallel version of SCCS.
- Parameter Tuning: While SCCS is less sensitive than some methods, optimal parameter choices (
dp,l,h,count) can still influence performance, and further research into automatic tuning could be beneficial.
Summary updated