arXiv:2610.24491cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24491

VBO-MI: A Differentiable Black-Box Optimization Framework via Variational Mutual Information Estimation

Farhad Mirkarimi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Many real-world tasks require optimizing expensive black-box functions accessible only through noisy evaluations, a setting commonly addressed with Bayesian optimization. While Gaussian processes (GPs) and Bayesian neural networks have driven significant progress, GP-based methods scale cubically with observations, and BNN-based approaches remain burdened by expensive posterior sampling such as Hamiltonian Monte Carlo, and inner-loop acquisition optimization in high-dimensional setting. In this work, we propose VBO-MI (Variational Black-Box Optimization with Mutual Information), a fully gradient-based BO framework that requires no assumptions on a Gaussian prior or a variational posterior family over f. While our framework uses gradient-based updates to train the internal action and information-estimation networks, it treats the objective function f as a strict black box, requiring only zeroth-order evaluations (input-output pairs). To enable end-to-end gradient flow, we employ an actor-critic architecture consisting of an action-net to navigate the input space and a variational critic to estimate a surrogate information signal for exploration. This formulation effectively eliminates the traditional inner-loop acquisition optimization bottleneck, achieving up to a 102×10^2 \times reduction in FLOPs compared to BNN-BO baselines. Additionally, we design a lightweight surrogate that approximates the objective from observed data using a replay buffer, which reduces the total required real function queries to one batch per iteration. We provide theoretical analysis for our framework, establishing convergence of its training objective and surrogate estimator, and showing, that near-optimal solutions exist within our hypothesis class. We evaluate our method on a diverse suite of benchmarks, including high-dimensional synthetic functions (Ackley, Levy, Griewank) and complex real-world tasks such as Rover Trajectory planning optimization, the Lunar Lander, and Pest Control problems. Our experiments demonstrate that VBO-MI provides the same or superior optimization performance over the various baselines.

1 Introduction

Bayesian optimization has matured into a de-facto tool for expensive global black-box optimization with applications in hyperparameter tuning, materials design, and experimental sciences (Frazier, 2018; Garnett, 2023). In Bayesian optimization, the algorithm treats f as a black-box function and aims to optimize it sequentially under a finite budget N that is, with access to only N evaluations (input–output pairs) of the function (Cox & John, 1992). At each evaluation, the algorithm builds a probabilistic model of f, using the observed input–output pairs and uses this model to guide the selection of the next evaluation points, by maximizing an acquisition function that trades off exploration and exploitation with the goal of finding the global optimum as efficiently as possible.

Traditionally, Gaussian process (GP) assumptions for the surrogate coupled with various acquisition functions, such as expected improvement (Jones et al., 1998), entropy search (Hennig & Schuler, 2012) (Hennig et al., 2022), and Upper confidence bound (UCB) (Srinivas et al., 2010) have been effective in developing various efficient Bayesian optimization algorithms (Rudner et al., 2022). However, because standard GPs require inverting a covariance matrix (which scales cubically in the number of observations), they become computationally prohibitive for large datasets. Although approximate GPs such as sparse inducing-point models have been proposed (McIntire et al., 2016), and more recent techniques based on GP approximation scale to high-dimensional BO problems (Jimenez & Katzfuss, 2023), these methods still face trade-offs between the accuracy of finding optimal points, local fidelity, and uncertainty quantification.

Recently, several works have been focused on the replacing GPs with Bayesian neural networks (BNNs) in Bayesian optimization algorithms (Li et al., 2024; Springenberg et al., 2016). Various methods have been used in the literature for computing posteriors in the BNNs, these include variational inference with a Sparse Gaussian assumption (Wei et al., 2024), Gamma variational distribution (Cheng et al., 2025), Hamiltonian Monte Carlo (HMC) among others (Li et al., 2024). However, all of the methods rely on the specific form of distribution for posterior sampling, which limits their capability to search entire space, specially when the underlying function is complex and high dimensional. Another limitation is computational efficiency (Cheng et al., 2025) as training BNNs (Li et al., 2024) is prohibitive.

These limitations are not merely theoretical, but manifest in specific, increasingly common situations. Hyperparameter tuning is one of the classical applications of BO (Shahriari et al., 2016), yet many modern machine learning models from deep networks to large language models, expose dozens to hundreds of hyperparameters governing architecture, optimization, and fine-tuning. Such high-dimensional search spaces require substantially more observations to adequately explore, a difficulty long recognized as a core limitation of BO (Frazier, 2018), which in turn compounds the O(T3)\mathcal{O}(T^{3}) per-iteration cost of exact GP inference discussed above. Large language model fine-tuning is a particularly prominent recent instance of this challenge, where the scalability of BO's inherently sequential search has been explicitly identified as a bottleneck (Davouse & Talbi, 2026). Separately, in robotic control, an agent must learn an optimal operating configuration through direct interaction with its physical environment (Shahriari et al., 2016), where the resulting reward landscape is often highly non-stationary and shaped by complex, hard-to-specify dynamics – conditions under which GP surrogates, which impose a fixed covariance structure over the entire input domain, are known to underfit around the true optimum (Li et al., 2024). Such settings need frameworks that commit to no specific parametric or distributional form for either the objective or its noise, while remaining tractable at scale.

To address these limitations, this work takes a different approach and develops a framework that models the f without assuming a specific parametric family. By leveraging a flexible variational representation, the proposed approach enables more expressive uncertainty modeling and improved exploration in complex, high-dimensional search spaces. Our method enables full gradient flow through the internal optimization process, resulting in faster training. Critically, while the framework utilizes gradient-based updates for its internal neural components, it maintains the standard Bayesian optimization requirement of working strictly with zeroth-order evaluations (input-output pairs) of the black-box function f. Specifically, we leverage recent advances in variational mutual information estimation (Song & Ermon, 2020; Belghazi et al., 2018) to design a novel acquisition function that is directly approximated from data samples. This acquisition function is jointly trained with a separate neural network, termed the action-net, which explores the input space and guides the optimization process. Our main contributions are as follows:

  1. We propose a general Bayesian optimization framework that does not assume any specific variational form for the surrogate model, allowing greater flexibility in modeling complex objective functions.

  2. We introduce a novel variational acquisition function (which is used as a loss function) derived from a variational mutual information formulation, which provides an explicit and principled trade-off between exploration and exploitation.

  3. We provide theoretical study of our framework, examining the estimation properties of its training objective and surrogate network under adaptively-sampled (non-i.i.d.) data, and show that, under stated conditions, networks achieving near-optimal performance exist within our hypothesis class.

  4. We benchmark VBO-MI across a diverse suite of baselines, including BNN based Bayesian optimization methods, and test it on high-dimensional synthetic functions and complex real-world control tasks such as Rover trajectory optimization, Pest control, and the Lunar lander problem. Our results show that VBO-MI provides competitive optimization performance over various set of baselines with reduced complexity overhead.

Notation. Random vectors are denoted by bold lowercase symbols (e.g., xt∈Rd\mathbf{x}_t \in \mathbb{R}^d). The sequence of random vectors observed up to step tt is written as Xt=[x1,…,xt]∈Rt×d\mathbf{X}_t = [\mathbf{x}_1, \ldots, \mathbf{x}_t] \in \mathbb{R}^{t \times d}. A realization (sample) of a random vector uses a superscript index (i)(i). Thus xt(i)∈Rd\mathbf{x}_t^{(i)} \in \mathbb{R}^d, Xt(i)=[x1(i),…,xt(i)]∈Rt×d\mathbf{X}_t^{(i)} = [\mathbf{x}_1^{(i)}, \ldots, \mathbf{x}_t^{(i)}] \in \mathbb{R}^{t \times d}. Here, the index ii distinguishes samples in a mini-batch or dataset. Moreover, scalar components of a realization are written as xt(i)=[x1,t(i),…,xd,t(i)]\mathbf{x}_t^{(i)} = [x_{1,t}^{(i)}, \ldots, x_{d,t}^{(i)}]. Calligraphic letters (e.g. D⊂Rd\mathcal{D} \subset \mathbb{R}^d) denote domains or sets. Expectations are written as EPX[⋅]\mathbb{E}_{P_X}[\cdot] under distribution PXP_X. The joint and product-of-marginals distributions are denoted by PX,YP_{X,Y} and PX×PYP_X \times P_Y, respectively. Probability density functions use lowercase notation, e.g. p(x)p(\mathbf{x}). Mutual information between random vectors X\mathbf{X} and random variable yy is denoted I(x;y)I(\mathbf{x}; y), and DKL(P∥Q)D_{\text{KL}}(P \| Q) denotes the Kullback–Leibler divergence between two probability measures PP and QQ. We use →\rightarrow to denote a Markov chain.

References (81)