Sample complexity of stochastic optimization with integer variables

Hongyu Cheng, Yinghao Zheng, Marco Molinaro, Amitabh Basu

Abstract

We establish sample complexity results for stochastic optimization over the integers, especially with a view to understanding the complexity with respect to the corresponding continuous optimization problem. We show that integer optimization can sometimes require strictly more samples and sometimes strictly fewer samples, depending on the structure of the objective and constraints. 1. For Lipschitz objectives over subsets of the $\ell_\infty$ box, the statistical complexity of general stochastic mixed-integer, nonlinear, nonconvex optimization is exactly the same as stochastic linear optimization with just bound constraints. 2. For Lipschitz objectives over subsets of the $\ell_2$ ball, we show that integer optimization can require strictly smaller sample size compared to the continuous setting. To get to this result, we also establish tight sample complexity results for nonconvex continuous stochastic optimization which, to the best of our knowledge, do not appear in prior work. Our lower bound constructions show that the bound holds even for structured nonconvex functions arising out of loss functions in neural network learning with piecewise linear or piecewise quadratic activations (e.g., ReLU or squared ReLU). 3. For strongly convex, smooth objectives, integer optimization has high statistical complexity compared to the continuous setting. In particular, we show that integer optimization requires $\Omega(1/\epsilon^2)$ samples to report an $\epsilon$-approximate solution, compared to the well-known $O(1/\epsilon)$ sample complexity from the continuous optimization literature. In all three settings, empirical risk minimization, known in stochastic programming literature as sample average approximation (SAA), is optimal up to constants: the lower bounds hold for every data-driven algorithm. We also extend our results to $\ell_p$ balls beyond $p=2, \infty$, and over finite precision grids.
BibTeX
@inproceedings{cheng2026sample,
  author = {Hongyu Cheng and Yinghao Zheng and Marco Molinaro and Amitabh Basu},
  title = {{Sample complexity of stochastic optimization with integer variables}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=cyH7eWP6OZ},
}
Figure