Distinguishing Graphs by Counting Homomorphisms from Sparse Graphs
Daniel Neuen, Tim Seppelt
TL;DR
This work investigates when two graphs are indistinguishable by homomorphism counts from a restricted graph class $\mathcal{F}$, i.e., $G \equiv_{\mathcal{F}} H$, and how this relates to isomorphism. It develops a robust combinatorial toolkit based on oddomorphisms and separator/clique-sum arguments to prove homomorphism distinguishing closedness for a wide range of sparse classes, and proves a pair of infinite hierarchies (genus and vortex-free Hadwiger number) with strict refinements, separating these from isomorphism. The authors establish the weak Roberson conjecture for all vortex-free minor-closed classes (e.g., bounded-genus graphs) while showing negative results beyond minor exclusions, such as exclusions of a topological minor. They also provide structural results for deletion/elimination distances and outerplanar/forest families, connecting to practical implications for graph neural networks and counting-based isomorphism relaxations. Overall, the paper clarifies the landscape of sparsity-based homomorphism indistinguishability, highlighting both the power and limits of these relaxations for isomorphism testing and related computational questions.
Abstract
Lovász (1967) showed that two graphs $G$ and $H$ are isomorphic if, and only if, they are homomorphism indistinguishable over all graphs, i.e., $G$ and $H$ admit the same number of number of homomorphisms from every graph $F$. Subsequently, a substantial line of work studied homomorphism indistinguishability over restricted graph classes. For example, homomorphism indistinguishability over minor-closed graph classes $\mathcal{F}$ such as the class of planar graphs, the class of graphs of treewidth $\leq k$, pathwidth $\leq k$, or treedepth $\leq k$, was shown to be equivalent to quantum isomorphism and equivalences with respect to counting logic fragments, respectively. Via such characterisations, the distinguishing power of e.g. logical or quantum graph isomorphism relaxations can be studied with graph-theoretic means. In this vein, Roberson (2022) conjectured that homomorphism indistinguishability over every graph class excluding some minor is not the same as isomorphism. We prove this conjecture for all vortex-free graph classes. In particular, homomorphism indistinguishability over graphs of bounded Euler genus is not the same as isomorphism. As a negative result, we show that Roberson's conjecture fails when generalised to graph classes excluding a topological minor. Furthermore, we show homomorphism distinguishing closedness for several graph classes including all topological-minor-closed and union-closed classes of forests, and show that homomorphism indistinguishability over graphs of genus $\leq g$ (and other parameters) forms a strict hierarchy.
