[Paper Review] An Algorithmic Meta Theorem for Homomorphism Indistinguishability
This paper presents a randomized polynomial-time algorithm for deciding homomorphism indistinguishability over any graph class F of bounded treewidth that is definable in counting monadic second-order logic (CMSO2). By leveraging Courcelle’s theorem and finite-dimensional homomorphism tensors in graph algebras, the authors establish that such problems are in coRP, providing the first general tractability result for homomorphism indistinguishability beyond isolated cases.
Two graphs $G$ and $H$ are homomorphism indistinguishable over a family of graphs $\mathcal{F}$ if for all graphs $F \in \mathcal{F}$ the number of homomorphisms from $F$ to $G$ is equal to the number of homomorphism from $F$ to $H$. Many natural equivalence relations comparing graphs such as (quantum) isomorphism, cospectrality, and logical equivalences can be characterised as homomorphism indistinguishability relations over various graph classes. For a fixed graph class $\mathcal{F}$, the decision problem HomInd($\mathcal{F}$) asks to determine whether two input graphs $G$ and $H$ are homomorphism indistinguishable over $\mathcal{F}$. The problem HomInd($\mathcal{F}$) is known to be decidable only for few graph classes $\mathcal{F}$. We show that HomInd($\mathcal{F}$) admits a randomised polynomial-time algorithm for every graph class $\mathcal{F}$ of bounded treewidth which is definable in counting monadic second-order logic CMSO2. Thereby, we give the first general algorithm for deciding homomorphism indistinguishability. This result extends to a version of HomInd where the graph class $\mathcal{F}$ is specified by a CMSO2-sentence and a bound $k$ on the treewidth, which are given as input. For fixed $k$, this problem is randomised fixed-parameter tractable. If $k$ is part of the input then it is coNP- and coW[1]-hard. Addressing a problem posed by Berkholz (2012), we show coNP-hardness by establishing that deciding indistinguishability under the $k$-dimensional Weisfeiler--Leman algorithm is coNP-hard when $k$ is part of the input.
Motivation & Objective
- To address the long-standing open problem of determining when homomorphism indistinguishability is decidable and tractable.
- To generalize known tractable cases—such as bounded treewidth and Weisfeiler–Leman indistinguishability—into a unifying algorithmic framework.
- To resolve a question posed by Berkholz (2012) by proving coNP-hardness of Weisfeiler–Leman indistinguishability when k is part of the input.
- To provide a necessary and sufficient condition for decidability of HomInd(F) in terms of bounded treewidth and CMSO2-definability.
- To explore the boundary between decidable and undecidable homomorphism indistinguishability relations, particularly in minor-closed graph classes.
Proposed method
- The method relies on Courcelle’s graph algebras, which represent graphs using labeled operations such as series and parallel composition.
- Homomorphism tensors are used to track the number of homomorphisms from labeled graphs in the algebra, forming finite-dimensional representations when treewidth is bounded.
- Recognisability via CMSO2-definable graph classes ensures that the algebraic structure can be effectively computed and manipulated.
- The algorithm uses randomized verification to check whether two graphs G and H yield identical homomorphism counts across all F ∈ F, leveraging the finite-dimensionality of the tensor space.
- A reduction from the Clique problem establishes coNP-hardness of Weisfeiler–Leman indistinguishability when k is part of the input.
- The proof uses Chinese remaindering techniques to efficiently verify tensor equivalence over finite fields, ensuring correctness with bounded error.
Experimental results
Research questions
- RQ1Is there a general algorithmic condition under which homomorphism indistinguishability over a graph class F is decidable and tractable?
- RQ2Can the tractability of homomorphism indistinguishability be extended beyond specific cases like bounded treewidth or Weisfeiler–Leman equivalence?
- RQ3What is the precise complexity of deciding homomorphism indistinguishability when the parameter k (e.g., for k-dimensional Weisfeiler–Leman) is part of the input?
- RQ4Is bounded treewidth a necessary condition for HomInd(F) to be decidable, especially in minor-closed graph classes?
- RQ5Can the connection between finite-dimensional homomorphism tensors and graph algebras be used to characterize the decidability frontier of HomInd(F)?
Key findings
- HomInd(F) is in coRP for every graph class F that is k-recognisable and has treewidth at most k−1, providing the first general randomized polynomial-time algorithm for homomorphism indistinguishability.
- The result holds for all graph classes definable in CMSO2 with bounded treewidth, including trees of bounded degree, k-outerplanar graphs, and bounded branchwidth graphs.
- The problem remains coNP-hard when k is part of the input, even for the k-dimensional Weisfeiler–Leman indistinguishability problem.
- The proof establishes that finite-dimensional homomorphism tensors suffice to capture indistinguishability when the number of labels (or treewidth) is bounded, formalizing an intuition from prior work.
- A parametrized version of HomInd with input (G, H, ϕ, k) is fixed-parameter tractable when k is fixed, but becomes coW[1]-hard when k is part of the input.
- The paper resolves an open question from [37] by affirmatively showing that homomorphism indistinguishability over Lasserre hierarchy-relevant graph classes is decidable under bounded treewidth.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.