Abstract
Standard Bayesian Optimization (BO) typically assumes a static objective function. However, many real-world applications—such as stock market prediction, environmental monitoring, or robot control—involve functions that drift over time. This paper introduces ET-GP-UCB, an event-triggered algorithm designed for Time-Varying Bayesian Optimization (TVBO). By monitoring probabilistic uniform error bounds, the algorithm detects when the objective function has shifted and adaptively resets its dataset. Our results demonstrate that ET-GP-UCB outperforms existing state-of-the-art methods, particularly when the rate of change is unknown, providing a robust and self-tuning solution for dynamic optimization problems.
Introduction
Bayesian Optimization is a powerful tool for optimizing expensive "black-box" functions. Despite its success, the standard formulation assumes the underlying function $f(x)$ is stationary. In reality, we often face non-stationary environments where the optimal solution shifts due to hardware wear, environmental changes, or market dynamics.
Existing TVBO algorithms, such as TV-GP-UCB, often rely on a pre-specified "forgetting factor" or a known rate of change ($\epsilon$). These parameters are notoriously difficult to tune in practice; an incorrect guess leads to either the retention of stale, misleading data or the premature discarding of valuable information. ET-GP-UCB addresses this by treating the problem as static until a significant change is detected, eliminating the need for prior knowledge of the drift rate.
Methodology: ET-GP-UCB
The core innovation of ET-GP-UCB is the integration of an Event Trigger into the Gaussian Process Upper Confidence Bound (GP-UCB) framework. The algorithm consists of three main pillars:
- The Event Trigger: Instead of forgetting data at a fixed interval, the algorithm monitors the "surprise" of new observations. It uses probabilistic uniform error bounds from Gaussian Process regression to define a threshold. If a new measurement $y_t$ deviates significantly from the model's prediction, the trigger fires, signaling a likely shift in the objective function.
- Adaptive Resets: Once a change is detected, the algorithm resets its dataset. Theoretical analysis provided in the paper shows that as long as these resets occur within a specific time window, the algorithm maintains desirable regret bounds, ensuring it eventually converges to the new optimum.
- Backtracking Extension: To mitigate the cost of a total reset in high-dimensional spaces, the authors introduce a backtracking mechanism. This approach checks recent data points against the trigger and retains those that still fit the new reality, providing a "warm start" for the next optimization phase.
Experimental Evaluation
The algorithm was rigorously tested against several benchmarks:
- Synthetic Functions: 2D and 8D functions with controlled temporal drift to test robustness against misreported change rates.
- Intel Research Berkeley Temperature Data: A spatio-temporal dataset from 46 sensors where the goal is to track the fluctuating maximum temperature.
- Cart-Pole Policy Search: A 4D control problem where the system's friction changes abruptly, testing the algorithm's ability to adapt to sudden shocks.
- Stock Market Data: Evaluated against algorithms designed for finite variational budgets.
Key Results
ET-GP-UCB demonstrated superior performance across all benchmarks, particularly in scenarios where the rate of change was unknown or misreported to baseline algorithms. In synthetic tests, it significantly outperformed methods that relied on fixed forgetting factors. On the Berkeley temperature dataset, ET-GP-UCB achieved lower cumulative regret and exhibited much lower variance across runs compared to periodic reset strategies.
In the cart-pole experiment, the algorithm successfully detected a sudden friction change at $t=100$ and quickly converged to the new optimal control policy, whereas static BO methods failed to adapt to the stale data.
Conclusion and Future Work
ET-GP-UCB provides a robust framework for TVBO by shifting the focus from how often to reset to when to reset. By tying resets to actual model mismatches, it adapts to both sudden shocks and gradual drifts without requiring manual tuning of drift parameters.
Future research directions include improving local detection—as the current trigger only checks for changes at sampled locations—and developing more sophisticated data-pruning strategies beyond simple backtracking to identify subtle, long-term trends.
Summary updated