Bayesian Functional Optimisation with Shape Prior

Pratibha Vellanki, Santu Rana, Sunil Gupta, David Rubin de Celis Leal, Alessandra Sutti, Murray Height, Svetha Venkatesh

Introduction

Standard Bayesian Optimization (BO) has proven highly effective at finding optimal static parameters for expensive black-box functions. However, many critical real-world applications require the optimization of a control variable that changes over time, a task known as functional optimization. Examples range from determining the optimal learning rate schedule for a deep neural network to controlling the flow rate of chemicals in a manufacturing process.

The primary challenge in functional optimization is the high dimensionality of the search space. Evaluating these functions is often prohibitively expensive, requiring lengthy model training or physical laboratory experiments. Furthermore, while domain experts often possess "shape priors"—intuition that a function should be, for example, monotonically decreasing—incorporating this knowledge into standard BO frameworks is non-trivial.

Methodology: BFO-SP

This paper introduces Bayesian Functional Optimisation with Shape Prior (BFO-SP). The core innovation lies in representing the time-varying control function using Bernstein polynomials. By optimizing the coefficients of these polynomials rather than the function directly, the authors transform a complex functional optimization problem into a more manageable vector optimization problem.

Encoding Human Intuition via Shape Priors

Bernstein polynomials offer a unique mathematical advantage: the shape of the resulting function is directly tied to the relationship between its coefficients. For instance, if the coefficients are constrained such that $\alpha_{v+1} \le \alpha_v$, the resulting polynomial is guaranteed to be monotonically decreasing across its entire domain. This allows BFO-SP to turn abstract expert hunches into rigorous inequality constraints during the acquisition phase of the BO process.

Extracted figure from page 4 of Bayesian Functional Optimisation with Shape Prior

Dynamic Complexity and Data Recycling

A significant hurdle in functional BO is determining the appropriate complexity (polynomial degree) for the search space. BFO-SP addresses this by monitoring the derivative of the suggested functions. If the optimizer attempts to produce a function whose derivative exceeds the theoretical maximum for the current degree, the algorithm automatically increases the polynomial order. Crucially, the authors utilize a mathematical transformation to map all previous experimental data into the new, higher-dimensional space, ensuring that no expensive observations are discarded.

Experimental Results

The BFO-SP framework was evaluated across synthetic benchmarks and two distinct real-world domains: materials science and deep learning.

Physical Manufacturing: Polymer Fibre Production

In a materials science application, the goal was to optimize the butanol flow rate in a microfluidic device to maximize the quality of short polymer nano-fibres.

A schematic of the microfluidic device used in the polymer fibre production experiment.

By applying a monotonically increasing shape prior, BFO-SP identified an optimal flow schedule that achieved a quality score of 9/10 in only five physical iterations. This result not only validated the researcher's intuition but also surpassed the performance of standard fixed-flow baselines.

Deep Learning: Learning Rate Schedules

The framework was also used to optimize learning rate schedules for neural networks trained on the MNIST and CIFAR-10 datasets. On CIFAR-10, BFO-SP combined with SGD achieved an error rate of 18.81%, outperforming both Adam (20.20%) and alternative functional BO methods that lacked shape priors (22.2%). Similar improvements were observed on MNIST, where BFO-SP achieved a 0.74% error rate compared to Adam's 0.86%.

Conclusion and Future Directions

BFO-SP demonstrates that integrating mathematical properties of Bernstein polynomials with Bayesian Optimization provides a powerful tool for functional control. By bridging the gap between human intuition and black-box optimization, the method achieves high sample efficiency in expensive domains. Future research will focus on extending the framework to handle multimodal shape priors and multi-variate control systems, potentially expanding its utility to complex industrial processes like alloy manufacturing.

Summary updated

BibTeX
@inproceedings{vellanki2019bayesian,
  author = {Pratibha Vellanki and Santu Rana and Sunil Gupta and David Rubin de Celis Leal and Alessandra Sutti and Murray Height and Svetha Venkatesh},
  title = {{Bayesian Functional Optimisation with Shape Prior}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33011617},
}
Figure