Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Graph Kernels Based on Linear Patterns: Theoretical and Experimental Comparisons

Linlin Jia 1 Benoit Gaüzère 1 Paul Honeine 1
1 DocApp - LITIS - Equipe Apprentissage
LITIS - Laboratoire d'Informatique, de Traitement de l'Information et des Systèmes
Abstract : Graph kernels are powerful tools to bridge the gap between machine learning and data encoded as graphs. Most graph kernels are based on the decomposition of graphs into a set of patterns. The similarity between two graphs is then deduced from the similarity between corresponding patterns. Kernels based on linear patterns constitute a good trade-off between accuracy performance and computational complexity. In this work, we propose a thorough investigation and comparison of graph kernels based on different linear patterns, namely walks and paths. First, all these kernels are explored in detail, including their mathematical foundations, structures of patterns and computational complexity. Then, experiments are performed on various benchmark datasets exhibiting different types of graphs, including labeled and unlabeled graphs, graphs with different numbers of vertices, graphs with different average vertex degrees, cyclic and acyclic graphs. Finally, for regression and classification tasks, performance and computational complexity of kernels are compared and analyzed, and suggestions are proposed to choose kernels according to the types of graph datasets. This work leads to a clear comparison of strengths and weaknesses of these kernels. An open-source Python library containing an implementation of all discussed kernels is publicly available on GitHub to the community, thus allowing to promote and facilitate the use of graph kernels in machine learning problems.
Complete list of metadatas

Cited literature [35 references]  Display  Hide  Download
Contributor : Paul Honeine <>
Submitted on : Friday, March 1, 2019 - 3:56:20 PM
Last modification on : Friday, May 15, 2020 - 12:00:03 PM
Long-term archiving on: : Thursday, May 30, 2019 - 3:54:56 PM


2019:03:01 Graph_Kernels_on_Li...
Files produced by the author(s)


  • HAL Id : hal-02053946, version 1


Linlin Jia, Benoit Gaüzère, Paul Honeine. Graph Kernels Based on Linear Patterns: Theoretical and Experimental Comparisons. 2019. ⟨hal-02053946⟩



Record views


Files downloads