Attribute-Driven Community Search

Xin Huang, Laks V. S. Lakshmanan

TL;DR

This paper introduces "Attribute-Driven Community Search" (ACS), a new problem that finds communities in graphs where nodes have attributes, focusing on both dense connections and attribute homogeneity. They propose the "Attributed Truss Community" (ATC) model and develop efficient algorithms and an indexing structure to tackle this NP-hard problem, outperforming existing methods on real-world datasets.

What Problem Does This Paper Address?

Traditional community detection and search algorithms in graphs often overlook node attributes, leading to communities that are structurally dense but lack attribute coherence. Imagine a social network where people collaborate on projects; simply finding groups of frequent collaborators might miss the fact that these groups are composed of individuals with vastly different expertise. This paper addresses the need to find communities that are not only densely interconnected but also exhibit a high degree of attribute similarity among their members, making them more meaningful and interpretable. They specifically tackle the challenge of finding communities that contain a given set of query nodes and cover a specified set of query attributes.

Methods

The core of this paper is the introduction of the Attributed Truss Community (ATC) model. This model combines two key concepts:

  • (k, d)-truss: A novel subgraph definition that is a connected k-truss (a subgraph where every edge is part of at least k-2 triangles) with a bounded query distance (d) from the query nodes. This ensures both structural cohesiveness and proximity to the query.
  • Attribute Score Function: A function designed to measure how well a subgraph covers and correlates query attributes. It prioritizes attributes present in more nodes and penalizes irrelevant nodes.

To find ATCs, they propose several algorithmic frameworks:

  • Top-Down Greedy Algorithm: This approach starts with a maximal (k, d)-truss and iteratively removes nodes with the least attribute score contribution, maintaining the (k, d)-truss property.
  • Improved Greedy Algorithm (BULK): This algorithm uses "attribute marginal gain" (considering the impact of removing a node on the overall score and potential cascade effects) and a "bulk deletion" strategy (removing a percentage of nodes at once) for improved efficiency and quality.
  • Index-Based Query Processing (LocATC): This method builds an "attributed-truss index" (ATindex) to speed up queries. It constructs a local neighborhood subgraph around query nodes using an "attributed Steiner tree" and then applies the BULK algorithm. This approach is designed for efficient querying on large graphs.

Datasets

The authors evaluated their algorithms on nine real-world networks:

  • Real Attributes: Krogan (PPI network), Facebook ego-networks, Cornell, and Texas (web graphs).
  • Synthetic Attributes: Amazon, DBLP, Youtube, LiveJournal, and Orkut. For these, they generated attributes by assigning random integers to nodes and then selecting specific attributes for communities to simulate ground-truth.

Key Insights and Ideas

  • Attribute Homogeneity Matters: Simply finding dense subgraphs isn't enough; attribute similarity within a community significantly enhances its interpretability and usefulness.
  • Tension Between Density and Homogeneity: Densely connected subgraphs might not always be the most attribute-homogeneous, and vice-versa. The ATC model aims to balance these.
  • NP-Hardness of the Problem: The core problem of finding an ATC is proven to be NP-hard, necessitating the development of efficient approximation algorithms.
  • Non-Monotonicity of Attribute Score: The attribute score function is neither submodular nor supermodular, making it challenging to design simple greedy or approximation algorithms. This complexity drives the need for more sophisticated approaches like marginal gain and look-ahead strategies.
  • Importance of Local Exploration: The LocATC algorithm demonstrates that focusing on a local neighborhood around query nodes, guided by attribute trussness, can efficiently find high-quality communities.

Key Results

  • Superior Quality: The proposed LocATC algorithm consistently achieved higher F1-scores than state-of-the-art methods (ACC, MDC, LCTC) on networks with real and synthetic attributes, indicating better community detection accuracy.
  • Efficiency Gains: LocATC significantly outperformed other methods in terms of query time, especially on larger networks and with multiple query nodes. For instance, it was up to two orders of magnitude faster than MDC and LCTC on Facebook ego-networks.
  • Handling Multiple Query Nodes: LocATC's ability to handle multiple query nodes simultaneously (unlike ACC which was adapted to single-node queries for comparison) led to better results.
  • Parameter Sensitivity: The algorithms showed robustness across various parameter settings, with LocATC performing well even when attribute homogeneity was moderate.

Limitations and Future Work

  • NP-Hardness: The inherent NP-hardness of the problem means that finding the absolute optimal ATC is computationally infeasible for large graphs. The proposed algorithms are approximations.
  • Attribute Score Function Design: While they propose a specific attribute score function, they note that other functions satisfying their desiderata could be used, suggesting flexibility but also an area for further exploration.
  • Parameter Tuning: Although they provide auto-setting mechanisms for some parameters (k, d), fine-tuning might still be necessary for optimal performance in specific scenarios.
  • Handling "Bad Queries": The paper briefly mentions handling queries that don't yield meaningful communities, suggesting this as an area for further research and experimentation.
  • Scalability: While LocATC is efficient, further optimizations for extremely large-scale graphs or dynamic networks might be explored.

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