[Paper Review] Exact Weight Subgraphs and the k-Sum Conjecture
This paper establishes tight conditional lower bounds for the Exact-Weight-$H$ problem—finding a subgraph $H$ with total edge weight exactly zero—in edge-weighted graphs, showing that solving it faster than $O(n^{ ceil k/2 ceil})$ would refute the $k$-sum conjecture. It proves that problems like Exact-Weight-$k$-path, $k$-matching, and $k$-star are as hard as $k$-sum, and improving algorithms for any of them would break fundamental complexity barriers for $3$-sum, All-Pairs Shortest Paths, and other core problems.
We consider the Exact-Weight-H problem of finding a (not necessarily induced) subgraph H of weight 0 in an edge-weighted graph G. We show that for every H, the complexity of this problem is strongly related to that of the infamous k-Sum problem. In particular, we show that under the k-Sum Conjecture, we can achieve tight upper and lower bounds for the Exact-Weight-H problem for various subgraphs H such as matching, star, path, and cycle. One interesting consequence is that improving on the O(n^3) upper bound for Exact-Weight-4-Path or Exact-Weight-5-Path will imply improved algorithms for 3-Sum, 5-Sum, All-Pairs Shortest Paths and other fundamental problems. This is in sharp contrast to the minimum-weight and (unweighted) detection versions, which can be solved easily in time O(n^2). We also show that a faster algorithm for any of the following three problems would yield faster algorithms for the others: 3-Sum, Exact-Weight-3-Matching, and Exact-Weight-3-Star.
Motivation & Objective
- To establish tight conditional lower bounds for the Exact-Weight-$H$ problem under the $k$-sum conjecture.
- To identify which subgraphs $H$—such as paths, matchings, stars, and cycles—have complexity equivalent to $k$-sum.
- To show that improving algorithms for Exact-Weight-$k$-path or $k$-matching would imply faster algorithms for $3$-sum and All-Pairs Shortest Paths.
- To unify the complexity of exact-weight subgraph problems with the $k$-sum problem via reductions.
- To demonstrate that the minimum-weight and unweighted detection versions are easier than the exact-weight variant, which is provably harder under the $k$-sum conjecture.
Proposed method
- Reduces $k$-sum to Exact-Weight-$H$ problems using a randomized hashing scheme from Dietzfelbinger (1996) to partition numbers into $t$ buckets.
- Employs a 'convolution-$k$-sum' framework to test all potential $k$-tuples across hashed buckets, preserving sum and index relationships.
- Uses 'good load balancing' and 'almost linearity' properties of the hash function to ensure high probability of preserving valid $k$-sum solutions.
- Repeats the hashing process $O(k^k \log n)$ times to amplify success probability, ensuring a solution is found with high probability.
- Analyzes the total running time as $\tilde{O}(t \cdot n^{\lceil (k-1)/2 \rceil} + (n/t)^{\lceil k/2 \rceil - \varepsilon})$, optimizing $t = n^\varepsilon$ to achieve $\tilde{O}(n^{\lceil k/2 \rceil - \varepsilon'})$ time.
- Proves that a faster algorithm for any of: $3$-sum, Exact-Weight-$3$-matching, or Exact-Weight-$3$-star, would imply a faster algorithm for all three, under the $k$-sum conjecture.
Experimental results
Research questions
- RQ1What is the conditional complexity of the Exact-Weight-$H$ problem for various subgraphs $H$?
- RQ2How are the $k$-sum problem and exact-weight subgraph detection related in terms of computational hardness?
- RQ3Can improvements in algorithms for Exact-Weight-$k$-path or $k$-matching lead to breakthroughs in $3$-sum or All-Pairs Shortest Paths?
- RQ4Are there reductions that show equivalence in hardness between $k$-sum and specific exact-weight subgraph problems?
- RQ5Why is the exact-weight subgraph problem significantly harder than the unweighted or minimum-weight variants?
Key findings
- Exact-Weight-$4$-path and Exact-Weight-$5$-path cannot be solved in $O(n^{3 - \varepsilon})$ time for any $\varepsilon > 0$ unless the $3$-sum or $5$-sum problem can be solved faster than $O(n^{\lceil k/2 \rceil - \varepsilon})$.
- A faster algorithm for Exact-Weight-$3$-matching or Exact-Weight-$3$-star would imply a faster algorithm for $3$-sum, and vice versa.
- The complexity of Exact-Weight-$H$ is tightly linked to $k$-sum: solving it faster than $O(n^{\lceil k/2 \rceil})$ time would refute the $k$-sum conjecture.
- The $O(n^3)$ upper bound for Exact-Weight-$4$-path and $5$-path is conditionally tight under the $k$-sum conjecture.
- The minimum-weight and unweighted detection versions of subgraph problems can be solved in $O(n^2)$ time, but the exact-weight variant is significantly harder.
- The reduction framework using convolution-$k$-sum and randomized hashing achieves a running time of $\tilde{O}(n^{\lceil k/2 \rceil - \varepsilon'})$ under the $k$-sum conjecture, proving tightness of the bound.
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.