Introduction
In graph analysis, community search traditionally focuses on structural cohesiveness, often defined by the "minimum degree" ($γ$). However, real-world applications frequently require identifying influential communities where members possess high individual weights, such as citation counts or PageRank scores. Existing solutions for influential community search typically fall into two categories: index-based methods, which are fast but inflexible to weight updates, and online/global methods, which are often too slow for real-time use due to full graph traversal.
The LocalSearch Framework
To bridge this gap, the authors propose LocalSearch, an instance-optimal online algorithm that avoids expensive pre-computed indexes. The framework is designed to visit only the minimal portion of the graph necessary to answer a specific query. It achieves this by identifying the smallest possible weight-induced subgraph ($G_{\ge \tau}$) that contains the top-$k$ communities.
The efficiency of LocalSearch stems from three core strategies:
- Exponential Growth Strategy: Since the optimal weight threshold $\tau$ is unknown upfront, the algorithm starts with a high threshold and iteratively lowers it, doubling the explored subgraph size each time to avoid wasting computation on low-influence nodes.
- Linear-Time Counting: Instead of the costly process of enumerating all communities, the authors introduce
CountIC. This algorithm leverages a one-to-one correspondence between influential communities and "keynodes" to count communities in linear time. - Progressive Reporting: The
LocalSearch-Pvariant outputs communities in decreasing order of influence, allowing users to receive immediate results and terminate the search early once they have seen enough.
Key Insights and Results
The effectiveness of LocalSearch was evaluated on eight diverse datasets, including a Twitter graph with 1.46 billion edges.
- Efficiency through Locality: By focusing on local weight-induced subgraphs, the algorithm often processes less than 0.1% of the total graph. For some tests, the explored subgraph was as small as 0.073% of the total graph size.
- Unprecedented Speed: LocalSearch outperformed the previous state-of-the-art online algorithm,
Forward, by up to five orders of magnitude on the Orkut dataset. - Scalability: It successfully handled massive web-scale graphs in seconds or milliseconds, where previous methods often timed out or ran out of memory.
Conclusion
LocalSearch provides a robust, index-free solution for finding influential communities in dynamic, large-scale graphs. Its ability to handle ad-hoc queries with changing weights makes it a significant advancement over static index-based approaches. While it assumes pre-sorted neighbor lists for optimal performance, its instance-optimality ensures it is as efficient as any correct algorithm can be for a given input. Future work includes extending these techniques to more complex cohesiveness measures beyond $k$-core and $k$-truss.
Summary updated