Introduction
Standard Bayesian Optimization (BayesOpt) is a powerful tool for optimizing "black-box" functions that are expensive to evaluate. However, it usually operates on a fixed, finite-dimensional vector of parameters. For example, if you want to optimize a robot's gait, you might tune five specific numerical parameters of a pre-defined controller. The problem is that the performance of BayesOpt is strictly limited by the quality of these chosen parameters (features). If your pre-defined controller can't represent the optimal gait, BayesOpt will never find it.
This paper addresses the need for Functional Optimization: optimizing directly over a space of functions (non-parametric optimization) rather than just tuning a few knobs. This allows for much richer, more flexible solution spaces that can adapt to the problem at hand.
Methodology
The authors introduce Bayesian Functional Optimization (BFO), extending traditional Bayesian Optimization from finite-dimensional parameter spaces to infinite-dimensional function spaces. By modeling the search space as a Reproducing Kernel Hilbert Space (RKHS) and deriving analytic functional gradients, the authors enable the direct optimization of complex "shapes"—like neural network activation functions or robot control policies—without being constrained by a fixed set of manual features.
The key technical hurdles they overcome are:
- Functional Gaussian Processes: Instead of a GP that takes a vector $x$ and returns a value, they use a GP that takes an entire function $h$ as input. They define functional kernels (like Polynomial and RBF kernels) that measure the similarity between two functions based on their representations in an RKHS.
- Functional Acquisition Functionals: They adapt standard acquisition functions—Probability of Improvement (PI), Expected Improvement (EI), and Upper Confidence Bound (UCB)—into "functionals" that evaluate the utility of picking a specific function $h$ to test next.
- Analytic Functional Gradients: To find the "best" next function to evaluate, they derive the Fréchet derivative (a generalization of the gradient for function spaces) for their acquisition functionals. This allows them to use gradient-based optimization to iteratively "shape" the next candidate function.
- Sparsification: Since functions in an RKHS can become increasingly complex, the authors use a kernel pursuit matching algorithm to keep the representation compact and computationally efficient.
Experimental Evaluation
The paper evaluates BFO across three distinct domains:
- Synthetic Functional Problems: Optimizing a function to match a target "ground truth" mixture of Gaussians in 1D and 2D spaces.
- MNIST (Handwritten Digits): BFO is used to find the optimal shape of the activation function for a multi-layer perceptron (MLP), rather than using standard ReLU or Sigmoid.
- Inverted Pendulum (Reinforcement Learning): A classic control task where the goal is to find a policy (a function mapping states to actions) that balances a pole.
Key Results
BFO significantly outperformed "Standard BayesOpt" and "RKHS-REMBO" (a random embedding baseline) in synthetic tasks. In 1D, BFO-PI achieved a Mean Squared Error (MSE) of 0.0026, compared to 0.0168 for standard BayesOpt.
When optimizing activation functions for MNIST, BFO-EI reached a test accuracy of 98.26%, outperforming the fixed Sigmoid baseline (97.06%) and standard BayesOpt (97.59%). The "best" activation functions discovered by BFO were non-standard shapes that outperformed traditional ones.
In the Inverted Pendulum task, BFO (using iGP-UCB) was much more data-efficient than local methods like Actor-Critic or CMA-ES, reaching high rewards in significantly fewer episodes.
Discussion and Conclusion
By working in the RKHS, BFO bypasses manual feature engineering. It inherits the "richness" of the Hilbert space, allowing it to discover complex functional forms. The functional gradient of the acquisition function is itself a function within the same RKHS, making the optimization mathematically elegant. Furthermore, the authors provide a cumulative regret bound for their "iGP-UCB" algorithm, proving global convergence in infinite-dimensional spaces.
Despite these strengths, limitations remain. User selection of "base" and "functional" kernels still influences performance. Additionally, functional GPs are more computationally demanding than standard GPs, and scaling to very high-dimensional input spaces (like raw video) remains a challenge. Future work could explore more adaptive ways to manage functional complexity beyond the current sparsification trade-offs.
Summary updated