Lune

SODA2022Top-tier venue

Average-Case Subset Balancing Problems

Xi Chen, Yaonan Jin, Tim Randolph, Rocco A. Servedio

Abstract

Given a set of n input integers, the Equal Subset Sum problem asks us to find two distinct subsets with the same sum. In this paper we present an algorithm that runs in time O * (3 0.387n ) in the average case, significantly improving over the O * (3 0.488n ) running time of the best known worst-case algorithm [MNPW19] and the Meet-in-the-Middle benchmark of O * (3 0.5n ).

Our algorithm generalizes to a number of related problems, such as the "Generalized Equal Subset Sum" problem, which asks us to assign a coefficient c i from a set C to each input number x i such that i c i x i = 0. Our algorithm for the average-case version of this problem runs in time |C| (0.5-c0/|C|)n for some positive constant c 0 , whenever C = 0, ±1, . . . , ±d or ±1, . . . , ±d for some positive integer d (with runtime O * (|C| 0.45n ) when |C| < 10). Our results extend to the problem of finding "nearly balanced" solutions in which the target is a not-too-large nonzero offset τ .

Our approach relies on new structural results that characterize the probability that i c i x i = τ has a solution c ∈ C n when x i 's are chosen randomly; these results may be of independent interest. Our algorithm is inspired by the "representation technique" introduced by . This requires several new ideas to overcome preprocessing hurdles that arise in the representation framework, as well as a novel application of dynamic programming in the solution recovery phase of the algorithm.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Beating Meet-in-the-Middle for Subset Balancing ProblemsTim Randolph, Karol WegrzyckiSTOC 2026 · 5 citations

Related papers

  1. Derandomizing Pseudopolynomial Algorithms for Subset SumTimothy M. ChanSODA 2026
  2. Improving Schroeppel and Shamir's algorithm for subset sum via orthogonal vectorsJesper Nederlof, Karol WegrzyckiSTOC 2021
  3. On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 citations
  4. Top-k-convolution and the quest for near-linear output-sensitive subset sumKarl Bringmann, Vasileios NakosSTOC 2020 · 18 citations
  5. Fast Low-Space Algorithms for Subset SumCe Jin, Nikhil Vyas, Ryan WilliamsSODA 2021 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines