Continuous Surrogate-Based Optimization Algorithms Are Well-Suited for Expensive Discrete Problems

Rickard Karlsson, Laurens Bliek, Sicco Verwer, Mathijs de Weerdt

TL;DR

This paper challenges the conventional wisdom that discrete optimization problems require specialized discrete surrogate models. Through extensive benchmarking, the authors demonstrate that "naive" continuous models—like Gaussian Processes in Bayesian Optimization—often outperform state-of-the-art discrete-specific algorithms on high-dimensional, expensive black-box problems.

What Problem Does This Paper Address?

In the world of optimization, "black-box" functions are those where we don't have a mathematical formula; we only know the output for a given input. When these functions are "expensive" (taking minutes or hours to evaluate), we use Surrogate-Based Optimization (SBO). We build a cheap-to-evaluate model (the surrogate) to guess where the global minimum might be.

For discrete problems (where inputs are integers or categories), researchers traditionally believed that continuous surrogates are sub-optimal because they ignore the discrete structure and rely on "crude" rounding. Consequently, the field has focused on building inherently discrete models like Random Forests or Tree of Parzen Estimators. This paper asks: Is the "rounding is bad" assumption actually true?

Methods

The authors conduct a head-to-head comparison between two classes of algorithms:

  1. Continuous Surrogates:
    • Bayesian Optimization (BO): Uses Gaussian Processes (GPs). The authors use a "naive" approach where they treat the space as continuous and simply round the suggested points to the nearest integer.
  2. IDONE: A newer method that uses a linear combination of Rectified Linear Units (ReLUs). It is continuous but designed so that its local minima always fall on integer points.
  3. Discrete Surrogates:
    • SMAC: Uses Random Forests, which are inherently discrete.
  4. HyperOpt (TPE): Uses a Tree of Parzen Estimators to model the distribution of "good" vs "bad" points.

The study evaluates these across different discrete structures: ordinal (ordered integers), binary (0 or 1), and sequential (permutations/orderings).

Datasets

The authors used four high-dimensional benchmarks (ranging from 44 to 150 variables) to test different problem structures:

  • Discrete Rosenbrock: A classic non-convex mathematical optimization problem adapted for integers (Ordinal).
  • Weighted Max-Cut: An NP-hard graph problem (Binary).
  • Perturbed Traveling Salesman (TSP): Finding the shortest route through 44 cities with added noise (Sequential).
  • Electrostatic Precipitator (ESP): A real-world industrial problem involving fluid dynamics simulations to configure gas cleaning systems (Ordinal).

Key Insights and Ideas

  • The Power of Smoothness: Continuous surrogates like GPs are excellent at capturing the "global" trend of a function. Even if the problem is discrete, the underlying objective often has an ordinal structure that a smooth continuous model can exploit better than a "jagged" discrete model like a Random Forest.
  • Structure Matters:
    • Ordinal problems are the home turf for Bayesian Optimization.
  • Sequential problems (like TSP) are uniquely well-suited for IDONE, likely because the ReLU basis functions align well with the interactions between adjacent variables in a sequence.
  • The Computation Trade-off: While BO (Gaussian Processes) often finds the best solutions with the fewest evaluations, it is computationally "heavy" ($O(n^3)$ complexity). If the "expensive" function you are optimizing actually evaluates very quickly, the time BO spends "thinking" might outweigh its accuracy.
  • Rounding isn't the Enemy: The empirical evidence suggests that the errors introduced by rounding continuous suggestions are negligible compared to the benefit of having a high-quality global model of the search space.

Key Results

  • BO Dominance: Bayesian Optimization (the continuous GP approach) achieved the best average objective value on the Rosenbrock, Max-Cut, and ESP problems, often by a significant margin.
  • IDONE for Sequences: IDONE was the clear winner on the Traveling Salesman Problem, outperforming both the discrete models and the GP-based BO.
  • Discrete Models Lagging: Popular discrete-specific tools like SMAC and HyperOpt generally performed worse than the continuous surrogates across the board, especially as the dimensionality of the problem increased.
  • Time Sensitivity: When the authors simulated a strict "wall-clock" time budget (including both the time to run the function and the time the algorithm takes to pick the next point), the discrete models became more competitive because they are much faster to compute than GPs.

Limitations and Future Work

  • Scalability: The authors acknowledge that the $O(n^3)$ complexity of standard Gaussian Processes makes BO difficult to use if you need thousands of evaluations.
  • The "Why" of TSP: While they found IDONE excels at sequential problems, the exact mathematical reason why ReLUs map so well to TSP structures remains a hypothesis for further study.
  • Advanced BO: This study used a "naive" BO implementation. The authors suggest that more advanced discrete-aware BO variants (like those using specific kernels for graphs or categories) might perform even better, though they would be more complex to implement.

Summary updated

Abstract

One method to solve expensive black-box optimization problems is to use a surrogate model that approximates the objective based on previous observed evaluations. The surrogate, which is cheaper to evaluate, is optimized instead to find an approximate solution to the original problem. In the case of discrete problems, recent research has revolved around discrete surrogate models that are specifically constructed to deal with these problems. A main motivation is that literature considers continuous methods, such as Bayesian optimization with Gaussian processes as the surrogate, to be sub-optimal (especially in higher dimensions) because they ignore the discrete structure by, e.g., rounding off real-valued solutions to integers. However, we claim that this is not true. In fact, we present empirical evidence showing that the use of continuous surrogate models displays competitive performance on a set of high-dimensional discrete benchmark problems, including a real-life application, against state-of-the-art discrete surrogate-based methods. Our experiments with different kinds of discrete decision variables and time constraints also give more insight into which algorithms work well on which type of problem.
BibTeX
@inproceedings{karlsson2020continuous,
  author = {Rickard Karlsson and Laurens Bliek and Sicco Verwer and Mathijs de Weerdt},
  title = {{Continuous Surrogate-Based Optimization Algorithms Are Well-Suited for Expensive Discrete Problems}},
  booktitle = {BNAIC/BENELEARN (Selected Papers)},
  year = {2020},
  url = {https://openreview.net/forum?id=wr70cXOUAlH},
}

Loading related content...

Figure