Graph kernel explained

In structure mining, a graph kernel is a kernel function that computes an inner product on graphs.[1] Graph kernels can be intuitively understood as functions measuring the similarity of pairs of graphs. They allow kernelized learning algorithms such as support vector machines to work directly on graphs, without having to do feature extraction to transform them to fixed-length, real-valued feature vectors. They find applications in bioinformatics, in chemoinformatics (as a type of molecule kernels[2]), and in social network analysis.[1]

Concepts of graph kernels have been around since the 1999, when D. Haussler[3] introduced convolutional kernels on discrete structures. The term graph kernels was more officially coined in 2002 by R. I. Kondor and J. Lafferty[4] as kernels on graphs, i.e. similarity functions between the nodes of a single graph, with the World Wide Web hyperlink graph as a suggested application. In 2003, Gärtner et al.[5] and Kashima et al.[6] defined kernels between graphs. In 2010, Vishwanathan et al. gave their unified framework.[1] In 2018, Ghosh et al. [7] described the history of graph kernels and their evolution over two decades.

Applications

The marginalized graph kernel has been shown to allow accurate predictions of the atomization energy of small organic molecules.[8]

Example Kernels

An example of a kernel between graphs is the random walk kernel,[5] [6] which conceptually performs random walks on two graphs simultaneously, then counts the number of paths that were produced by both walks. This is equivalent to doing random walks on the direct product of the pair of graphs, and from this, a kernel can be derived that can be efficiently computed.[1]

Another examples is the Weisfeiler-Leman graph kernel[9] which computes multiple rounds of the Weisfeiler-Leman algorithm and then computes the similarity of two graphs as the inner product of the histogram vectors of both graphs. In those histogram vectors the kernel collects the number of times a color occurs in the graph in every iteration. Note that the Weisfeiler-Leman kernel in theory has an infinite dimension as the number of possible colors assigned by the Weisfeiler-Leman algorithm is infinite. By restricting to the colors that occur in both graphs, the computation is still feasible.

See also

Notes and References

  1. Graph kernels. S.V. N. Vishwanathan. Nicol N. Schraudolph. Risi Kondor. Karsten M. Borgwardt. Journal of Machine Learning Research. 11. 1201–1242. 2010.
  2. L. Ralaivola . S. J. Swamidass . H. Saigo . P. Baldi . Graph kernels for chemical informatics . Neural Networks . 2005 . 18 . 8 . 1093–1110 . 10.1016/j.neunet.2005.07.009. 16157471 .
  3. Book: Haussler, David. Convolution Kernels on Discrete Structures. 1999. 10.1.1.110.638.
  4. Diffusion Kernels on Graphs and Other Discrete Input Spaces. Risi Imre Kondor. John Lafferty. Proc. Int'l Conf. on Machine Learning (ICML). 2002.
  5. On graph kernels: Hardness results and efficient alternatives. Thomas Gärtner. Peter A. Flach. Stefan Wrobel. Proc. the 16th Annual Conference on Computational Learning Theory (COLT) and the 7th Kernel Workshop. 2003. 10.1007/978-3-540-45167-9_11.
  6. Marginalized kernels between labeled graphs. Hisashi Kashima. Koji Tsuda. Akihiro Inokuchi. Proc. the 20th International Conference on Machine Learning (ICML). 2003.
  7. Ghosh. Swarnendu. Das. Nibaran. Gonçalves. Teresa. Quaresma. Paulo. Kundu. Mahantapas. The journey of graph kernels through two decades. Computer Science Review. 27. 88–111. 10.1016/j.cosrev.2017.11.002. 2018.
  8. Prediction of atomization energy using graph kernel and active learning. Yu-Hang Tang. Wibe A. de Jong. The Journal of Chemical Physics. 150. 4. 044107. 2019. 10.1063/1.5078640. 30709286. 1810.07310. 2019JChPh.150d4107T.
  9. Shervashidze, Nino, et al. "Weisfeiler-lehman graph kernels." Journal of Machine Learning Research 12.9 (2011).