English

Nearly Optimal Time Bounds for kPath in Hypergraphs

Data Structures and Algorithms 2019-02-20 v2

Abstract

We give almost tight conditional lower bounds on the running time of the kHyperPath problem. Given an rr-uniform hypergraph for some integer rr, kHyperPath seeks a tight path of length kk. That is, a sequence of kk nodes such that every consecutive rr of them constitute a hyperedge in the graph. This problem is a natural generalization of the extensively-studied kPath problem in graphs. We show that solving kHyperPath in time O(2(1γ)k)O^*(2^{(1-\gamma)k}) where γ>0\gamma>0 is independent of rr is probably impossible. Specifically, it implies that Set Cover on nn elements can be solved in time O(2(1δ)n)O^*(2^{(1 - \delta)n}) for some δ>0\delta>0. The only known lower bound for the kPath problem is 2Ω(k)poly(n)2^{\Omega(k)} poly(n) where nn is the number of nodes assuming the Exponential Time Hypothesis (ETH), and finding any conditional lower bound with an explicit constant in the exponent has been an important open problem. We complement our lower bound with an almost tight upper bound. Formally, for every integer r3r\geq 3 we give algorithms that solve kHyperPath and kHyperCycle on rr-uniform hypergraphs with nn nodes and mm edges in time 2kmpoly(n)2^k m \cdot poly(n) and 2km2poly(n)2^k m^2 poly(n) respectively, and that is even for the directed version of these problems. To the best of our knowledge, this is the first algorithm for kHyperPath. The fastest algorithms known for kPath run in time 2kpoly(n)2^k poly(n) for directed graphs (Williams, 2009), and in time 1.66kpoly(n)1.66^k poly(n) for undirected graphs (Bj\"orklund \etal, 2014).

Keywords

Cite

@article{arxiv.1803.04940,
  title  = {Nearly Optimal Time Bounds for kPath in Hypergraphs},
  author = {Lior Kamma and Ohad Trabelsi},
  journal= {arXiv preprint arXiv:1803.04940},
  year   = {2019}
}
R2 v1 2026-06-23T00:51:58.717Z