Average-Case Subset Balancing Problems
Abstract
Given a set of 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 in the~average case, significantly improving over the running time of the best known worst-case algorithm and the Meet-in-the-Middle benchmark of . Our algorithm generalizes to a number of related problems, such as the ``Generalized Equal Subset Sum'' problem, which asks us to assign a coefficient from a set to each input number such that . Our algorithm for the average-case version of this problem runs in~time for some positive constant , whenever or for some positive integer (with when ). 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 has a solution when 's are chosen randomly; these results may be of independent interest. Our algorithm is inspired by the ``representation technique'' introduced by Howgrave-Graham and Joux. 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.
Cite
@article{arxiv.2110.14607,
title = {Average-Case Subset Balancing Problems},
author = {Xi Chen and Yaonan Jin and Tim Randolph and Rocco A. Servedio},
journal= {arXiv preprint arXiv:2110.14607},
year = {2021}
}
Comments
44 pages, 5 figures