Attribute-Driven Community Search

Xin Huang, Laks V. S. Lakshmanan

TL;DR

This paper introduces "Attribute-Driven Community Search" (ATC), a novel approach to finding communities in graphs that considers both the structural connectivity of nodes and their attributes. It addresses the limitation of existing methods that ignore attributes, leading to less meaningful communities. The proposed ATC model and algorithms efficiently discover communities that are both densely connected and attribute-homogeneous, outperforming prior methods in quality and efficiency.

What Problem Does This Paper Address?

In many real-world networks, like social networks or protein-protein interaction networks, nodes have associated attributes (e.g., user interests, protein functions). Traditional community detection and search algorithms primarily focus on the graph's structure (how nodes are connected) and often overlook these attributes. This can lead to communities that are structurally dense but attribute-wise diverse, making them less interpretable and useful for tasks requiring attribute homogeneity. For instance, finding a group of friends (community) who all share a specific interest (attribute) is more valuable than just finding a group of friends who happen to know each other. This paper aims to bridge this gap by developing a community search framework that explicitly incorporates both structural density and attribute similarity.

Methods

The core of this work is the Attributed Truss Community (ATC) model. This model defines a community as a (k, d)-truss that maximizes an attribute score function.

  • ** (k, d)-truss:** This is a novel concept that combines the notion of a k-truss (a subgraph where every edge is part of at least k-2 triangles) with a query distance constraint (d). This ensures both structural cohesiveness (high k) and proximity to query nodes (low d).
  • Attribute Score Function: This function quantifies how well a community covers and correlates with the query attributes. It's designed to reward communities that have more query attributes, and where those attributes are shared by more nodes. It also penalizes communities with many irrelevant nodes.
  • Algorithms:
    • Basic Greedy Algorithm: This algorithm iteratively removes nodes with the lowest attribute score contribution from an initial (k, d)-truss until no further improvement is possible.
  • Improved Greedy Algorithm (BULK): This algorithm enhances the basic approach by using "attribute marginal gain" (considering the impact of node removal on attribute score) and a "bulk deletion" strategy (removing a percentage of nodes at once) to improve efficiency and quality.
  • Index-Based Search Algorithm (LocATC): This approach builds an "Attributed Truss Index" (ATindex) to efficiently process queries. It first identifies a local neighborhood around query nodes and then applies the BULK algorithm.

Datasets

The authors evaluated their methods on seven real-world datasets:

  • PPI network (Krogan 2006): Protein-protein interaction data with biological process, molecular function, and cellular component attributes.
  • Facebook ego-networks: 10 networks with anonymized user profile attributes.
  • Web graphs (Cornell, Texas): Representing webpages, with attributes derived from words in webpages.
  • Amazon, DBLP, Youtube, LiveJournal, Orkut: Large networks where synthetic attributes were generated to simulate scenarios with real-world attributes.

Key Insights and Ideas

  • Attribute Homogeneity Matters: The paper strongly emphasizes that ignoring node attributes leads to less meaningful communities. Communities with similar attributes are often more interpretable and predictive.
  • Trade-off between Density and Homogeneity: There's an inherent tension between structural density and attribute homogeneity. Denser subgraphs might be less attribute-homogeneous, and vice-versa. The ATC model aims to strike a balance.
  • Limitations of Simple Filtering: Simply filtering nodes based on query attributes before running a standard community search is insufficient, as it can miss important "bridge" nodes that connect attribute-rich nodes.
  • The Power of (k, d)-Trusses: Combining k-trusses with a query distance constraint provides a robust structural foundation for communities.
  • Non-Monotonicity of Attribute Scores: The attribute score function is not always monotonic (adding a node can decrease the score), which makes finding the optimal community challenging and necessitates sophisticated algorithms.
  • Efficient Indexing is Crucial: For large-scale graphs, an efficient index (ATindex) is vital for fast query processing.

Key Results

  • Superior Quality: The proposed LocATC algorithm consistently achieved higher F1-scores (a measure of community quality) compared to state-of-the-art methods like ACC, MDC, and LCTC on networks with both real and synthetic attributes.
  • Efficiency Gains: LocATC demonstrated significant efficiency improvements, often running orders of magnitude faster than other methods, especially on larger networks and with multiple query nodes.
  • Scalability: The ATindex and LocATC algorithm showed good scalability, with running times increasing gracefully with network size and query complexity.
  • Robustness: The algorithms performed well across various datasets and parameter settings, demonstrating their general applicability.

Limitations and Future Work

  • NP-Hardness: The core ATC problem is proven to be NP-hard, meaning exact solutions for very large graphs are computationally infeasible. The paper focuses on efficient approximation algorithms.
  • Attribute Score Function Properties: The attribute score function is neither submodular nor supermodular, which limits the applicability of standard optimization techniques.
  • Future Work: The authors suggest exploring attributed community search over heterogeneous graphs, edge-weighted graphs, and with weighted query attributes. They also mention the potential for further improvements in query formulation and handling of "bad" queries.

Summary updated

BibTeX
@article{huang2017attribute,
  author = {Xin Huang and Laks V. S. Lakshmanan},
  title = {{Attribute-Driven Community Search}},
  journal = {Proc. VLDB Endow.},
  year = {2017},
  doi = {10.14778/3099622.3099626},
}
Figure