Continuous surrogate-based optimization algorithms are well-suited for expensive discrete problems

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

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 surrogate models that are specifically constructed to deal with discrete structures. 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-specific methods. Our experiments on different discrete structures and time constraints also give more insight into which algorithms work well on which type of problem.

Introduction

In the field of optimization, "black-box" functions present a unique challenge: we lack a mathematical formula for the objective and can only observe outputs for specific inputs. When these evaluations are "expensive"—requiring significant time or computational resources—Surrogate-Based Optimization (SBO) becomes essential. SBO works by building a cheap-to-evaluate statistical model (the surrogate) to approximate the expensive function and guide the search for a global minimum.

For discrete problems, where inputs are restricted to integers, categories, or specific sequences, conventional wisdom has long held that surrogates must be inherently discrete. The assumption was that continuous models, such as Gaussian Processes (GPs), are fundamentally flawed for these tasks because they require "crude" rounding of real-valued suggestions to the nearest integer. This paper challenges that assumption, demonstrating that continuous surrogates often outperform specialized discrete models in high-dimensional spaces.

The Contenders: Continuous vs. Discrete

The research evaluates two distinct philosophies in surrogate modeling:

1. Continuous Surrogates

  • Bayesian Optimization (BO): Utilizing Gaussian Processes (GPs), this approach treats the search space as continuous. The authors employ a "naive" strategy where the GP suggests an optimal point in continuous space, which is then rounded to the nearest valid integer.
  • IDONE: A method using a linear combination of Rectified Linear Units (ReLUs). While continuous, IDONE is mathematically structured so that its local minima naturally coincide with integer points.

2. Discrete-Specific Surrogates

  • SMAC: Based on Random Forests, which are non-continuous by nature and designed to handle categorical and discrete splits.
  • HyperOpt (TPE): Uses a Tree of Parzen Estimators to model the probability distributions of "good" versus "bad" points within the discrete domain.

Experimental Framework

The study tests these algorithms across four high-dimensional benchmarks (44 to 150 variables) representing different discrete structures:

  • Ordinal (Discrete Rosenbrock): A non-convex mathematical problem adapted for integers.
  • Binary (Weighted Max-Cut): An NP-hard graph problem.
  • Sequential (Perturbed Traveling Salesman Problem): Finding the shortest route through 44 cities.
  • Real-World Application (Electrostatic Precipitator): An industrial fluid dynamics simulation used to configure gas cleaning systems.

Key Insights

The Power of Smoothness

The primary finding is that continuous surrogates like GPs are exceptionally effective at capturing the "global" trend of a function. Even when a problem is discrete, the underlying objective often possesses an ordinal structure. Smooth continuous models can exploit this structure more effectively than "jagged" discrete models like Random Forests, which may struggle to map the broader landscape of the search space.

Structure-Specific Performance

The choice of algorithm should be dictated by the problem's structure:

  • Ordinal and Binary problems are the "home turf" for Bayesian Optimization. BO achieved the best average objective values on the Rosenbrock, Max-Cut, and ESP problems, often by significant margins.
  • Sequential problems (like the TSP) are uniquely suited for IDONE. The researchers hypothesize that ReLU basis functions align well with the interactions between adjacent variables in a sequence.

The Rounding Myth

Perhaps the most significant takeaway is that rounding is not 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. The "naive" approach of rounding GP suggestions consistently outperformed complex discrete-specific tools.

Computational Trade-offs

While BO (Gaussian Processes) typically finds the best solutions with the fewest evaluations, it is computationally intensive, with a complexity of $O(n^3)$. In scenarios where the "expensive" function actually evaluates relatively quickly, the time the GP spends calculating the next point might exceed the time saved by its accuracy. When evaluated under a strict "wall-clock" time budget, faster discrete models like SMAC become more competitive.

Conclusion

This research suggests a paradigm shift in discrete optimization. Rather than focusing on building inherently discrete models to avoid rounding, researchers and practitioners should leverage the powerful global modeling capabilities of continuous surrogates. While Gaussian Processes face scalability challenges in terms of evaluation count, their ability to navigate high-dimensional discrete landscapes remains superior to many current state-of-the-art discrete alternatives.

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 surrogate models that are specifically constructed to deal with discrete structures. 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 on different discrete structures 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},
}
Figure