[Paper Review] The Complexity of Homomorphism Reconstructibility
This paper investigates the computational complexity of the homomorphism reconstructibility problem—determining whether a given vector of homomorphism counts corresponds to some finite graph G. It establishes that the problem is NP#P-hard, even under restricted settings such as bounded treewidth or finite input graph sets, and provides fixed-parameter tractable (FPT) algorithms for specific parameterized variants, including single-graph and subgraph-counting cases.
Representing graphs by their homomorphism counts has led to the beautiful theory of homomorphism indistinguishability in recent years. Moreover, homomorphism counts have promising applications in database theory and machine learning, where one would like to answer queries or classify graphs solely based on the representation of a graph $G$ as a finite vector of homomorphism counts from some fixed finite set of graphs to $G$. We study the computational complexity of the arguably most fundamental computational problem associated to these representations, the homomorphism reconstructability problem: given a finite sequence of graphs and a corresponding vector of natural numbers, decide whether there exists a graph $G$ that realises the given vector as the homomorphism counts from the given graphs. We show that this problem yields a natural example of an $\mathsf{NP}^{#\mathsf{P}}$-hard problem, which still can be $\mathsf{NP}$-hard when restricted to a fixed number of input graphs of bounded treewidth and a fixed input vector of natural numbers, or alternatively, when restricted to a finite input set of graphs. We further show that, when restricted to a finite input set of graphs and given an upper bound on the order of the graph $G$ as additional input, the problem cannot be $\mathsf{NP}$-hard unless $\mathsf{P} = \mathsf{NP}$. For this regime, we obtain partial positive results. We also investigate the problem's parameterised complexity and provide fpt-algorithms for the case that a single graph is given and that multiple graphs of the same order with subgraph instead of homomorphism counts are given.
Motivation & Objective
- To formally define and analyze the computational complexity of the homomorphism reconstructibility problem, where a graph G must be reconstructed from a vector of homomorphism counts.
- To determine whether a given finite sequence of graphs and associated natural number counts can be realized as homomorphism counts from some graph G.
- To explore parameterized complexity regimes where efficient algorithms may exist, particularly when the input graph set is finite or when constraints on graph order are imposed.
- To distinguish between arithmetic and constructive algorithmic approaches to the problem and assess their computational feasibility.
- To provide FPT algorithms for special cases, such as single-graph inputs and subgraph-counting variants with fixed-order graphs.
Proposed method
- Formalizing the homomorphism reconstructibility problem (HomRec(F, G)) as a decision problem: given graphs F₁,…,Fₘ and counts h₁,…,hₘ, does there exist a graph G such that hom(Fᵢ, G) = hᵢ for all i?
- Proving NP#P-hardness by reduction from known hard counting problems, showing computational hardness persists even with bounded treewidth or finite input sets.
- Using inclusion-exclusion and degree-based combinatorial identities to relate subgraph counts to homomorphism counts, particularly for triangles and 3-sets of vertices.
- Applying FPT techniques to solve parameterized variants: for single graphs, and for multiple graphs of the same order using subgraph instead of homomorphism counts.
- Leveraging results from integer linear programming in fixed-parameter tractability, particularly the FPT solvability of p-IntegerLinearEquations.
- Constructing explicit families of graphs (via trees and their complements) to realize intermediate homomorphism counts and close gaps in achievable values.
Experimental results
Research questions
- RQ1Is the homomorphism reconstructibility problem NP#P-hard, even under restricted input conditions such as bounded treewidth or finite input graph sets?
- RQ2Can the problem be solved in fixed-parameter tractable (FPT) time when the input graph set is finite and an upper bound on the order of G is provided?
- RQ3What is the computational distinction between arithmetic algorithms (using number-theoretic reasoning) and constructive algorithms (explicitly building G) in this context?
- RQ4For which parameterized restrictions (e.g., single graph input, fixed-order multiple graphs) does the problem admit efficient FPT algorithms?
- RQ5Can the set of realizable homomorphism count vectors be fully characterized, and what are the structural constraints on such vectors?
Key findings
- The homomorphism reconstructibility problem is NP#P-hard, even when restricted to a fixed number of input graphs of bounded treewidth and a fixed input vector of natural numbers.
- When restricted to a finite input set of graphs and given an upper bound on the order of G, the problem cannot be NP-hard unless P = NP.
- For the case of a single input graph, the problem admits an FPT algorithm parameterized by the size of the input graph.
- For multiple graphs of the same order with subgraph counts instead of homomorphism counts, an FPT algorithm exists, leveraging the FPT solvability of p-IntegerLinearEquations.
- The paper constructs explicit graph families (via trees and their complements) to realize all intermediate values of triangle subgraph counts, proving completeness in the range up to $\binom{n}{3}$.
- A key identity is established: $\text{sub}(\bullet, G) = \binom{n}{3} - \text{sub}(\bullet, G)(n-2) + \sum_{v \in V(G)} \binom{\deg_G(v)}{2} - \text{sub}(\bullet, G)$, which enables precise control over achievable counts.
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.