On Filter Size in Graph Convolutional Networks

Dinh Van Tran, Nicolò Navarin, Alessandro Sperduti

Introduction

Graph Neural Networks (GNNs) have become a standard for learning on graph-structured data. However, unlike traditional Convolutional Neural Networks (CNNs) in computer vision, standard GNNs lack a simple hyper-parameter to control the "receptive field" or filter size of a single layer. Most architectures rely on 1-hop neighborhoods, requiring deep stacking of layers to capture long-range dependencies, which often leads to issues like over-smoothing and optimization difficulties.

Parametric Graph Convolutions (PGC)

To address this limitation, the authors propose Parametric Graph Convolutions (PGC). This method introduces a tunable filter size $r$, analogous to the kernel size in image-based CNNs. By defining receptive fields based on shortest-path distances, PGC allows a single layer to aggregate information from nodes multiple steps away.

Parametric Graph Convolution (PGC) with tunable receptive field size $r$.

The PGC approach involves three key components:

  1. Shortest-Path Matrices: Instead of a single adjacency matrix, PGC utilizes matrices $SP^j$ representing node pairs at an exact shortest-path distance $j$.
  2. Distance-Specific Weights: The model learns distinct weight matrices for each distance $j \in \{0, \dots, r\}$.
  3. Concatenation: Contributions from different distances are concatenated rather than summed. This "network-in-network" philosophy preserves structural nuances and allows the network to explicitly distinguish between local and distant features.

This layer is integrated into the DGCNN (Deep Graph Convolutional Neural Network) framework, which utilizes a "SortPooling" layer to transform graphs of varying sizes into fixed-size representations suitable for standard convolutional layers.

Experimental Results

The proposed PGC-DGCNN (with $r=2$) was evaluated across eight benchmark datasets spanning bioinformatics and social networks. The results demonstrate that increasing the filter size significantly enhances performance over standard 1-hop models.

Comparison of PGC-DGCNN ($r=2$) against graph kernels and the baseline DGCNN.

Key findings include:

  • Improvement over Baseline: PGC-DGCNN consistently outperformed the standard DGCNN ($r=1$). For instance, on the MUTAG dataset, accuracy rose from 85.83% to 87.22%.
  • Outperforming Graph Kernels: The model surpassed traditional kernels like Weisfeiler-Lehman (WL) and Propagation Kernels (PK) on most datasets, particularly on MUTAG and PROTEINS, where the improvement over the best kernel was as high as 3.11%.
  • Competitive Performance: Compared to other deep learning architectures like PSCN and DCNN, PGC-DGCNN achieved state-of-the-art or highly competitive results in the majority of test cases, showing a significant lead on social network datasets like COLLAB.

Conclusion

By introducing a tunable filter size through shortest-path distances and feature concatenation, PGC provides a more flexible and expressive framework for graph representation learning. This approach effectively mitigates the limitations of 1-hop convolutions without the immediate need for excessively deep architectures. Future work will explore higher values of $r$ and fully graph-convolutional designs that avoid fully-connected layers entirely.

Summary updated

BibTeX
@inproceedings{tran2018filter,
  author = {Dinh Van Tran and Nicolò Navarin and Alessandro Sperduti},
  title = {{On Filter Size in Graph Convolutional Networks}},
  booktitle = {SSCI},
  year = {2018},
  doi = {10.1109/ssci.2018.8628758},
}
Figure