Sample Complexity of Stochastic Optimization with Integer Variables

Hongyu Cheng, Yinghao Zheng, Marco Molinaro, Amitabh Basu

TL;DR

This paper provides the first rigorous analysis of the statistical sample complexity of stochastic optimization when decision variables are constrained to be integers. Surprisingly, the authors show that adding integer constraints can sometimes make a problem statistically easier, sometimes harder, or leave it completely unchanged, depending entirely on the geometry of the constraint set and the smoothness of the objective function.

What Problem Does This Paper Address?

Stochastic optimization is the mathematical backbone of modern machine learning (e.g., empirical risk minimization). While we deeply understand how many data samples are needed to find good solutions in continuous spaces, the discrete or mixed-integer setting has been largely ignored from a statistical standpoint.

We have known for decades that integer programming is computationally much harder (often NP-hard) than continuous optimization. But does it also require more data to learn the underlying distribution? This paper answers this fundamental question by establishing tight upper and lower sample complexity bounds for integer stochastic optimization across different objective types (Lipschitz vs. smooth/strongly convex) and geometries ($\ell_\infty$ vs. $\ell_2$ balls).

Methods

The authors employ information-theoretic and learning-theoretic tools to derive matching upper and lower bounds for three standard paradigms of sample complexity: Uniform Convergence (UC), Empirical Risk Minimization (ERM), and any data-driven algorithm.

  • Upper Bounds: The authors establish these using chaining and bracketing arguments from empirical process theory. They adapt these techniques to anchored loss classes to properly handle shift-invariance.
  • Lower Bounds: To prove the limits of what any algorithm can do, the authors reduce the optimization problems to biased-coin hypothesis testing problems, applying Fano's inequality, Pinsker's inequality, and Kullback-Leibler (KL) divergence bounds.
  • Unbounded Domains: For strongly convex functions over unbounded integer spaces, they introduce a novel sub-Gaussian increment condition to generalize the standard Lipschitz assumption.

Datasets

Not discussed in the paper. The work is purely theoretical and does not use empirical datasets or benchmarks.

Key Insights and Ideas

  • The $\ell_\infty$ Box Surprise: For Lipschitz functions over a box ($\ell_\infty$ ball), adding integer constraints changes absolutely nothing statistically. The most complex nonconvex mixed-integer nonlinear problem requires the exact same number of samples as a simple linear program with bound constraints.
  • Integer Sparsity as a Blessing: In a Euclidean ball ($\ell_2$ norm), integer constraints can actually reduce sample complexity compared to the continuous case when the radius $R$ is small ($R^2 < d$). This happens because integer points in a Euclidean ball are naturally sparse (many coordinates must be zero), drastically reducing the effective combinatorial variety the algorithm has to learn.
  • The Curse of Discretization for Smooth Convexity: For smooth, strongly convex functions, continuous optimization enjoys an "accelerated" sample complexity of $O(1/\epsilon)$. However, restricting variables to integers destroys this advantage, forcing a worse sample complexity of $\Omega(1/\epsilon^2)$. While the continuous case benefits from smooth localization around the exact gradient minimum, integer rounding introduces an unavoidable discretization error gap.

Key Results

The paper provides a complete taxonomy of sample complexity bounds, which are summarized in Table 1 from the paper:

Table 1: Summary of sample complexity bounds.
  • $\ell_\infty$ Box (Lipschitz): All paradigms (UC, ERM, any algorithm) share a tight bound of $\Theta(\frac{R^2}{\epsilon^2}(d + \log(1/\delta)))$. Integrality provides no statistical benefit or penalty.
  • $\ell_2$ Ball (Lipschitz, Integer): The complexity drops to $\Theta(\frac{R^2}{\epsilon^2}(H_2(d, R) + \log(1/\delta)))$, where $H_2(d,R)$ is strictly smaller than the dimension $d$ in the sparse regime ($R^2 < d$).
  • Strongly Convex & Smooth (Integer): ERM achieves a sample complexity of $\Theta(\frac{\sigma^2 d \bar{\kappa}}{\epsilon^2}(d + \log(1/\delta)))$. This demonstrates a clear $\Omega(1/\epsilon^2)$ dependence, contrasting sharply with the continuous $O(1/\epsilon)$ rate.

Limitations and Future Work

  • Computational vs. Statistical Complexity: The paper focuses purely on statistical sample complexity. Actually solving these integer empirical risk minimization problems algorithmically remains highly challenging and computationally expensive.
  • Data Assumptions: The results assume independent and identically distributed (i.d.d.) samples. Extending these bounds to dependent data or online settings with integer variables remains an open direction.
  • Constraint Geometries: The structural insights are tied to standard $\ell_p$ balls and lattices; exploring more general polytopic or algebraic constraints represents a natural next step.

Summary updated

Abstract

We establish sample complexity results for stochastic optimization over the integers, especially with a view to understand the complexity with respect to the corresponding continuous optimization problem. We show that integer optimization can sometimes require strictly more samples and sometimes strictly smaller number of samples, depending on the structure of the objective and constraints. 1. For Lipschitz objectives over subsets of the $\ell_\infty$ ball, 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 in a certain regime. 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. 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 $Ω(1/ε^2)$ samples to report an $ε$-approximate solution, compared to the well-known $O(1/ε)$ sample complexity from the continuous optimization literature.
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