Skip to main content
QUICK REVIEW

[Paper Review] Global and Preference-based Optimization with Mixed Variables using Piecewise Affine Surrogates

Mengjia Zhu, Alberto Bemporad|arXiv (Cornell University)|Feb 9, 2023
Advanced Multi-Objective Optimization AlgorithmsComputer Science3 citations
TL;DR

This paper proposes PWAS and PWASp, two surrogate-based global and preference-based optimization algorithms for mixed-variable problems with linear constraints, using piecewise affine surrogates to model expensive black-box objectives. The methods efficiently explore feasible regions via mixed-integer linear programming, achieving superior or comparable performance to state-of-the-art methods within 100–200 iterations on benchmark problems including NAS and constrained synthetic tasks.

ABSTRACT

Optimization problems involving mixed variables (i.e., variables of numerical and categorical nature) can be challenging to solve, especially in the presence of mixed-variable constraints. Moreover, when the objective function is the result of a complicated simulation or experiment, it may be expensive-to-evaluate. This paper proposes a novel surrogate-based global optimization algorithm to solve linearly constrained mixed-variable problems up to medium size (around 100 variables after encoding). The proposed approach is based on constructing a piecewise affine surrogate of the objective function over feasible samples. We assume the objective function is black-box and expensive-to-evaluate, while the linear constraints are quantifiable, unrelaxable, a priori known, and are cheap to evaluate. We introduce two types of exploration functions to efficiently search the feasible domain via mixed-integer linear programming solvers. We also provide a preference-based version of the algorithm designed for situations where only pairwise comparisons between samples can be acquired, while the underlying objective function to minimize remains unquantified. The two algorithms are evaluated on several unconstrained and constrained mixed-variable benchmark problems. The results show that, within a small number of required experiments/simulations, the proposed algorithms can often achieve better or comparable results than other existing methods.

Motivation & Objective

  • Address the challenge of optimizing expensive black-box functions with mixed-variable types (continuous, integer, categorical) under linear constraints.
  • Overcome limitations of existing surrogate methods that treat categorical variables via one-hot encoding, which can lead to poor surrogate fitting due to non-ordinal relationships.
  • Develop a global optimization algorithm (PWAS) that maintains feasibility and integrality during optimization using piecewise affine surrogates and MILP-based acquisition functions.
  • Extend the framework to preference-based optimization (PWASp) where only pairwise comparisons are available, without explicit objective function values.
  • Ensure computational efficiency by keeping surrogate fitting and acquisition optimization times negligible compared to black-box evaluations.

Proposed method

  • Construct a piecewise affine surrogate model over feasible samples, partitioning the mixed-variable space into regions where the objective is locally affine.
  • Use one-hot encoding for categorical variables but model them within a piecewise affine framework to avoid the discontinuities and poor fitting of standard continuous treatment.
  • Formulate the acquisition function as a mixed-integer linear program (MILP) to balance exploration and exploitation, enabling efficient global optimization over mixed-integer feasible sets.
  • Introduce two exploration functions—based on expected improvement and probability of improvement variants—for MILP-based sampling in the mixed-variable domain.
  • For preference-based optimization, use a pairwise comparison model to infer relative objective values and guide the search via a preference-aware acquisition function.
  • Apply no-good cuts or clustering-based refinement to improve convergence and avoid revisiting poor regions, especially in constrained settings.

Experimental results

Research questions

  • RQ1Can piecewise affine surrogates effectively model mixed-variable black-box objectives with complex constraints while preserving integrality and feasibility?
  • RQ2How does the proposed MILP-based acquisition function compare to existing methods in terms of convergence speed and solution quality on mixed-variable problems?
  • RQ3To what extent can the preference-based variant (PWASp) achieve good performance when only pairwise comparisons are available, without explicit objective values?
  • RQ4How does the algorithm perform on real-world problems such as neural architecture search (NAS) and constrained synthetic benchmarks with mixed-integer variables?
  • RQ5Can the surrogate model avoid the performance degradation caused by one-hot encoding when modeling non-ordinal categorical variables?

Key findings

  • On the NAS-CIFAR10 benchmark, PWAS achieved a mean test accuracy of 0.9462 after 200 iterations, outperforming SMAC (0.9436) and TPE (0.9443), and matching CoCaBO-0.5 (0.9468).
  • On the XG-MNIST benchmark, PWAS reached a mean accuracy of 0.9609 after 200 iterations, comparable to CoCaBO-0.5 (0.9741) and EXP3BO (0.9706), and better than MISO (0.9594).
  • On constrained synthetic problems, PWAS achieved the global optimum of -62.579 on Horst6-hs044-modified and -1.81 on ros-cam-modified, with near-zero standard deviation (3.53e-8 and 0.3167), indicating high consistency.
  • PWASp, while less accurate on constrained problems (e.g., -56.55 on Horst6-hs044), still demonstrated robustness and convergence to near-optimal solutions across 20 runs.
  • Surrogate fitting and acquisition optimization averaged under 0.5 seconds per iteration on most benchmarks, confirming negligible computational overhead compared to expensive black-box evaluations.
  • The proposed method outperformed or matched state-of-the-art solvers like MISO, NOMAD, and SMAC on both unconstrained and constrained mixed-variable problems, especially in terms of solution quality and consistency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.