BOCoDe: Engineering-Centered Benchmarking for Bayesian Optimization

Rosen Ting-Ying Yu, Christophe Hatterer, Advaith Narayanan, Cyril Picard, Faez AhmedarXiv 2026

TL;DR

While Bayesian Optimization (BO) is highly effective for expensive black-box problems, it is traditionally benchmarked on simple synthetic functions or hyperparameter tuning tasks. This paper introduces BOCoDe, a unified, open-source benchmark suite featuring 159 real-world engineering design problems alongside standard baselines. The authors demonstrate that algorithm rankings from standard benchmarks do not reliably transfer to engineering tasks, exposing a critical gap in how BO methods are evaluated.

What Problem Does This Paper Address?

Bayesian Optimization (BO) excels at optimizing "black-box" functions where evaluations are expensive and gradients are unavailable. However, the BO community primarily evaluates new algorithms using two families of problems: simple, smooth synthetic mathematical functions (like Branin or Rosenbrock) and machine learning hyperparameter optimization (HPO) tasks.

Real-world engineering design (e.g., robotics, structural mechanics, materials science) presents a completely different challenge. These problems are physics-based, highly constrained (by cost, safety, or manufacturability), frequently multi-objective, and often feature mixed-variable (continuous and discrete) search spaces. Because engineering benchmarks have historically been scattered across incompatible codebases with conflicting dependencies, researchers have relied on the untested assumption that algorithms performing well on synthetic or HPO tasks will automatically excel in real-world engineering.

Methods

To bridge this gap, the authors developed BOCoDe (Bayesian Optimization for Computational Design), a PyTorch-native benchmarking framework. Key methodological contributions include:

  • Unified API: A single, standardized Python interface compatible with popular open-source BO libraries like BoTorch and Ax. Every problem is framed as a canonical maximization task with explicit inequality constraints.
  • Programmatic Discovery: Each problem is accompanied by a machine-readable JSON metadata file detailing its dimensions, bounds, and objectives, making the suite fully accessible to automated LLM-based agents.
  • Statistical Ranking Protocol: Instead of relying on simple mean performances, the framework integrates a robust non-parametric ranking protocol (Friedman omnibus test and Nemenyi post-hoc tests) to evaluate algorithms reliably across highly diverse problem scales.
  • Surrogate Flexibility: The framework allows users to swap out standard Gaussian Process (GP) surrogates for Random Forests or Tabular Foundation Models (TFMs) like TabPFN and TabICL.
Figure 1: Overview of BOCoDe, a benchmark suite with 307 BBO problems featuring 159 engineering tasks, which aims to provide an efficient framework for solving real-world engineering design optimization problems.

Datasets

BOCoDe aggregates 307 black-box optimization problems categorized into three distinct domains:

  1. Engineering (159 problems): Real-world structural, mechanical, and control optimization tasks drawn from computational engineering literature, including vehicle design, trajectory optimization, and truss structures.
  2. Synthetic (68 problems): Standard analytical test functions commonly used in the BO literature.
  3. HPO (80 problems): Hyperparameter optimization baselines sourced from AutoML benchmarks.

Key Insights and Ideas

  • Structural Disconnect: Engineering tasks uniquely populate the high-dimensional, multi-objective, and heavily constrained regions of the problem space that synthetic and HPO suites completely omit.
  • Behavioral Disjointedness: Using TabPFN behavioral embeddings visualized via t-SNE, the authors proved that engineering design problems cluster into regions that are largely disjoint from standard HPO clusters, confirming they represent a fundamentally different optimization regime.
Figure 3: Two-dimensional t-SNE projection of per- problem TabPFN (v3) embeddings, colored by domain. Each point in the plot is one problem, represented by a 512-dimensional vector from TabPFN’s per-problem em- beddings. Nearby points have similar embeddings.
  • The "Rank Transfer" Illusion: Top-performing algorithms on synthetic benchmarks frequently reshuffle or drop in rank when applied to engineering problems. Testing exclusively on toy functions provides a misleading picture of real-world utility.
  • Foundation Models as Surrogates: Off-the-shelf Tabular Foundation Models (specifically TabICL) proved to be statistically indistinguishable from well-tuned Gaussian Processes on several engineering classes, opening a promising new avenue for TFM-based BO.

Key Results

  • Rank Reversals: For single-objective unconstrained problems, trust-region methods like BAxUS and GP-TuRBO lead on synthetic functions. However, on engineering and HPO tasks, Vanilla-HD-BO climbs from the bottom of the pack to first place.
  • The Constraint Ceiling: On synthetic constrained problems, almost all tested algorithms maintain a feasibility rate near 100%. On real engineering problems, however, the feasibility rate drops drastically to between 51% and 91%, exposing severe real-world limitations in standard constraint-handling techniques.
  • Surrogate Performance: In surrogate ablation studies, TabICL-SCBO statistically tied with standard GP-SCBO (Critical Difference = 0.69), demonstrating that foundation models can serve as highly competitive surrogates for engineering design.

Limitations and Future Work

While extensive, BOCoDe currently lacks comprehensive coverage for multi-objective, mixed-variable engineering problems. Additionally, existing Tabular Foundation Models do not yet support multi-objective optimization, leaving an open research gap.

The authors plan to continuously expand the suite by integrating larger-scale problems directly linked to heavy numerical simulators (such as computational fluid dynamics and finite element analysis solvers) and intend to maintain BOCoDe as an open-source, community-driven PyPI package.

Summary updated

BibTeX
@misc{yu2026bocode,
  author = {Rosen Ting-Ying Yu and Christophe Hatterer and Advaith Narayanan and Cyril Picard and Faez Ahmed},
  title = {{BOCoDe: Engineering-Centered Benchmarking for Bayesian Optimization}},
  year = {2026},
  eprint = {2608.15073},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15073},
}
Figure