API-GNN: attribute preserving oriented interactive graph neural network

Yuchen Zhou, Yanmin Shang, Yanan Cao, Qian Li, Chuan Zhou, Guandong Xu

Abstract

Graph Neural Networks (GNNs) often suffer from "attribute disturbance," where a node's unique features are diluted by its neighbors during data aggregation. We present API-GNN, a novel architecture designed to explicitly separate and then interact attribute-level and topological information. By employing a two-level attention mechanism and a subtractive topology distillation approach, API-GNN preserves node identity while leveraging graph structure. Evaluation across citation, social, and e-commerce networks demonstrates state-of-the-art performance in node classification and link prediction tasks.

Introduction: The Challenge of Attribute Disturbance

Most GNNs rely on neighborhood aggregation to learn node representations. While effective, this process faces two major hurdles: attribute disturbance and indiscriminate fusion. As GNNs iterate, a node's unique attributes can become "muddied" by its neighbors, leading to over-smoothing where nodes lose their discriminative power. Furthermore, standard models often fail to distinguish between a neighbor's intrinsic attributes and its topological position in the network.

Illustration of neighborhood aggregation and attribute disturbance in a graph.

Methodology: The API-GNN Framework

API-GNN addresses these issues by decomposing the aggregation process into three specialized modules:

  • Original Attribute Aggregation Module (AGM): This module focuses on neighbor attributes using a two-level attention mechanism. Attribute-level attention identifies specific relevant features (e.g., "price" vs. "brand"), while node-level attention weighs the influence of neighbors as a whole.
  • Topology Aggregation Module (TAM): To find "pure" topological information, the authors use a subtractive approach. They define topology as the signal remaining after the node's original attributes are accounted for. An auto-encoder is used to align high-dimensional attributes with the GNN's hidden layers.
  • Interaction Module (IM): Finally, the model explores the correlation between the distilled attribute and topological representations, fusing them to create the final node embedding for the next layer.
The API-GNN framework: separating and interacting neighborhood information and original attribute information.

Experimental Results

The model was evaluated on six real-world datasets, including citation networks (ACM, DBLP), social networks (Facebook, Google+), and e-commerce networks (Amazon, JD). API-GNN consistently outperformed strong baselines like GCN, GAT, and GraphSAGE.

Key Performance Metrics

  • Node Classification: The model improved accuracy by an average of 1.5% to 3.3% over the best-performing GNN baselines across all datasets.
  • Link Prediction: Gains were even more significant, with an average improvement of 1.8% to 9.5% in Area Under Curve (AUC) scores.
  • Robustness to Depth: Visualization using t-SNE confirmed that API-GNN maintains distinct clusters even as network depth increases, effectively resisting the over-smoothing effect that typically blurs categories in deeper GCN or GAT models.

Conclusion and Future Work

API-GNN effectively preserves node identity by explicitly modeling original attributes throughout the aggregation process. While currently optimized for homogeneous networks, the authors plan to extend this framework to handle heterogeneous graphs with multiple node types and complex edge relationships. The computational overhead introduced by two-level attention and auto-encoders remains a trade-off for the significant gains in accuracy and robustness.

Summary updated

BibTeX
@article{zhou2022api,
  author = {Yuchen Zhou and Yanmin Shang and Yanan Cao and Qian Li and Chuan Zhou and Guandong Xu},
  title = {{API-GNN: attribute preserving oriented interactive graph neural network}},
  journal = {World Wide Web},
  year = {2022},
  doi = {10.1007/s11280-021-00987-z},
}
Figure