Taming graph kernels with random features

04/29/2023
by   Krzysztof Choromanski, et al.
0

We introduce in this paper the mechanism of graph random features (GRFs). GRFs can be used to construct unbiased randomized estimators of several important kernels defined on graphs' nodes, in particular the regularized Laplacian kernel. As regular RFs for non-graph kernels, they provide means to scale up kernel methods defined on graphs to larger networks. Importantly, they give substantial computational gains also for smaller graphs, while applied in downstream applications. Consequently, GRFs address the notoriously difficult problem of cubic (in the number of the nodes of the graph) time complexity of graph kernels algorithms. We provide a detailed theoretical analysis of GRFs and an extensive empirical evaluation: from speed tests, through Frobenius relative error analysis to kmeans graph-clustering with graph kernels. We show that the computation of GRFs admits an embarrassingly simple distributed algorithm that can be applied if the graph under consideration needs to be split across several machines. We also introduce a (still unbiased) quasi Monte Carlo variant of GRFs, q-GRFs, relying on the so-called reinforced random walks, that might be used to optimize the variance of GRFs. As a byproduct, we obtain a novel approach to solve certain classes of linear equations with positive and symmetric matrices.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/21/2023

Quasi-Monte Carlo Graph Random Features

We present a novel mechanism to improve the accuracy of the recently-int...
research
11/25/2019

Scalable Global Alignment Graph Kernel Using Random Features: From Node Embedding to Graph Embedding

Graph kernels are widely used for measuring the similarity between graph...
research
10/08/2021

Hybrid Random Features

We propose a new class of random feature methods for linearizing softmax...
research
10/01/2016

Faster Kernels for Graphs with Continuous Attributes via Hashing

While state-of-the-art kernels for graphs with discrete labels scale wel...
research
07/16/2021

Graph Kernel Attention Transformers

We introduce a new class of graph neural networks (GNNs), by combining s...
research
10/13/2014

Propagation Kernels

We introduce propagation kernels, a general graph-kernel framework for e...
research
01/31/2023

Simplex Random Features

We present Simplex Random Features (SimRFs), a new random feature (RF) m...

Please sign up or login with your details

Forgot password? Click here to reset