Abstract
Graph Kernel Neural Networks (GKNN) introduce a novel architecture that replaces standard message-passing with a "Graph Kernel Convolution" (GKC) operator. By comparing local subgraphs to learnable "structural masks" using graph kernels, the model achieves higher expressive power than standard GNNs while offering a level of interpretability similar to convolutional filters in traditional computer vision.
Introduction
Most modern Graph Neural Networks (GNNs) rely on message passing, where nodes iteratively aggregate features from their neighbors. While successful, this approach is limited by the 1-Weisfeiler-Lehman (1-WL) graph isomorphism test, preventing them from distinguishing certain non-isomorphic structures like triangles versus simple paths. Furthermore, GNNs often lack interpretability, making it difficult to understand the structural patterns learned. GKNNs aim to bridge the gap between traditional graph kernels and deep learning by treating small, learnable subgraphs as convolutional filters.
Methods: Graph Kernel Convolution
The core innovation is the Graph Kernel Convolution (GKC) layer. Instead of learning a weight matrix, the GKC layer learns a set of "structural masks"—essentially small, learnable subgraphs treated as probability distributions over edges and node labels.
For every node in an input graph, the model extracts a local neighborhood and computes its similarity to the learned masks using a graph kernel (e.g., Weisfeiler-Lehman or Graphlet kernel). To handle the discrete nature of graphs, the authors employ an importance sampling strategy to estimate gradients, allowing for end-to-end differentiable training. A Jensen-Shannon Divergence (JSD) loss is also introduced to ensure learned masks remain distinct and non-redundant.
Key Insights and Expressivity
A standard convolution in an image CNN is a dot product (linear kernel) between a patch and a filter. By using a graph kernel to compare subgraphs, GKNNs apply this fundamental logic to the graph domain. This allows the model to go beyond 1-WL; for instance, a mask representing a triangle can explicitly detect cycles that simple message-passing might miss. Because the filters are actual subgraphs, they can be visualized, providing a clear path toward "Explainable AI" in fields like drug discovery.
Experimental Results and Interpretability
GKNN was evaluated on standard benchmarks including bioinformatics (MUTAG, PROTEINS), social networks (IMDB), and molecular regression (ZINC).
The model achieved state-of-the-art performance on the ZINC regression task (MAE of 0.364) and the PROTEINS dataset. On classification tasks like MUTAG (85.73%), it matched or outperformed popular models like GIN. Crucially, the learned filters are visualizable. In synthetic tests, the model successfully "re-discovered" target motifs like wheels or cliques, demonstrating that the masks converge to meaningful structural patterns.
Conclusion
While GKNNs face challenges with "small-world" social graphs and currently focus on categorical labels, they represent a significant step toward interpretable and expressive graph learning. Future work will explore continuous feature integration and more optimized GPU implementations for the kernel gradient estimation.
Summary updated