Papers
Topics
Authors
Recent
Search
2000 character limit reached

Homomorphism-Indistinguishability

Updated 11 July 2026
  • Homomorphism-indistinguishability is an equivalence relation that compares graphs via equal homomorphism counts from chosen test graph classes, including examples such as planar and bounded-treewidth graphs.
  • Closure properties and maximality criteria link this concept to both logical characterizations and relaxations like quantum isomorphism and SDP hierarchies, providing structural insight.
  • Efficient algorithmic strategies and complexity analyses demonstrate its impact on finite model theory, showcasing randomized and deterministic approaches in graph isomorphism testing.

Homomorphism-indistinguishability is the equivalence relation obtained by fixing a class F\mathcal F of test graphs and requiring equality of all homomorphism counts from F\mathcal F: two graphs G,HG,H are indistinguishable over F\mathcal F when hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H) for every FFF\in\mathcal F. This reformulates Lovász’s homomorphism-count characterization of isomorphism as a general schema and has become a unifying language for graph isomorphism, quantum isomorphism, cospectrality, counting-logic equivalences, and several SDP hierarchies (Seppelt, 2023, Seppelt, 2024, Seppelt et al., 12 May 2025).

1. Fundamental definition and canonical examples

For graphs F,GF,G, a graph homomorphism is a vertex map preserving edges, and hom(F,G)\hom(F,G) denotes the number of such maps. Given a graph class F\mathcal F, the associated equivalence relation is

GFHhom(F,G)=hom(F,H) for all FF.G \equiv_{\mathcal F} H \quad\Longleftrightarrow\quad \hom(F,G)=\hom(F,H)\ \text{for all }F\in\mathcal F.

The fundamental starting point is Lovász’s theorem: F\mathcal F0 A major strengthening due to Dvořák says that it already suffices to test against all F\mathcal F1-degenerate graphs (Jiménez et al., 9 Feb 2026).

Representative test classes already yield several standard equivalence relations.

Test class F\mathcal F2 Induced equivalence Representative source
All graphs Isomorphism Lovász
Planar graphs Quantum isomorphism Mančinska–Roberson
Bounded-treewidth graphs F\mathcal F3- / WL-type equivalence Dvořák and successors
Tree-depth-F\mathcal F4 graphs F\mathcal F5-equivalence Grohe
GHW-F\mathcal F6 hypergraphs F\mathcal F7-equivalence Hypergraph generalization

These examples show that homomorphism-indistinguishability is not a single invariant but a parameterized family of invariants indexed by test classes. In particular, restricting the source class weakens the relation in ways that often match logical, spectral, quantum, or optimization-theoretic relaxations (Kar et al., 2024, Grohe, 2020, Scheidt et al., 2023).

2. Closure operators, maximality, and distinguishing closedness

A central structural notion is the homomorphism distinguishing closure

F\mathcal F8

This is the largest graph class inducing the same indistinguishability relation as F\mathcal F9. A class is homomorphism distinguishing closed if G,HG,H0. Equivalently, adding any graph outside G,HG,H1 strictly refines the induced equivalence relation (Seppelt, 2023).

The general closure theory identifies exact correspondences between graph-class closure properties and preservation properties of the induced equivalence relation.

Closure property of G,HG,H2 Preservation property of G,HG,H3
taking minors complements
taking summands disjoint unions
taking subgraphs full complements
taking induced subgraphs left lexicographic products
contracting edges right lexicographic products

For homomorphism distinguishing closed classes, minor-closedness is equivalent to preservation under complements (Seppelt, 2023). This yields a structural explanation for the persistent role of minor-closed classes in the subject.

Roberson’s maximality program fits naturally into this framework. For bounded treewidth, the classes G,HG,H4 of graphs of tree-width at most G,HG,H5 are homomorphism-distinguishing closed for all G,HG,H6, confirming Roberson’s conjecture for this family (Neuen, 2023). A different route uses oddomorphisms: if a family is closed under disjoint unions, restrictions to connected components, and weak oddomorphisms, then it is homomorphism distinguishing closed. This criterion yields, among other consequences, that for every fixed G,HG,H7, homomorphism indistinguishability over graphs of maximum degree at most G,HG,H8 is strictly weaker than isomorphism, and the bounded-degree class is already maximal for its induced relation (Roberson, 2022).

3. Logical characterizations

One of the main reasons the subject became central in finite model theory is that several counting logics admit exact homomorphism-count semantics.

For bounded treewidth, Dvořák’s theorem identifies G,HG,H9-variable counting logic with homomorphism counts from bounded-treewidth graphs. In later formulations, F\mathcal F0-WL indistinguishability coincides with homomorphism indistinguishability over graphs of treewidth at most F\mathcal F1 (Seppelt, 2024). For bounded quantifier rank, Grohe proved that graphs satisfy the same sentences of first-order logic with counting of quantifier rank at most F\mathcal F2 if and only if they are homomorphism-indistinguishable over the class of all graphs of tree depth at most F\mathcal F3 (Grohe, 2020).

The combined width/depth fragment F\mathcal F4 requires a more delicate test class. The class F\mathcal F5 of graphs admitting a F\mathcal F6-pebble forest cover of depth F\mathcal F7 yields the exact characterization

F\mathcal F8

This class is strictly smaller than F\mathcal F9 when hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)0 is sufficiently larger than hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)1, and that structural separation lifts to a strict separation of the corresponding indistinguishability relations (Fluck et al., 2023).

A further structural theorem states that if a self-complementary logic admits any homomorphism-count characterization at all, then it already admits one over a minor-closed graph class. This makes minor-closed classes canonical carriers of a large family of logical equivalences (Seppelt, 2023).

The same program extends to hypergraphs. Two hypergraphs satisfy the same hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)2-sentences if and only if they are homomorphism indistinguishable over hypergraphs of generalised hypertree width at most hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)3 (Scheidt et al., 2023). For bounded guard depth, the correct parameter is strict hypertree depth: two hypergraphs satisfy the same hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)4-sentences of guard depth at most hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)5 if and only if they are homomorphism indistinguishable over hypergraphs of strict hypertree depth at most hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)6 (Scheidt, 2024). This is the hypergraph analogue of the tree-depth characterization for graphs.

4. Quantum isomorphism, easy quantum groups, and SDP hierarchies

A particularly influential instance is the planar case: hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)7 where hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)8 is the class of planar graphs. Thus quantum isomorphism is exactly homomorphism indistinguishability over planar graphs (Kar et al., 2024). This result initiated a large part of the modern development.

The quantum-group perspective generalizes this phenomenon. For each orthogonal easy quantum group, one obtains a graph equivalence relation hom(F,G)=hom(F,H)\hom(F,G)=\hom(F,H)9 and a graph class FFF\in\mathcal F0 such that

FFF\in\mathcal F1

In this way, the earlier planar characterization of quantum isomorphism becomes one row in a broader correspondence between easy quantum groups, partition categories, and homomorphism-indistinguishability relations (Seppelt et al., 12 May 2025).

Optimization hierarchies admit analogous descriptions. For every integer FFF\in\mathcal F2, there is a minor-closed graph class FFF\in\mathcal F3 of treewidth at most FFF\in\mathcal F4 such that feasibility of the FFF\in\mathcal F5-th level of the Lasserre hierarchy for graph isomorphism is equivalent to homomorphism indistinguishability over FFF\in\mathcal F6; similarly, the version with non-negativity constraints is characterized by a class FFF\in\mathcal F7 (Roberson et al., 2023). Analyzing the treewidth of these classes yields the comparison result that the FFF\in\mathcal F8 level of Sherali–Adams is as strong as the FFF\in\mathcal F9 level of Lasserre, and that F,GF,G0 cannot be lowered to F,GF,G1 (Roberson et al., 2023).

There is also a quantum analogue for the NPA hierarchy. Each level of the NPA SDP relaxation for quantum isomorphism is equivalent to homomorphism indistinguishability over an appropriate class F,GF,G2 of planar graphs. The union of these classes is the set of all planar graphs, which recovers the planar characterization of quantum isomorphism and yields a randomized polynomial-time algorithm for deciding exact feasibility of each fixed level (Kar et al., 2024).

5. Algorithms and complexity

For a fixed class F,GF,G3, the decision problem F,GF,G4 asks whether two input graphs are homomorphism indistinguishable over F,GF,G5. The general algorithmic picture is highly nonuniform.

A major positive result is the meta-theorem that F,GF,G6 admits a randomized polynomial-time algorithm for every graph class F,GF,G7 of bounded treewidth that is definable in F,GF,G8. In the uniform version, where the F,GF,G9-sentence and the treewidth bound are part of the input, the problem is randomized fixed-parameter tractable for fixed hom(F,G)\hom(F,G)0, with runtime hom(F,G)\hom(F,G)1 (Seppelt, 2024). For bounded pathwidth classes, the same framework yields a deterministic polynomial-time algorithm (Seppelt, 2024).

Subsequent work sharpened the pathwidth bound dramatically: for every recognisable graph class of bounded pathwidth, hom(F,G)\hom(F,G)2, and this is tight because there exists a fixed hom(F,G)\hom(F,G)3-definable bounded-pathwidth class whose indistinguishability problem is hom(F,G)\hom(F,G)4-complete (Černý et al., 15 Dec 2025). In the bounded-treewidth regime, the same work relates the problem to multiplicity tree automata and polynomial identity testing: for some fixed bounded-treewidth class, hom(F,G)\hom(F,G)5, multiplicity tree automata equivalence, and PIT are logspace many-one interreducible, so a general derandomization would imply PIT hom(F,G)\hom(F,G)6 (Černý et al., 15 Dec 2025).

The negative side is equally important. When the width parameter is part of the input, deciding hom(F,G)\hom(F,G)7-WL indistinguishability is coNP-hard (Seppelt, 2024). More broadly, the complexity of hom(F,G)\hom(F,G)8 ranges from logspace-type classes through randomized polynomial time to undecidable cases, with planar graphs providing a prominent undecidable example through their equivalence with quantum isomorphism (Černý et al., 15 Dec 2025, Kar et al., 2024).

6. Limits, counterexamples, and current frontiers

Recent work has shown that the failure of restricted homomorphism counts to characterize isomorphism is not confined to the original minor-closed examples. For every proper immersion-closed and union-closed class hom(F,G)\hom(F,G)9, there exist non-isomorphic graphs F\mathcal F0 such that

F\mathcal F1

This extends the earlier bounded-degree result and shows that the “special role” of minor-closed classes, if any, is shared by a much larger family (Jiménez et al., 9 Feb 2026).

Sparse graph theory provides a parallel frontier. For every F\mathcal F2, there exist non-isomorphic graphs that are homomorphism indistinguishable over all graphs of vortex-free Hadwiger number at most F\mathcal F3. In particular, for every genus bound F\mathcal F4, homomorphism indistinguishability over graphs of genus F\mathcal F5 is not the same as isomorphism, and these genus-based relations form a strict hierarchy (Neuen et al., 26 Jan 2026).

At the same time, several natural generalizations fail. The minor-closed intuition does not extend naively to topological-minor-closed classes. Two graphs are isomorphic if and only if they are homomorphism indistinguishable over all graphs excluding F\mathcal F6 as a topological minor, so the restricted relation can collapse back to full isomorphism (Neuen et al., 26 Jan 2026). The 2026 immersion result also states that the natural topological-minor analogue cannot hold, due to a result of Neuen and Seppelt (Jiménez et al., 9 Feb 2026).

A different limitation comes from finite model theory and categorical semantics. Invertible-map equivalences F\mathcal F7 cannot be characterized as homomorphism indistinguishability relations for F\mathcal F8, neither with ordinary counting in F\mathcal F9 nor with modular counting. Consequently, there is no finite-rank comonad on graphs whose co-Kleisli isomorphisms characterize IM-equivalence (Lichter et al., 2023). This establishes a precise boundary: homomorphism-indistinguishability captures a large class of graph equivalences, but not all natural linear-algebraic refinements.

Taken together, these results place homomorphism-indistinguishability at the intersection of graph structure theory, finite model theory, quantum symmetries, and optimization. The subject is now organized around three recurrent questions: which test classes characterize a given equivalence, which classes are maximal for their induced relation, and where the framework provably stops.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Homomorphism-Indistinguishability.