Skip to main content
QUICK REVIEW

[Paper Review] Query Driven-Graph Neural Networks for Community Search: From Non-Attributed, Attributed, to Interactive Attributed

Yuli Jiang, Yu Rong|arXiv (Cornell University)|Apr 8, 2021
Advanced Graph Neural NetworksComputer Science6 citations
TL;DR

This paper proposes Query Driven-GNN (QD-GNN) and Attributed Query Driven-GNN (AQD-GNN), novel GNN models that jointly model query-dependent community structure and vertex attributes by integrating local query-aware representations with global graph embeddings and a bipartite attribute graph. AQD-GNN achieves state-of-the-art performance, improving F1-score by 6.29% over prior methods in attributed community search under interactive settings.

ABSTRACT

Given one or more query vertices, Community Search (CS) aims to find densely intra-connected and loosely inter-connected structures containing query vertices. Attributed Community Search (ACS), a related problem, is more challenging since it finds communities with both cohesive structures and homogeneous vertex attributes. However, most methods for the CS task rely on inflexible pre-defined structures and studies for ACS treat each attribute independently. Moreover, the most popular ACS strategies decompose ACS into two separate sub-problems, i.e., the CS task and subsequent attribute filtering task. However, in real-world graphs, the community structure and the vertex attributes are closely correlated to each other. This correlation is vital for the ACS problem. In this paper, we propose Graph Neural Network models for both CS and ACS problems, i.e., Query Driven-GNN and Attributed Query Driven-GNN. In QD-GNN, we combine the local query-dependent structure and global graph embedding. In order to extend QD-GNN to handle attributes, we model vertex attributes as a bipartite graph and capture the relation between attributes by constructing GNNs on this bipartite graph. With a Feature Fusion operator, AQD-GNN processes the structure and attribute simultaneously and predicts communities according to each attributed query. Experiments on real-world graphs with ground-truth communities demonstrate that the proposed models outperform existing CS and ACS algorithms in terms of both efficiency and effectiveness. More recently, an interactive setting for CS is proposed that allows users to adjust the predicted communities. We further verify our approaches under the interactive setting and extend to the attributed context. Our method achieves 2.37% and 6.29% improvements in F1-score than the state-of-the-art model without attributes and with attributes respectively.

Motivation & Objective

  • To address the limitations of existing community search methods that rely on rigid, pre-defined subgraph patterns (e.g., k-core, k-truss), which fail to capture flexible, query-dependent community structures.
  • To overcome the attribute irrelevance problem in attributed community search, where attributes are treated independently rather than modeling their implicit correlations.
  • To eliminate the two-stage decomposition of community search into structure and attribute filtering, which decouples structure cohesiveness and attribute homogeneity.
  • To develop a unified, end-to-end GNN framework that jointly optimizes for structural cohesion and attribute homogeneity in response to user queries.
  • To extend the proposed models to interactive community search, enabling user feedback refinement and improving adaptability in real-world applications.

Proposed method

  • QD-GNN combines a query-driven component with global graph embeddings, using a query-dependent attention mechanism to generate localized community representations without retraining.
  • AQD-GNN models vertex attributes as a bipartite graph between vertices and attributes, enabling GNNs to learn relational dependencies among attributes.
  • A Feature Fusion operator integrates the structural representation from the main graph and the attribute representation from the bipartite graph into a unified embedding space.
  • The model uses a threshold-based constrained BFS on the output logits to convert continuous scores into discrete community sets, with γ tuned on validation data.
  • The framework is extended to interactive community search by integrating with ICS-GNN, allowing iterative refinement based on user feedback.
  • Model training uses a cross-entropy loss on predicted community membership, with hyperparameters (dropout, learning rate, epoch count) tuned via ablation.

Experimental results

Research questions

  • RQ1Can a GNN-based model jointly optimize for structural cohesion and attribute homogeneity in community search without relying on pre-defined subgraph patterns?
  • RQ2How can implicit correlations between attributes be effectively modeled to improve attributed community search quality?
  • RQ3Does end-to-end joint learning of structure and attributes outperform the conventional two-stage approach of structure-first then attribute-filtering?
  • RQ4Can the proposed GNN models be effectively extended to interactive community search, where user feedback refines results?
  • RQ5How sensitive are the model’s performance and generalization to hyperparameters such as threshold γ, training set size, and dropout rate?

Key findings

  • AQD-GNN achieves a 6.29% improvement in F1-score over the state-of-the-art method in attributed community search under interactive settings.
  • The model shows robustness to threshold γ, with stable performance across a wide range (0.3–0.7), indicating low sensitivity to hyperparameter tuning.
  • Performance improves significantly when training set size increases from 50 to 100, but stabilizes beyond 100, suggesting diminishing returns after moderate data size.
  • The model converges within 200 epochs and maintains stable performance with dropout rates from 0.1 to 0.7, with optimal performance at 0.5.
  • Ablation studies confirm that joint learning of structure and attributes yields superior results compared to decoupled approaches, validating the model’s design.
  • The proposed framework outperforms existing methods in both efficiency and effectiveness across multiple real-world graphs with ground-truth communities.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.