[Paper Review] Counting Homomorphisms to Trees Modulo a Prime
This paper establishes a dichotomy theorem for counting graph homomorphisms to trees modulo a prime p: for any prime p and tree H, the problem #pHomsToH is either computable in polynomial time or #pP-complete. The tractable cases occur precisely when the order-p reduced form of H is a star, generalizing earlier results for modulo 2 and suggesting that such dichotomies extend to all primes, not just p=2.
Many important graph theoretic notions can be encoded as counting graph homomorphism problems, such as partition functions in statistical physics, in particular, independent sets and colourings. In this article we study the complexity of $\#_p\mathsf{H}$OMS$\mathsf{T}$O$H$, the problem of counting graph homomorphisms from an input graph to a graph $H$ modulo a prime number $p$. Dyer and Greenhill proved a dichotomy stating that the tractability of non-modular counting graph homomorphisms depends on the structure of the input graph. Many intractable cases in non-modular counting become tractable in modular counting due to the common phenomenon of cancellation. However, in subsequent studies on counting modulo $2$ the influence, the structure of $H$ has on the tractability, was shown to persist, yielding similar dichotomies. Our main result shows that for every tree $H$ and every prime $p$ the problem $\#_p\mathsf{H}$OMS$\mathsf{T}$O$H$ is either polynomial time computable or $\#_p\mathsf{P}$-complete. This addresses the conjecture of Faben and Jerrum stating this dichotomy for every graph $H$ when counting modulo 2. In order to prove this result, we study the structural properties of a homomorphism. As an important interim, this study yields a dichotomy for the problem of weighted counting independent sets in a bipartite graph modulo some prime $p$. Our results are the first suggesting that such dichotomies hold not only for the one-bit functions of the modulo~2 case but for the modular counting functions of all primes $p$.
Motivation & Objective
- To determine the computational complexity of counting graph homomorphisms from an input graph G to a fixed tree H modulo a prime p.
- To extend the known dichotomy for modular counting modulo 2 to all primes p.
- To investigate whether the tractable cases for #pHomsToH depend on the structure of H and the prime p.
- To prove that for trees H, the problem is either in FP modulo p or #pP-complete, with tractability determined by the order-p reduced form of H.
- To establish a dichotomy for counting weighted independent sets in bipartite graphs modulo p, as a key intermediate result.
Proposed method
- The authors use the concept of the order-p reduced form H∗p of a graph H, defined via automorphisms of order p, to reduce the complexity of #pHomsToH to that of #pHomsToH∗p.
- They prove that #pHomsToH is tractable if and only if H∗p is a star, using reductions from #pBISλℓ,λr (weighted independent sets in bipartite graphs modulo p).
- A three-phase reduction is employed: from #pSAT to #pBISλℓ,λr, then to #pPartLabHomsToH (a labeled version), and finally to #pHomsToH.
- The proof overcomes technical challenges for p > 2 by generalizing techniques originally developed for p = 2, particularly in handling symmetries and cancellations in modular arithmetic.
- The authors use the Chinese Remainder Theorem to analyze composite moduli, showing that #kHomsToH is not always tractable when #pHomsToH is, even for prime powers.
- A counterexample is constructed: #2HomsToP4 is tractable, but #4HomsToP4 is #2P-hard, showing that tractability does not lift from p to p^r.
Experimental results
Research questions
- RQ1For which trees H and primes p is the problem #pHomsToH computable in polynomial time?
- RQ2Does the dichotomy for #2HomsToH (as conjectured by Faben and Jerrum) extend to all primes p?
- RQ3What structural property of H determines tractability in #pHomsToH modulo p?
- RQ4Is there a uniform characterization of tractable cases across all primes p when H is a tree?
- RQ5How does the complexity of #kHomsToH behave for composite k, especially when k is a prime power?
Key findings
- For every prime p and every tree H, #pHomsToH is either in FP modulo p or #pP-complete, establishing a full dichotomy.
- The problem is tractable if and only if the order-p reduced form H∗p of H is a star, providing a structural characterization.
- The tractable cases for trees are essentially the same across all primes p, unlike in non-modular counting where structure dependence is more complex.
- A dichotomy is established for counting weighted independent sets in bipartite graphs modulo p: #pBISλℓ,λr is tractable iff λℓ ≡ 0 or λr ≡ 0 mod p, and #pP-complete otherwise.
- The paper constructs a counterexample showing that #2HomsToP4 is tractable while #4HomsToP4 is #2P-hard, proving that tractability modulo p does not imply tractability modulo p^r.
- The results suggest that the Faben-Jerrum conjecture for p=2 may generalize to all primes p, though this remains unproven.
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.