Introduction
In many industrial and engineering contexts, optimization problems are not solved in a vacuum. Instead, they often appear as sequences of related tasks. For instance, a logistics company might optimize its delivery routes daily, or a cloud service provider might re-tune its resource allocation parameters every few hours as traffic patterns shift. While these tasks are distinct, they share underlying structural similarities.
When the objective function is expensive to evaluate and lacks available derivatives, Bayesian Optimization (BO) is the standard approach. However, traditional BO typically treats each task in isolation, ignoring the wealth of data generated during previous optimization runs. This paper introduces the Warm Start Knowledge Gradient (wsKG) framework, designed to accelerate BO by effectively transferring knowledge from historical evaluations to new, related tasks.
The Challenge of Warm Starting
In gradient-based optimization, "warm starting" is straightforward: one simply initializes the search at the optimal point found in the previous task. In BO, however, the goal is to build a global statistical surrogate—usually a Gaussian Process (GP)—of the objective function. Simply starting at the previous optimum discards the information gathered from all other sampled points, including those that revealed where the function performs poorly. Knowing where a function is sub-optimal is often as valuable as knowing where it peaks.
The challenge lies in how to integrate the entire history of evaluations from past tasks into the prior for a new task, especially when the relationship between tasks may be complex and non-stationary across the search space.
The wsKG Framework
The authors propose a joint statistical model that captures the relationship between a set of past tasks (indexed by $\ell = 1, \dots, L$) and the current task (indexed by $\ell = 0$).
1. Modeling Task Differences
The core innovation of wsKG is modeling the difference between tasks rather than the tasks themselves. Let $f(\ell, x)$ represent the objective function for task $\ell$ at point $x$. The difference between a past task and the current task is defined as: $$\delta_\ell(x) = f(\ell, x) - f(0, x)$$
The framework assumes that these deviations, $\delta_\ell$, are drawn from independent GPs. By learning the hyperparameters of these "difference GPs" using Maximum A Posteriori (MAP) estimation from historical data, the model constructs a highly informed prior for the current task $f(0, x)$. This approach allows the model to account for biases and shifts that vary across the input domain, providing a more flexible transfer mechanism than methods assuming a uniform correlation across the entire domain.
2. Acquisition via Knowledge Gradient
With the informed prior in place, the algorithm must decide where to sample next. wsKG utilizes the Knowledge Gradient (KG) acquisition function. Unlike the simpler Expected Improvement (EI), KG evaluates the expected increase in the maximum of the posterior mean that would result from a new observation. This makes it particularly effective for problems where evaluations are extremely limited, as it prioritizes points that offer the highest "value of information."
Experimental Evaluation
The performance of wsKG was benchmarked against standard BO methods—Efficient Global Optimization (EGO) and standard KG—neither of which had access to historical data.
Rosenbrock Family
The Rosenbrock function is a classic optimization benchmark. The authors created a sequence of related tasks by applying various transformations—including sine wave perturbations, spatial shifts, and magnitude biases—to the base function. In these tests, wsKG found near-optimal solutions within just 1 or 2 evaluations, whereas baseline methods required significantly more samples to navigate the modified landscapes.
Assemble-To-Order (ATO)
The ATO problem is an 8-dimensional simulation-based optimization task involving inventory management for a production facility. The tasks represented different operating periods with varying demand and costs.
- Efficiency: wsKG achieved approximately 95% of the optimal profit within only 10 samples.
- Comparison: Standard KG remained 25% below the optimum at the same stage, and EGO failed to reach even 50% of the optimal value after 20 iterations.
- Reliability: wsKG exhibited significantly lower variance across experimental runs, proving it is both faster and more reliable than starting from scratch.
Discussion and Future Work
While wsKG demonstrates remarkable sample efficiency, it faces a computational bottleneck. Standard GP regression scales $O(N^3)$ with the number of observations. As the history of past tasks grows, the cost of updating the joint model increases.
To address this, the authors suggest several future directions:
- Scalability: Integrating scalable GP approximations, such as KISS-GP or data sketching, to handle larger historical datasets.
- Inter-task Correlation: Moving beyond the assumption of independent $\delta_\ell$ terms to model correlations between the past tasks themselves.
- Latent Problems: Modeling all tasks as deviations from a single, unobserved "latent" problem to further improve generalization.
Conclusion
The wsKG framework provides a principled way to "warm start" Bayesian Optimization by leveraging the full history of related tasks. By modeling the spatial differences between tasks as Gaussian Processes, it enables "zero-shot" optimization where the very first sample is guided by a sophisticated understanding of the objective landscape, drastically reducing the cost of optimization in repetitive business and engineering environments.
Summary updated