Bayesian Optimization for Categorical and Mixed Variables Using a Multinomial Logit Surrogate
Open Access
- 4 May 2026
- journal article
- research article
- Published by MDPI AG in Algorithms
- Vol. 19 (5) , 361
Abstract
Bayesian optimization (BO) is a widely used framework for optimizing expensive black-box functions. Most BO methods rely on Gaussian process (GP) surrogates, which perform well in continuous domains but encounter difficulties when decision variables include categorical or mixed discrete–continuous components. In particular, GP-based approaches typically require ad hoc numerical encodings of categorical variables that may fail to capture the structure of discrete decision spaces. In this work, we propose MNL-BO (Multinomial Logit Bayesian Optimization), a preference-based Bayesian optimization framework that replaces the GP surrogate with a multinomial logit (MNL) model trained from pairwise preference comparisons. The resulting surrogate provides a natural and interpretable representation of categorical alternatives while allowing continuous, discrete, and categorical variables to be handled within a unified optimization framework. The predictive utility estimates and uncertainty indicators generated by the MNL model are employed to formulate acquisition functions that reconcile exploration with exploitation. The proposed methodology is evaluated on three progressively complex optimization challenges: a purely categorical benchmark, a combinatorial Traveling Salesman problem, and a constrained mixed-variable engineering design problem concerning material selection in pressure vessel optimization. Multi-run tests provide consistent advantages over random search and exhibit stable convergence behavior across diverse random initializations. In addition to heuristic baselines such as local search and classical metaheuristics, we also compare against tree-based Bayesian optimization baselines inspired by the Sequential Model-based Algorithm Configuration (SMAC) framework. The results indicate that the proposed MNL-BO method achieves competitive performance under comparable evaluation budgets while providing an interpretable probabilistic surrogate for categorical decision spaces. These findings suggest that preference-based surrogate modeling provides a practical and flexible alternative for Bayesian optimization in categorical and mixed-variable optimization problems.Keywords
This publication has 27 references indexed in Scilit:
- Automated machine learning: past, present and futureArtificial Intelligence Review, 2024
- SMT 2.0: A Surrogate Modeling Toolbox with a focus on hierarchical and mixed variables Gaussian processesAdvances in Engineering Software, 2023
- Bayesian Optimization2023
- Gryffin: An algorithm for Bayesian optimization of categorical variables informed by expert knowledgeApplied Physics Reviews, 2021
- Dealing with categorical and integer-valued variables in Bayesian Optimization with Gaussian processesNeurocomputing, 2020
- Bayesian Optimization and Data Science2019
- Automated Machine Learning2019
- Efficient global optimization of constrained mixed variable problemsJournal of Global Optimization, 2018
- Data Analysis2016
- A concise guide to the Traveling Salesman ProblemJournal of the Operational Research Society, 2010