The Complexity of Homomorphism Reconstructibility

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 reconstructibility 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.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Computation Theory
Published
2025-08-18
DOI
https://doi.org/10.1145/3762196
Primary Topic
Computability, Logic, AI Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Complexity of Homomorphism Reconstructibility

Louis Härtel, Christoph Standke, Tim Seppelt, Jan Böker et al.
ACM Transactions on Computation Theory
Computability, Logic, AI Algorithms
article

The Complexity of Homomorphism Reconstructibility

Louis Härtel, Christoph Standke, Tim Seppelt, Jan Böker, Nina Runde
article en

Abstract

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 reconstructibility 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.

ACM Transactions on Computation TheoryVol. 18(1)
Center for Discrete Mathematics and Theoretical Computer Science (US), IT University of Copenhagen (DK)
European Commission, Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 78%
Computability, Logic, AI Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.