Skip to content

Repository files navigation

CCP-GNN: Competitive Covariance Pooling for Improving Graph Neural Networks

Introduction

Graph neural networks (GNNs) have advanced performance of many graph-related tasks, especially graph classification. For GNNs, a global pooling is usually used to generate final graph representations by summarizing node features, which is critical to graph classification. Most of existing GNNs are built with a global average pooling or its variants, which however, take no full consideration of node specificity while neglecting rich statistics inherent in node features, limiting classification performance of GNNs. To address above issues, this paper proposes a novel Competitive Covariance Pooling (CCP) based on observation of graph structure.

The contributions of our work are concludedas three-fold:

  1. We propose a CCP-GNN architecture for graph classification, whose core is an effective Competitive Covariance Pooling (CCP) embedded in the end of GNNs to produce powerful global graph representations by considering node specificity, feature correlation, and geometry of covariances;
  2. To our best knowledge, our CCP makes the first attempt to explore powerful, node-level second-order representations to learn node weights in a competitive manner, which shows a good ability to discover key nodes;
  3. Extensive experiments are conducted on seven benchmarks using various GNNs show that our CCP outperforms its counterparts while CCP-GNN achieves state-of-the-art performance

CCP-GNN Figure

Requirement

CUDA-VERSION: 11.3
torch: 1.10.1
torch-geometry: 2.0.1
ogb: 1.3.1
torch-scatter
rdkit
matlibplot

Reproduce

For HIV-dataset:

python main_ogbg.py --config configs/ogbg-molhiv-ccp-sr1-128-2-32-gin.json

For PCBA-dataset:

python main_ogbg.py --config configs/ogbg-molpcba-ccp-sr1-128-64-32-gin.json

Citation

@article{ccpgnn,
  author       = {Pengfei Zhu, Jialu Li, Zhe Dong, Qinghua Hu, Xiao Wang, and Qilong Wang},
  title        = {CCP-GNN: Competitive Covariance Pooling for Improving Graph Neural Networks},
  journal      = {{IEEE} Trans. Neural Networks Learn. Syst.},
  volume       = {1},
  number       = {1},
  pages        = {1--12},
  year         = {2024},
}

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages