Abstract
Graph Convolutional Neural Networks (GCNNs) are the most recent exciting advancement in the deep learning field, and their applications are quickly spreading across multi-cross-domains including bioinformatics, chemoinformatics, social networks, natural language processing, and computer vision. In this paper, we expose and tackle some of the basic weaknesses of a GCNN model with a capsule idea and propose our Graph Capsule Network (GCAPS-CNN) model. In addition, we design our GCAPS-CNN model to solve the graph classification problem, which current GCNN models find challenging. Through extensive experiments, we show that our proposed Graph Capsule Network can significantly outperform both existing state-of-the-art deep learning methods and graph kernels on graph classification benchmark datasets.
Introduction
Standard Graph Convolutional Neural Networks (GCNNs) have become the standard for learning on non-Euclidean data. However, existing GCNN architectures face critical bottlenecks, particularly in graph classification tasks where the goal is to predict a label for an entire graph rather than individual nodes. These bottlenecks include significant information loss during neighborhood aggregation, difficulties in maintaining permutation invariance efficiently, and a limited ability to capture global topological structures without excessive network depth.
This paper introduces Graph Capsule Convolutional Neural Networks (GCAPS-CNN), a novel architecture that replaces standard scalar-based aggregation with "capsules" that capture higher-order statistical moments. By combining these informative capsules with a covariance-based permutation invariant layer and global spectral features, the model achieves state-of-the-art performance across diverse datasets.
Methodology
The GCAPS-CNN architecture addresses the limitations of traditional GCNNs through three primary innovations:
Graph Capsules
Inspired by capsule networks, the authors replace the scalar output of a standard convolution with a capsule vector. In a typical GCNN, two very different neighborhoods could result in the same average value, leading to information loss. GCAPS-CNN instead stores higher-order statistical moments—such as mean, standard deviation, and skewness—of the local neighborhood features. This allows the model to "remember" the shape of the feature distribution rather than just its average.
Covariance Invariant Layer
To ensure the model's output remains the same regardless of node ordering (isomorphism), the authors compute the covariance matrix of the final layer's features. Covariance is naturally independent of the order of nodes, providing a richer, permutation-invariant representation than simple global sum-pooling by capturing correlations between different features across the graph.
Global Feature Integration
To overcome the local bias of GCNN filters, the model explicitly incorporates Family of Graph Spectral Distances (FGSD) features. These global descriptors, based on the graph's Laplacian spectrum, ensure the model considers the overall graph topology even in shallower layers, rather than relying solely on deep stacks of local convolutions.
Experimental Evaluation
The model was evaluated on two distinct categories of benchmarks:
- Bioinformatics: Datasets such as NCI1, PROTEINS, and ENZYMES, where local arrangements of atoms are vital.
- Social Networks: Datasets like COLLAB and IMDB-BINARY, which are typically larger and rely more on global structural patterns.
Key Results
GCAPS-CNN consistently outperformed existing deep learning models (like PSCN and DGCNN) and traditional graph kernels (like Weisfeiler-Lehman).
- Bioinformatics: On the NCI1 dataset, GCAPS-CNN achieved 82.72% accuracy, a significant improvement over the previous state-of-the-art of approximately 76%.
- Social Networks: On the COLLAB dataset, it reached 77.71%, outperforming other deep learning methods by 4-5%.
- Robustness: Unlike many models that specialize in either bio-data or social-data, GCAPS-CNN demonstrated robust performance across both domains.
Conclusion and Future Work
GCAPS-CNN demonstrates that higher-order statistical moments provide a more descriptive "fingerprint" for graph neighborhoods than simple aggregation. While the current model uses a fixed set of moments, future work may explore more sophisticated attention mechanisms (similar to dynamic routing in original Capsule Nets) to manage feature dimensions. Additionally, the authors suggest exploring kernel density estimation to create even more descriptive capsule functions in future iterations.
Summary updated