← Latest papers
🤖 machine learning

Sample Complexity of Stochastic Optimization with Integer Variables

This paper establishes that the sample complexity of stochastic optimization with integer variables can be strictly greater than, equal to, or even smaller than that of its continuous counterpart, depending on the specific geometry of the feasible set and the properties of the objective function.

Original authors: Hongyu Cheng, Yinghao Zheng, Marco Molinaro, Amitabh Basu

Published 2026-05-11
📖 5 min read🧠 Deep dive

Original authors: Hongyu Cheng, Yinghao Zheng, Marco Molinaro, Amitabh Basu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to find the best spot to set up a lemonade stand in a city. You don't have a map of the whole city (the "distribution"), but you can send out scouts to check specific locations and report back on how much money they think you'd make there. The goal is to figure out the absolute best spot using as few scouts as possible.

This paper is about a specific twist on that problem: What if your scouts can only check integer coordinates (like street corners 1, 2, 3) instead of any spot on the map (like 1.5, 2.7, 3.1)?

The authors, a team of mathematicians, wanted to know: Does restricting your search to "whole numbers" (integers) make the job harder, easier, or the same compared to searching the whole continuous map?

Here is what they found, broken down into three main scenarios:

1. The "Box" Scenario (The Square City)

Imagine your city is a giant square box. You can go anywhere inside it, but you are limited by the walls.

  • The Finding: It doesn't matter if your scouts can only check street corners (integers) or any spot on the grid (continuous). The number of scouts you need is exactly the same.
  • The Analogy: Think of a maze where the walls are the only thing that matters. Whether you are allowed to walk through the grass (continuous) or only on the paved paths (integers), the "hardness" of finding the exit is determined by the size of the box, not the type of path you take. Even if the rules of the game are messy and non-linear (like a complex, bumpy terrain), the number of samples needed doesn't change just because you added the "integer" rule.

2. The "Ball" Scenario (The Round City)

Now, imagine the city is a perfect circle (a ball).

  • The Finding: Here, things get weird. If you restrict your scouts to integer coordinates (street corners), you might actually need fewer scouts than if they could check any spot in the circle.
  • The Analogy: Imagine a round table with a few scattered coins on it. If you are allowed to look anywhere on the table (continuous), there are infinite spots to check, and the "shape" of the table is smooth and complex. But if you are only allowed to look at the coins (integers), there are suddenly very few spots to check.
  • Why it happens: In a round shape, the "integer" spots (the coins) are sparse. They don't fill the space like a continuous surface does. Because there are fewer distinct "whole number" spots to worry about, the problem becomes statistically easier to solve in certain situations. It's like finding a needle in a haystack: if you are only allowed to look at the tips of the hay (integers), there are fewer tips to check than the whole volume of the haystack.

3. The "Smooth Hill" Scenario (The Perfect Slope)

Finally, imagine the terrain is a perfectly smooth, bowl-shaped hill (mathematically, "strongly convex and smooth"). This is usually the easiest type of problem to solve in the continuous world.

  • The Finding: In this specific case, forcing the scouts to look only at integer spots makes the job much harder. You need significantly more scouts (samples) to find the bottom of the bowl if you are restricted to integers.
  • The Analogy: Imagine sliding down a smooth slide to find the bottom. In the continuous world, you can glide right to the exact bottom. But if you are forced to jump from one integer "step" to the next, you might overshoot the bottom or get stuck on a step that looks like the bottom but isn't.
  • The Cost: In the continuous world, you can find the solution with a certain number of scouts. In the integer world, you need many more (specifically, the number of samples grows much faster as you demand higher accuracy). The "rounding error" of being forced to land on a whole number creates a new kind of difficulty that doesn't exist in the smooth, continuous version.

The Big Picture

The paper challenges the old idea that "discrete" (integer) problems are always harder than "continuous" ones.

  • Sometimes, they are just as hard (the Box).
  • Sometimes, they are actually easier because there are fewer options to check (the Ball).
  • Sometimes, they are much harder because the "steps" get in the way of a smooth solution (the Smooth Hill).

The authors also looked at different ways of measuring success:

  1. Uniform Convergence: Making sure every single spot is estimated correctly.
  2. Empirical Risk Minimization (ERM): Just finding the best spot based on the data you have.
  3. Any Algorithm: Using any clever trick to find the answer.

They found that for the "Smooth Hill" with integers, the clever tricks (ERM) work much better than trying to estimate every single spot perfectly. It's like realizing you don't need to map the whole city to find the best lemonade stand; you just need to focus your energy on the neighborhood that looks promising.

In summary: Whether integer constraints make a problem harder or easier depends entirely on the shape of the "city" you are searching in and the shape of the "terrain" (the objective function). There is no single rule; it's a mix of geometry and statistics.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →