Metric Graph Kernels via the Tropical Torelli Map
Yueqi Cao, Anthea Monod
TL;DR
This work addresses the limitation of conventional graph kernels by introducing geometry-based similarity measures for metric graphs using the tropical Torelli map, which embeds a graph's metric structure into a symmetric positive definite matrix $Q(G)$. It proposes two refinement-invariant kernels, the Tropical Torelli--Euclidean (TTE) and Tropical Torelli--Wasserstein (TTW) kernels, defined on the PSD space and using either the Frobenius norm or the Bures-Wasserstein distance with a closed-form expression for $W^2(Q_1,Q_2)$. A practical algorithm to compute $Q(G)$ via a minimal spanning tree and cycle basis yields a unique representation under generic edge lengths, with complexity scaling with the graph genus $g$ as $O(g n (g + \, ext{log} ))$. Empirical results on synthetic data, 23 benchmark datasets, and urban road networks show the proposed kernels outperform competing label-free kernels and demonstrate robustness on geometric graph data. This framework blends tropical geometry and information geometry to produce geometry-aware graph similarities applicable to real-world networks such as urban road systems, where edge refinements should not alter the underlying space.
Abstract
We propose new graph kernels grounded in the study of metric graphs via tropical algebraic geometry. In contrast to conventional graph kernels that are based on graph combinatorics such as nodes, edges, and subgraphs, our graph kernels are purely based on the geometry and topology of the underlying metric space. A key characterizing property of our construction is its invariance under edge subdivision, making the kernels intrinsically well-suited for comparing graphs that represent different underlying spaces. We develop efficient algorithms for computing these kernels and analyze their complexity, showing that it depends primarily on the genus of the input graphs. Empirically, our kernels outperform existing methods in label-free settings, as demonstrated on both synthetic and real-world benchmark datasets. We further highlight their practical utility through an urban road network classification task.
