Can We Break Fine-Grained and NP-Hardness Barriers if We've Seen the Graph Before? The Isomorphic-Priors Model

πŸ“… 2026-09-29
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This study addresses the NP-hardness and fine-grained complexity bottlenecks in graph problems arising from redundant isomorphism computations. To this end, we propose the first isomorphism prior model framework. By preprocessing historical graphs to construct prior knowledge, our approach enables rapid querying on new graphs while eliminating redundant calculations. Theoretically, this work reveals that certain NP-hard problems admit efficient solutions under specific conditions and establishes corresponding complexity lower bounds. Empirically, experiments demonstrate that multiple NP-hard problems and infinite games achieve near-linear time solutions through this framework, effectively overcoming traditional complexity barriers.
πŸ“ Abstract
If we run a heavy-duty computation on prior data, can we avoid repeated computation for similar future inputs? Inspired by this question, we introduce a new computational model for graph problems called algorithms with isomorphic priors. Solving a graph problem $Ξ $ in this model involves two phases: (i) The preprocessing phase quickly analyzes prior graphs $G_1, ..., G_k$ along with the (previously computed) exact optimal values OPT$(G_i)$. (ii) Subsequently, given a new graph H, a fast query phase must either (a) output the exact solution OPT(H), or (b) correctly report that H is not isomorphic to any $G_i$. Can we avoid computing OPT(H) from scratch when H is isomorphic to some $G_i$? We show that this is the case for a number of problems; for many others, we establish conditional lower bounds. $\textbf{(1)}$ Some NP-hard problems, including Constrained Shortest Path and $\ell_p$-Shortest Path and Constrained Spanning Tree, admit polynomial preprocessing and query times in our model. In contrast, almost all of Karp's 21 NP-complete problems and $(2-\varepsilon)$-approximate $k$-Center, for every fixed $\varepsilon>0$, admit no such algorithms unless Graph Isomorphism (GI) is in P, even with O(1) priors. $\textbf{(2)}$ In contrast to conditional $n^{3-o(1)}$ fine-grained lower bounds, our framework achieves an $O(n^Ο‰)$ query time for Negative Triangle and a near-linear query time for Replacement Path. It also achieves near-linear query time for Maximum Flow. $\textbf{(3)}$ While it remains a major open problem whether infinite-duration games (Paritiy Game, Mean Payoff Game, Energy Game, and Stochastic Game) admit polynomial-time algorithms, they can be easily solved in near-linear time within our model. Our proofs rely on a simple combination of existing tools and are accessible to readers without specialized background.
Problem

Research questions and friction points this paper is trying to address.

graph isomorphism
NP-hardness
fine-grained complexity
isomorphic priors
preprocessing
Innovation

Methods, ideas, or system contributions that make the work stand out.

Isomorphic-Priors Model
Fine-Grained Complexity
NP-Hardness
Graph Isomorphism
Preprocessing
πŸ”Ž Similar Papers
No similar papers found.
D
Dani Dorfmann
Max Planck Institute for Informatics, Saarland Informatics Campus
S
Simon DΓΆring
Max Planck Institute for Informatics, Saarland Informatics Campus
M
Martin G. Herold
Max Planck Institute for Informatics, Saarland Informatics Campus
Danupon Nanongkai
Danupon Nanongkai
Director, Max Planck Institute for Informatics
Graph AlgorithmsComplexityDynamic algorithmsdistributed algorithms
Daniel Neuen
Daniel Neuen
Max-Planck-Institute for Informatics
Theoretical Computer ScienceAlgorithms and Complexity
Joachim Spoerhase
Joachim Spoerhase
Department of Computer Science, University of Liverpool, UK
AlgorithmsCombinatorial OptimizationClusteringNetwork DesignGeometric Optimization
Z
Zihang Wu
Max Planck Institute for Informatics, Saarland Informatics Campus