TL;DR
This paper introduces "Attribute-Driven Community Search" (ATC), a novel approach to finding communities in attributed graphs that balances structural density with attribute homogeneity. They propose an efficient greedy algorithm and an indexing structure to tackle this NP-hard problem, demonstrating superior performance over existing methods on real-world datasets.
What Problem Does This Paper Address?
Traditional community search algorithms excel at identifying densely connected groups of nodes in a graph. However, in many real-world applications like social networks, collaboration platforms, or biological networks, nodes also possess attributes (e.g., expertise, interests, functions). Existing methods often ignore these attributes, leading to communities that are structurally sound but lack attribute coherence. This can result in communities that are difficult to interpret or less meaningful. The authors aim to bridge this gap by developing a community search method that explicitly considers both the structural connectivity of nodes and the similarity of their attributes. They want to find communities that are not only densely interconnected but also composed of members with similar characteristics, especially concerning user-defined query attributes.
Methods
The core of the paper lies in 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 builds upon the established "k-truss" notion (a subgraph where every edge is part of at least k-2 triangles). The (k, d)-truss adds a constraint on the query distance (d), ensuring that all nodes in the community are relatively close to the query nodes. This combines structural cohesiveness with proximity to the query.
- Attribute Score Function: This function quantifies how well a community covers and correlates with the query attributes (Wq). It's designed to:
- Reward communities that cover more query attributes.
- Favor communities where attributes are shared by more members (homogeneity).
- Penalize communities with many irrelevant nodes (nodes without query attributes).
- Algorithmic Framework:
- Basic Greedy Algorithm: This algorithm starts by finding a maximal (k, d)-truss and then iteratively removes nodes with the lowest "attribute score contribution" until no further removals are possible while maintaining the (k, d)-truss property. The best community found during this process is returned.
- Improved Greedy Algorithm (BULK): To address efficiency and quality issues, BULK uses "attribute marginal gain" (considering the impact of removing a node on the overall score) and a "bulk deletion" strategy (removing a percentage of nodes at once) to speed up the process.
- Index-Based Search Algorithm (LocATC): For very large graphs, LocATC builds an "Attributed Truss Index" (ATindex) that stores structural and attribute information. It then uses this index to efficiently find a local subgraph around query nodes, expand it, and finally apply the BULK algorithm.
Datasets
The authors evaluated their methods on seven real-world datasets:
- PPI network (Krogan 2006): From BioGRID, focusing on yeast protein-protein interactions with biological process, molecular function, and cellular component attributes. Ground-truth communities are known protein complexes.
- Facebook ego-networks: 10 ego-networks with anonymized profile attributes and overlapping "friendship circles" as ground-truth communities.
- Web graphs (Cornell, Texas): From university websites, partitioned into groups (course, faculty, student, etc.) with vertex attributes derived from webpage content.
- Amazon, DBLP, Youtube, LiveJournal, Orkut: These networks were augmented with synthetic attributes to test performance on larger scales.
Key Insights and Ideas
- Attribute Homogeneity Matters: The paper strongly argues that ignoring node attributes leads to less meaningful communities. Their experiments show that communities with similar attributes are often more informative, especially in biological and social contexts.
- Balancing Density and Attributes is Crucial: There's a trade-off: denser subgraphs might be less attribute-homogeneous, and vice-versa. The ATC model and its score function are designed to strike this balance.
- (k, d)-truss is a Powerful Structure: Combining the dense connectivity of k-trusses with a bounded query distance provides a robust structural foundation for communities.
- Attribute Score Function Design is Key: The proposed score function's principles (coverage, homogeneity, irrelevance penalty) are critical for effectively measuring community quality in an attributed context.
- Greedy Approaches Can Be Effective (with caveats): While the problem is NP-hard, their greedy algorithms (Basic and BULK) provide efficient ways to find good ATC solutions. The BULK algorithm's bulk deletion strategy significantly improves efficiency.
- Indexing is Essential for Scalability: For massive graphs, the ATindex and the LocATC algorithm are crucial for making attribute-driven community search practical.
Key Results
- Superior Quality: LocATC consistently achieved higher F1-scores than existing methods (ACC, MDC, LCTC) on networks with real-world attributes, demonstrating the effectiveness of the ATC model.
- Efficiency: LocATC was significantly faster than MDC and LCTC, especially on larger networks and with multiple query nodes. While ACC-Q1 was sometimes faster for single queries, LocATC's ability to handle multiple query nodes and its overall quality made it a strong contender.
- Scalability: The ATindex construction and LocATC algorithm showed good scalability, with index construction times comparable to k-truss index construction, enabling efficient query processing.
- Parameter Sensitivity: Experiments showed that LocATC's performance is relatively stable across different parameter settings (ε, γ, η), indicating robustness.
- Bad Query Handling: The framework demonstrated an ability to identify and handle "bad queries" more efficiently, often returning quickly with no results or suggesting better query formulations.
Limitations and Future Work
- NP-Hardness: The core ATC problem is NP-hard, meaning finding the absolute optimal solution is computationally intractable for large graphs. The proposed algorithms are greedy and aim for good approximations.
- Attribute Score Function Properties: The attribute score function is non-monotone, non-submodular, and non-supermodular. This complexity makes designing efficient approximation algorithms challenging.
- Future Work: The authors suggest exploring attribute-driven community search in heterogeneous graphs, edge-weighted graphs, and with weighted query attributes. They also mention the potential for further optimization of the indexing and query processing mechanisms.
Summary updated