Source-linked AI summary
Exact Weight Subgraphs and the k-Sum Conjecture
Amir Abboud, Kevin Lewi
TL;DR
The paper examines how exact-weight subgraph finding relates to k-SUM, using reductions between k-SUM and subgraph problems and separator-based algorithms. It establishes conditional bounds and shows that improvements for some exact-weight problems connect to faster algorithms for k-SUM and other problems.
Problem
The relationship between k-SUM and exact-weight subgraph finding is a question connecting two fundamental problems studied separately.
Source: §1 · p. 1Method
The paper establishes reductions between k-SUM and exact-weight subgraph problems, including vertex-minor reductions and separator-based algorithms.
Source: §1.1 · pp. 2–4Results
The paper gives conditional lower bounds and separator-based upper bounds that match for many exact-weight subgraph problems.
Source: §1.1 · pp. 2, 4, 5Takeaways & Limitations
For some small subgraphs, faster exact-weight algorithms would have implications for k-SUM and All-Pairs Shortest Paths, unlike the faster detection and minimum-weight versions.
Source: §1.1 · p. 4The authors are unaware of any subgraph H for which EXACT-H is solvable in O(n^γ(H)−ε) time for ε>0.
Source: §5 · p. 13
Abstract
from arXiv · showhide
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.
1 Introduction
The paper investigates the relationship between k-SUM and exact-weight subgraph finding, establishing reductions in both directions and conditional bounds for several subgraph problems. Its results connect improvements for exact-weight matching, stars, paths, and cycles to k-SUM and other problems.
1.1 Our Results
- If k-SUM requires O(n^⌈k/2⌉−ε) time, Theorem 2 rules out that running time for exact-weight H, k-matching, k-star, and (k−1)-path on the stated graph sizes.The graph sizes are n for H and (k−1)-path, √n for k-matching, and n^(1−1/k) for k-star.Source: §1.1 · p. 3
- For k=3, faster algorithms for 3-SUM also yield faster algorithms for 3-STAR and 3-MATCHING, whose exact-weight thresholds are O(n^3) and O(n^4), respectively.The results state that either all three problems admit the specified improvements or none do.Source: §1.1 · p. 3
- An O(n^(3−ε)) algorithm for EXACT-WEIGHT-4-PATH would imply an O(n^(3−ε′)) algorithm for 5-SUM, while EXACT-WEIGHT-5-PATH improvements extend to the other connected 3-edge subgraph problems considered.The unweighted and minimum-weight versions of 4-PATH are solvable in O(n^2), and 6-SUM reduces to 5-PATH.Source: §1.1 · pp. 3–4
- If H1 is a vertex-minor of H2, an O(n^α) algorithm for EXACT-WEIGHT-H2 gives a Õ(n^α) algorithm for EXACT-WEIGHT-H1.The paper uses this relation to connect 4-CYCLE, 4-PATH, and 3-CLIQUE.Source: §1.1 · p. 3
- A d-separator reduces EXACT-WEIGHT-H to Õ(n^|S|) instances of d-SUM, yielding an Õ(n^γ(H)) upper bound.For k-PATH, the middle vertex is an optimal separator and gives an O(n^⌈(k+1)/2⌉) running time; in many cases, improving the separator algorithm would refute the k-SUM Conjecture.Source: §1.1 · pp. 4–5
- For an H with k vertices and an independent set of size s, MIN-WEIGHT-H can be solved in Õ(n^(k−s+1)) time, improving on the cited O(n^(k−s+2)) algorithm.The paper also highlights bounded-treewidth and large-independent-set cases for its exact-weight algorithm.Source: §1.1 · p. 5
2 Preliminaries and Basic Constructions
The section establishes the reducibility framework and structured formulations used to connect k-SUM with exact-weight subgraph problems.
2 Preliminaries and Basic Constructions
- The framework represents graph vertices, edges, and neighborhoods by V(G), E(G), and N(v), and defines reductions by how faster algorithms transfer between problems.A polylogarithmic improvement to the target problem need not yield an improvement to the source problem.Source: §2 · p. 6, §2.1 · p. 6
2.2 The k-SUM Problem
- The paper uses a list-based k-SUM formulation, including CONVOLUTION-k-SUM, and establishes that k-SUM reduces to it with matching exponent parameters.The list formulation selects one number from each of k lists; the convolution version also constrains the selected indices.Source: §2.2 · p. 7
2.3 H-Partite Graphs
- An H-partite graph partitions its vertices into k sets, with edges allowed only between pairs corresponding to edges of H.An H-subgraph selects exactly one vertex from each partition.Source: §2.3 · p. 7
- The structured EXACT-H formulation asks whether a complete H-partite graph has an H-subgraph of total weight zero, and it is tightly reducible to EXACT-WEIGHT-H.The paper uses EXACT-H in its proofs, with the results applying to EXACT-WEIGHT-H through the stated equivalence.Source: §2.3 · p. 7
3 Reductions from k-SUM to Subgraph Problems
The section establishes reductions between k-SUM and exact-weight subgraph problems, with constructions for arbitrary graphs, matchings, stars, and paths.
- k-SUM on n numbers reduces to one EXACT-H instance on kn vertices for any k-node subgraph H.The construction places each list in a vertex class and uses node weights so an H-subgraph’s weight equals the corresponding k-SUM solution’s sum.Source: §3 · p. 8
- For k-MATCHING, k-SUM reduces to one exact-weight instance on k√n vertices by encoding each list value as an edge weight.Each matching’s total weight equals the associated k-SUM solution’s sum.Source: §3 · p. 8
- If EXACT-k-STAR runs in O(n^α), then k-SUM runs in ˜O(n^((1−1/k)·α)).The reduction uses a sequence of k-SUM instances and a self-reduction from k-SUM to that sequence.Source: §3 · p. 9
- An O(n^⌈k/2⌉−ε) algorithm for EXACT-k-PATH would yield an O(n^⌈k/2⌉−ε′) algorithm for (k+1)-SUM.Source: §3 · p. 10
- The path reduction encodes a convolution-(k+1)-SUM instance in edge weights so that zero-weight k-paths correspond to zero-sum solutions.Source: §3 · p. 10
4 Relationships Between Subgraphs
The section relates exact-weight problems through vertex-minors, reducing edge deletion and contraction to exact-weight instances and also giving a reverse reduction for adding a universal node.
4 Relationships Between Subgraphs
- A vertex-minor is obtained through a sequence of edge deletions or vertex contractions, with contractions permitted between nonadjacent vertices.Source: §4 · pp. 10–11
- Deleting an edge from H′ reduces EXACT-H on kn nodes to one EXACT-H′ instance on kn nodes by assigning weight zero to the added super-edge.Source: §4 · p. 11
- Contracting two vertices reduces EXACT-H on (k+1)n nodes to one EXACT-H′ instance on kn nodes by copying each vertex and adding opposite weights to the copies.The weight offsets force both copies to be selected together in any zero-weight H′-subgraph.Source: §4 · p. 11
- The contraction reduction preserves zero-weight solutions in both directions, so EXACT-H′ has a zero-weight subgraph exactly when EXACT-H does.Source: §4 · pp. 11–12
4.1 Reverse Direction
- When H adds a universal node to H′, EXACT-H reduces to α+1 instances of EXACT-H′, each testing a fixed vertex in the new node’s class.Source: §4.1 · p. 12
5 Reductions to k-SUM (and Upper Bounds)
The section gives separator-based algorithms that reduce exact-weight subgraph problems to 2-SUM or d-SUM, with running-time bounds determined by H’s structure.
- A separator algorithm enumerates S-subgraphs and uses 2-SUM to combine the two edge-disjoint sides of H.For a separator (S, H1, H2), the running time is O(3^k + n^|S|·(n^|H1| + n^|H2|)).Source: §5 · p. 13
- A faster d-SUM algorithm can improve EXACT-H through the generalized separator reduction, though current best-known k-SUM runtimes make it no better than the 2-SUM separator algorithm.Source: §5 · pp. 13–14
- For a d-separator, EXACT-WEIGHT-H reduces to ˜O(n^|S|) instances of d-SUM, each on at most max{n^|H1|, …, n^|Hd|} numbers.Source: §5 · pp. 13–14
- If H has an independent set of size s, EXACT-H reduces to O(n^(k−s)) instances of s-SUM on n integers.Source: §5 · p. 14
- For H on k nodes with treewidth bounded by tw, a d-separator of size tw yields parts of at most 2k/3 nodes, establishing γ(H) ≤ 2k/3 + tw.Source: §5 · p. 14
- For an H with an independent set of size s, minimum total weight can be found in ˜O(n^(k−s+1)) time.The procedure replaces d-SUM with finding the minimum value in each list for each separator subgraph.Source: §5 · p. 14
6 Conclusions
The conclusion highlights an unresolved bound for 5-CYCLE and an open reduction question linking 4-PATH, 3-STAR, and All-Pairs Shortest Paths.
- 5-CYCLE is the simplest subgraph for which the paper cannot give tight upper and lower bounds; whether O(n^(4−ε)) is possible without refuting k-SUM remains open.Source: §6 · p. 15
- The authors ask whether EXACT-WEIGHT-4-PATH reduces to EXACT-WEIGHT-3-STAR, which would connect breaking the 3-SUM conjecture to an O(n^(3−ε)) All-Pairs Shortest Paths algorithm.Source: §6 · p. 15
A Reducibility
The paper defines an oracle-based reducibility between decision problems and states that these reductions compose and transfer faster algorithms. Its size parameter includes the bit-length factor for bounded integer weights or inputs.
A Reducibility
- For weighted graph problems and k-SUM with integers in [−M, M], n denotes the number of nodes or integers times log M, respectively.Source: A Reducibility · p. 16
- A is reducible to B when an oracle algorithm solves A with probability 1−o(1), subject to the definition’s additional conditions.The supplied passage gives only the success-probability condition; the remaining conditions are not fully shown.Source: A Reducibility · p. 16
- Reducibility is transitive: if A reduces to B and B reduces to C, then A reduces to C.Source: A Reducibility · p. 16
- An O(n^(b−ε)) algorithm for B yields an O(n^(a−δ)) algorithm for A for some δ>0, with success probability 1−o(1).Source: A Reducibility · p. 16
B Proof of Lemma 8
The proof establishes reductions in both directions between EXACT-H and EXACT-WEIGHT-H. One encodes vertex weights in edge weights; the other uses random color coding to form an H-partite instance.
B Proof of Lemma 8
- EXACT-H reduces to EXACT-WEIGHT-H by encoding vertex weights and super-edge offsets into edge weights and choosing a target that preserves zero-weight H-subgraphs.The proof argues that each super-edge is used once and that a target-summing solution occupies distinct super-nodes, recovering total original weight zero.Source: B Proof of Lemma 8 · pp. 16–17
- Repeating the random partitioning O(k^k) times supports the reduction, and the proof says the procedure can be derandomized.Source: B Proof of Lemma 8 · p. 17
- EXACT-WEIGHT-H reduces to EXACT-H by randomly assigning vertices to k parts, with a fixed H-copy landing in the required parts with probability 1/k^k.Source: B Proof of Lemma 8 · p. 17
C Proof of Lemma 7
The proof reduces k-SUM to convolution-k-SUM instances using hashing, bucket enumeration, and a correctness argument that preserves solutions. For odd k, the stated parameter choice yields a faster k-SUM algorithm under the assumed convolution-k-SUM running time.
C Proof of Lemma 7
- Dietzfelbinger hashing provides load balancing and almost linearity: few numbers enter overloaded buckets, and sums constrain the final number to one of k buckets.Source: C Proof of Lemma 7 · p. 17
- The reduction repeats hashing O(k^k log n) times and ignores numbers in overloaded buckets.Source: C Proof of Lemma 7 · p. 18
- It enumerates kR^k convolution-k-SUM instances over bucket positions and offsets, with each instance containing lists of t numbers.Source: C Proof of Lemma 7 · p. 18
- A k-SUM solution avoids overloaded buckets in a good iteration with probability 1−O(n^−c), and almost linearity places its final number in the enumerated offset bucket.Source: C Proof of Lemma 7 · p. 18
- Every solution found in a convolution instance is also a valid k-SUM solution with the same sum, establishing the reduction’s reverse direction.Source: C Proof of Lemma 7 · p. 18
- For odd k, setting t=n^ε makes the first term insignificant and yields a k-SUM algorithm in O~(n^(⌈k/2⌉−ε′)) time for some ε′>0.Source: C Proof of Lemma 7 · pp. 17–18