[Paper Review] RetGK: Graph Kernels based on Return Probabilities of Random Walks
This paper proposes RetGK, a novel graph kernel framework based on return probabilities of random walks, which effectively captures node structural roles and integrates both discrete and continuous node attributes. It achieves state-of-the-art performance in graph classification with significant gains in accuracy and computational efficiency, especially on large-scale graphs.
Graph-structured data arise in wide applications, such as computer vision, bioinformatics, and social networks. Quantifying similarities among graphs is a fundamental problem. In this paper, we develop a framework for computing graph kernels, based on return probabilities of random walks. The advantages of our proposed kernels are that they can effectively exploit various node attributes, while being scalable to large datasets. We conduct extensive graph classification experiments to evaluate our graph kernels. The experimental results show that our graph kernels significantly outperform existing state-of-the-art approaches in both accuracy and computational efficiency.
Motivation & Objective
- Address the challenge of designing isomorphism-invariant graph kernels that effectively capture topological structure and node attributes.
- Overcome the diagonal dominance issue in substructure-based graph kernels by avoiding decomposition into small subgraphs.
- Enable efficient computation on large graphs by leveraging approximate feature maps and tensor representations.
- Unify the treatment of attributed and non-attributed graphs within a single kernel framework using return probability features.
- Achieve high accuracy and scalability in graph classification across diverse benchmark datasets with various attribute types.
Proposed method
- Introduce the Return Probability Feature (RPF) as a node-level structural descriptor based on the probability of a random walk returning to its starting node after S steps.
- Prove that RPF is isomorphism-invariant and encodes rich topological information, enabling Hilbert space embedding of graphs.
- Construct the RetGK_I kernel by comparing the distributions of RPFs across nodes in two graphs using a positive definite kernel.
- Apply approximate explicit feature maps to represent each graph as a multi-dimensional tensor, enabling efficient computation.
- Derive RetGK_II as a computationally efficient variant using Monte Carlo sampling to approximate the RPFs, reducing computational cost.
- Use tensor-based operations to compute the kernel efficiently, enabling scalability to large graphs with millions of nodes.
Experimental results
Research questions
- RQ1Can return probabilities of random walks serve as an effective and isomorphism-invariant structural descriptor for graph nodes?
- RQ2How can return probability features be used to embed graphs into a Hilbert space for kernel-based learning?
- RQ3Can the proposed kernel framework handle both discrete and continuous node attributes in a unified manner?
- RQ4How does the performance of RetGK compare to state-of-the-art graph kernels in terms of accuracy and computational efficiency?
- RQ5What is the sensitivity of the proposed method to hyperparameters such as walk length and feature map dimensions?
Key findings
- RetGK_I and RetGK_II achieve state-of-the-art classification accuracy on 21 benchmark datasets, with RetGK_II outperforming all baselines on datasets like REDDIT-BINARY and PROTEINS.
- On the REDDIT-BINARY dataset, RetGK_II achieves 91.6% accuracy, significantly outperforming the Weisfeiler-Lehman kernel (68.2%) and the PSCN kernel (86.3%).
- RetGK_II (MC) runs in 6 minutes and 9 seconds on REDDIT-BINARY, which is nearly an order of magnitude faster than the Weisfeiler-Lehman subtree kernel.
- The method shows robust performance across a wide range of hyperparameters, with consistent accuracy across different values of S, D₀, and D_c, as shown in the sensitivity analysis.
- On the large PROTEINS dataset, RetGK_II achieves 75.2% accuracy with a total training time of only 49.9 seconds, outperforming DGK (75.7%) and PSCN (75.0%) with significantly less time.
- For datasets with both discrete and continuous attributes, such as BZR and COX2, RetGK_II achieves 87.1% and 81.4% accuracy respectively, surpassing GIK and CSM methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.