Subset Balancing and Generalized Subset Sum via Lattices
Abstract
We study the Subset Balancing problem: given and a coefficient set , find a nonzero vector such that . The standard meet-in-the-middle algorithm runs in time , and recent improvements (SODA 2022, Chen, Jin, Randolph, and Servedio; STOC 2026, Randolph and W\k{e}grzycki) beyond this barrier apply mainly when is constant. We give a reduction from Subset Balancing with to a single instance of SVP in dimension . Instantiating this reduction with the best known -SVP algorithms yields a deterministic -time algorithm and a randomized -time algorithm. The exponent depends only on , improving on meet-in-the-middle for all . For sufficiently large we also obtain a polynomial-time algorithm. The reduction extends from the box constraint to any centrally symmetric convex body , giving deterministic time for a constant depending only on the shape of . We further study the Generalized Subset Sum problem of finding such that . For or , we reduce the worst-case problem to CVP in dimension . We observe that distances in our lattice take only integer values, so an approximate CVP oracle still suffices, yielding a deterministic worst-case algorithm running in time . In the average-case setting, we demonstrate that for both coefficient sets the embedded CVP instance satisfies a bounded-distance promise with high probability, removing the factor altogether and obtaining a deterministic algorithm running in time .
Cite
@article{arxiv.2604.04656,
title = {Subset Balancing and Generalized Subset Sum via Lattices},
author = {Yiming Gao and Yansong Feng and Honggang Hu and Yanbin Pan},
journal= {arXiv preprint arXiv:2604.04656},
year = {2026}
}