TL;DR
Standard Bayesian optimization assumes querying a new point is independent of the previous one, but real-world experiments (like chemical synthesis or robotics) incur significant costs and safety risks when moving between operating conditions. This paper introduces three practical extensions to the path-based optimization algorithm SnAKe: automated self-stopping, hard constraints on maximum step sizes, and multi-objective Pareto optimization. These additions drastically reduce experimental movement costs while maintaining solution quality across synthetic and chemical benchmarks.
What Problem Does This Paper Address?
In physical labs and robotic systems, running an experiment involves two distinct costs:
- The fixed cost of running the trial (e.g., reagents, sensor runtime), and
- The transition cost of moving from one parameter set to another (e.g., heating up a reactor, moving an autonomous vehicle).
Path-based Bayesian Optimization (BO) plans trajectories over parameter space to minimize cumulative transition overhead. A leading method, SnAKe, generates candidate batches with Thompson Sampling, orders them via the Travelling Salesman Problem (TSP), and prunes points dynamically. However, vanilla SnAKe suffered from three major practical limitations:
- Fixed horizon: Users had to fix the total number of iterations $T$ in advance, running the risk of either stopping too early or burning expensive materials long after reaching convergence.
- Unbounded step sizes: While cumulative movement was minimized, individual step sizes were unrestricted, which is unacceptable for systems governed by physical rate-of-change limits (e.g., maximum temperature ramps).
- Single-objective focus: Many experimental workflows inherently demand optimizing multiple trade-offs (e.g., yield vs. reaction time).
Methods
The authors build directly on top of the SnAKe framework with three targeted extensions:
- Self-stopping SnAKe (ssSnAKe): Incorporates Expected Improvement per unit cost ($\text{EIpu}$) into SnAKe’s point-deletion heuristic. A candidate experiment is pruned if its expected improvement per cost falls below a threshold $\delta > 0$. Crucially, to prevent premature stopping caused by model misspecification early on, points are only pruned if their posterior predictive variance is also below a safety threshold $\nu$ ($\text{Var}[x_p | D_t] < \nu$).
- Truncated SnAKe (TrSnAKe): Enforces a hard movement limit $\|x_{t+1} - x_t\| \le \delta_{\text{MAX}}$. If a proposed step exceeds $\delta_{\text{MAX}}$, the step is truncated along the same unit direction: $$x_{t+1} \leftarrow x_t + \frac{x_{t+1} - x_t}{\|x_{t+1} - x_t\|}\delta_{\text{MAX}}$$
- Multi-objective SnAKe (MO-SnAKe): Adapts random scalarizations (both linear and augmented Tchebyshev scalarizations) to sample candidate Pareto points efficiently via Thompson Sampling. Candidates are then routed using the TSP planner just like single-objective SnAKe.
Datasets
The authors evaluate their extensions across synthetic and real-world benchmark problems:
- Synthetic benchmarks: Branin2D, Hartmann3D, and Hartmann6D functions, tested with transition costs modeled as $C(x_t, x_{t+1}) = \alpha + \|x_{t+1} - x_t\|_2$.
- Environmental monitoring: The 4D Shekel function, which models spatial pollutant distribution in Lake Ypacaraí.
- Chemical engineering: The SnAr (nucleophilic aromatic substitution) benchmark from the Summit optimization suite, involving simultaneous trade-offs in yield and cost.
Key Insights and Ideas
- Variance guards fix premature stopping: Standard $\text{EIpu}$ frequently stalls out after just a few samples because initial Gaussian Process uncertainty can underestimate the value of distant points. Conditioning stopping on posterior variance ($\text{Var}[x] < \nu$) prevents premature termination and makes the stopping iteration largely invariant to the arbitrary maximum budget chosen.
- Heuristic truncation beats unconstrained exploration under penalties: When step penalties are modeled as large step-cost jumps, standard BO baselines waste enormous budgets incurring penalties. Truncating candidates along their travel path yields superior performance in high-cost regimes.
- Scalable Pareto routing: Combining random scalarizations with path planning delivers Pareto fronts on par with standard multi-objective Thompson Sampling, but at a fraction of the parameter-adjustment overhead.
Key Results
- Robust Stopping (ssSnAKe): On Hartmann6D, vanilla $\text{EIpu}$ stopped after an average of only 8 queries due to misspecification. In contrast, ssSnAKe self-terminated after an average of 76 queries (when max budget was 100) and 83 queries (when max budget was 250), reaching near-optimal regret while avoiding the full 250-query expenditure.
- Rate-of-Change Constraints (TrSnAKe): TrSnAKe outperformed Truncated EI (TrEI) and unconstrained SnAKe in three of four tested benchmark settings, preventing heavy step penalties when traversing constrained parameter spaces.
- Massive Cost Reductions in Multi-Objective Problems (MO-SnAKe):
- On the Shekel benchmark, MO-SnAKe matched the Generational Distance (GD: 0.05 vs 0.05) of standard Scalarized Thompson Sampling (TS) while slashing transition cost from $57.21 \pm 12.97$ down to $9.60 \pm 6.12$.
- On the real-world SnAr chemistry benchmark, MO-SnAKe achieved comparable inverted generational distance (IGD: 0.18 vs 0.18) while cutting movement cost from $1602.68 \pm 401.3$ to $478.43 \pm 219.16$ (under Tchebyshev scalarization).
Limitations and Future Work
- High Dimensions and Small Budgets: SnAKe's candidate batch generation and TSP-based path construction struggle in very high dimensions and low-budget scenarios ($< 100$ iterations), where meta-learning variants like MONGOOSE may be required.
- Tight Step-Size Bottlenecks: When step-size limits ($\delta_{\text{MAX}}$) become extremely small, local methods like Truncated EI slightly outperformed TrSnAKe on Hartmann3D, as global path planning provides diminishing returns when movement is severely restricted.
- Relaxed Pareto Evaluation: In chemical benchmarks where parts of the Pareto front are nearly horizontal, standard metrics (IGD, MPFE) can penalize algorithms that explore the objective boundaries. The authors propose relaxed Pareto definitions as a workaround, but developing more robust multi-objective metrics under path constraints remains open.
Summary updated