General Random Walk kernels (RWK) take O(
This repo is the official implementation of "Optimal Time Complexity Algorithms for Computing General Random Walk Graph Kernels on Sparse Graphs"
git clone https://github.com/arijitthegame/efficient_random_walk_kernel.git
cd efficient_random_walk_kernel
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
pip3 install -e . --userAll code resides in the src folder. We have provided the following :
baseline_methods: Various methods to compute the RWK kernel mainly code copied from various repos like GraKelgvoys: Implementation of the proposed GVoy methodgraph_classification: example usage of GVoy for graph classifcation on MUTAG but the dataset can be changed to use any dataset from TUDataset
If you find our work useful, please cite :
@inproceedings{
choromanski2025optimal,
title={Optimal Time Complexity Algorithms for Computing General Random Walk Graph Kernels on Sparse Graphs},
author={Krzysztof Marcin Choromanski and Isaac Reid and Kumar Avinava Dubey and Arijit Sehanobish},
booktitle={The 28th International Conference on Artificial Intelligence and Statistics},
year={2025},
url={https://openreview.net/forum?id=NF1WK6BTRZ}
}
