Skip to main content
Back

Universität Augsburg's PolarBear Cuts Algorithm Benchmarking Costs by 59%

PolarBear replaces fragile benchmark scalars with a Bayesian racing procedure that finds which optimization algorithms are truly unbeatable — at any compute budget

Pro

Paper, Full Access
  • PolarBear identifies which optimization algorithms are Pareto-optimal across all compute budgets using Bayesian inference over rankings — no global optima needed.
  • Uses a temporal Plackett-Luce model to infer win probabilities at each timepoint, enabling calibrated uncertainty about algorithm dominance.
  • Achieves 59% fewer function evaluations than exhaustive benchmarking on MA-BBOB by eliminating dominated algorithms early and stopping when pairwise relationships are resolved.
  • Works on arbitrary instance distributions with unknown optima, heterogeneous dimensionality, and wall-clock time as the budget axis — settings where traditional EAF/ECDF/AOCC methods fail.
  • Supports dynamic algorithm insertion mid-race without restarting, enabling integration with automated algorithm design pipelines.
  • Code will be released as an open-source toolbox built on PyMC and Stan; paper available at arXiv:2603.08493.

Picking the right optimization algorithm for a deployment scenario has always been messier than it looks. You run your benchmarks, look at the plots, pick a winner , and then realize the winner changes depending on how long you actually let the algorithms run. A new paper from Universität Augsburg proposes a principled fix: treat algorithm comparison itself as a Pareto optimization problem over time, and use Bayesian inference to figure out which algorithms are genuinely unbeatable.

The result is PolarBear (Pareto-Optimal Anytime Algorithms via Bayesian Racing), a framework that replaces the usual single-number benchmarking summaries with a ranked set of algorithms that are each optimal under some possible time preference , without ever needing to know the global optimum of the problem being solved.

The benchmarking trap nobody talks about

The standard toolkit for comparing anytime optimization algorithms , algorithms that can return a valid solution at any point during execution , relies on tools like the Empirical Attainment Function (EAF), the Empirical Cumulative Distribution Function (ECDF), and the Area Over the Convergence Curve (AOCC). These are sophisticated, but they all share a critical weakness.

Current methods either collapse anytime performance into a scalar, require manual interpretation of plots, or produce conclusions that change when algorithms are added or removed. Moreover, methods based on raw objective values require normalization, which needs bounds or optima that are often unavailable and breaks coherent aggregation across instances. In practice, this means if you add a new algorithm that finds a better solution, the normalization bounds shift, and all your historical comparisons become invalid.

There is also a deeper conceptual problem. When algorithm A finds a solution with objective value 47.3 and algorithm B finds one with value 52.1, you know A is better , but what does the difference of 4.8 actually mean? Is it hard to achieve? Easy? The answer depends on the fitness landscape, and in black-box optimization, you typically have no idea. The paper argues that rankings , not raw values , are the only information you can actually trust.

Pareto fronts, but for algorithms over time

The core idea is elegant. Instead of collapsing an algorithm's entire time-performance curve into a single number, the framework treats each moment in time as a separate objective. An algorithm is non-dominated if no competitor beats it at every timepoint. The set of all such non-dominated algorithms is the anytime Pareto set , the minimal output that supports algorithm selection under any possible time preference.

This matters because two algorithms can have genuinely different strengths: one might converge fast but stagnate, while another starts slowly but keeps improving. Both can be optimal depending on whether you have 100 milliseconds or 10 minutes. A scalar like AOCC makes them indistinguishable. The Pareto set preserves this tradeoff.

By using rankings rather than objective values, the approach requires no bounds, no normalization, and aggregates coherently across arbitrary instance distributions without requiring known optima. This is not just a practical convenience , it is mathematically principled. The paper shows that rankings satisfy the Independence of Irrelevant Alternatives (IIA) property: adding or removing an algorithm from the comparison does not change what you believe about any other pair.

The Plackett-Luce engine under the hood

To turn rankings into calibrated probability estimates, PolarBear uses a temporal Plackett-Luce (PL) model , a generalization of the Bradley-Terry pairwise comparison model that handles full rankings efficiently. The key insight is that each algorithm has a latent "win probability" at each timepoint, and the PL model lets you infer these from observed rankings across problem instances.

The temporal structure is modeled with a hierarchy of priors, from simple independent Dirichlet models (fast, parallelizable) to Gaussian Process priors (smooth, captures temporal correlation) to B-splines and random walks. The choice trades off computational cost against statistical efficiency:

  • Independent Dirichlet: Fastest, embarrassingly parallel across timepoints. Best for large T or when no temporal smoothness is expected.
  • Gaussian Process (GP): Smooth temporal inference, but O(T³) , impractical beyond ~60 timepoints without approximation.
  • Hilbert Space GP (HSGP): Reduces GP cost to O(Tm), practical for hundreds of timepoints.
  • B-spline: Fastest among temporally-aware models, stays under 100 seconds even at T=100 timepoints.
  • Random Walk: Markov model, O(T), good for fixed discrete grids.

Inference is done via MCMC (using PyMC with JAX backend and NumPyro sampler, or Stan), with Pathfinder approximation available for the independent models. For typical benchmarking scenarios (n ≤ 30, P ≤ 100), inference remains under 10 seconds per timepoint using Stan's Pathfinder.

The racing procedure: eliminate early, stop when confident

PolarBear is not just a statistical model , it is an active experimental design procedure. It runs algorithms on batches of problem instances, updates the posterior after each batch, and eliminates algorithms that are confidently dominated. The IIA property makes this safe: eliminating a dominated algorithm does not invalidate any inference about the remaining candidates.

AOCC distributions across seven CMA-ES variants and random search, showing bimodal distributions for most algorithms

The procedure terminates when all pairwise relationships among surviving algorithms are resolved , either one dominates the other with high posterior probability, or they are declared practically equivalent (within a configurable ROPE, region of practical equivalence). Key design choices include:

  • Pointwise vs. joint elimination: Pointwise checks each timepoint independently (faster but can be overconfident with correlated trajectories). Joint elimination requires simultaneous dominance across all timepoints , more conservative and correct.
  • Crossing resolution: If two algorithms confidently cross (A beats B early, B beats A late), both stay in the Pareto set and the pair is marked resolved immediately , no need to keep sampling.
  • Adaptive batch sizing: Doubles batch size when no pairs resolve (slow progress), halves it when many resolve (diminishing returns). Keeps the procedure efficient across easy and hard comparisons.
  • Dynamic algorithm insertion: New algorithms can be added mid-race without restarting, thanks to IIA. The new candidate runs on cached instances from previous rounds and is compared against existing survivors.

What the output actually gives you

The output of PolarBear is a Pareto set plus a calibrated posterior over win probabilities at every timepoint. At deployment time, when you finally know your compute budget, you can query this posterior under any time preference , uniform budget, log-uniform (favoring early solutions), a specific fixed cutoff, or a distribution over possible budgets. Selection criteria include:

  • Probability of being best (P2BB): Pick the algorithm most likely to be optimal under your preference.
  • Expected value (risk-neutral): Pick the algorithm with highest posterior mean value.
  • Lower quantile (risk-averse): Pick the algorithm with the best worst-case performance at a specified percentile.

All of this is computed from existing posterior samples , no additional experiments needed at deployment time.

Benchmarks: where it works and what it finds

The paper validates PolarBear on three case studies. The first uses synthetic ground truth to verify correctness. The second applies it to the MA-BBOB benchmark suite, comparing seven CMA-ES variants with different step-size adaptation mechanisms (CSA, MSR, TPA, XNES, MXNES, LPXNES) plus random search.

PolarBear identified the anytime Pareto set as {CSA, TPA, MXNES, XNES} , consistent with what EAF and ECDF plots suggest, but with calibrated uncertainty and without requiring manual interpretation. Critically, PolarBear took 59% fewer total function evaluations (1.72·10⁸ vs. 4.2·10⁸) compared to evaluating all seven algorithms up to the maximal budget on 1000 instances, as standard practice for MA-BBOB.

EAF difference heatmap comparing CSA vs MXNES, showing MXNES better early and CSA better later

The third case study is where PolarBear really shines. It compares eight CMA-ES variants on a custom benchmark (GP-BBOB) with unknown global optima, heterogeneous dimensionality (d ~ N(240, 30²)), and wall-clock time as the budget axis , a setting where traditional methods simply cannot operate. The question: does expensive covariance matrix adaptation pay off in wall-clock time on high-dimensional problems?

The answer was no. The O(d³) eigendecomposition cost of full covariance adaptation and the O(d²) alternatives were dominated by O(d) diagonal adaptation (SEP) and no adaptation (NONE). Under a uniform time preference, NONE and SEP were nearly indistinguishable, with SEP preferred for budgets under 10 seconds and NONE for longer runs. This kind of question , hardware-specific, distribution-specific, with unknown optima , was previously unanswerable with principled methods.

Limitations worth knowing

PolarBear is not a drop-in replacement for all benchmarking workflows. A few things to keep in mind:

  • Ties slow inference: When many algorithms converge to the same optimum (common on easy problems), the tie-expansion procedure can significantly slow down MCMC.
  • Temporal models can be slow: The HSGP and random walk models require MCMC (Pathfinder fails for them), and at T=100 timepoints with 5 algorithms and 30 instances, MCMC takes around 300 seconds.
  • No instance-feature conditioning: The current framework marginalizes over instances by pooling rankings. If you want instance-conditional selection ("given this specific problem structure, which algorithm?"), you need hierarchical extensions that are left for future work.
  • Multi-objective algorithms: Hypervolume and related indicators don't satisfy the max-aggregation property needed for clean portfolio comparisons. Native treatment of partial orders is future work.

The real breakthrough

What PolarBear actually delivers is a shift in what benchmarking can answer. Previously, you had to choose: either benchmark on controlled problems with known optima (limiting realism) or accept that your comparisons are fragile and budget-dependent. PolarBear removes both constraints simultaneously. You can benchmark on your actual target distribution, with your actual hardware, using wall-clock time as the budget axis, and get a statistically rigorous answer about which algorithms are worth keeping , without knowing the global optimum of a single problem instance.

The code is implemented in PyMC and Stan, with both independent and temporal GP models available. The implementation of PolarBear will be released upon publication as part of a broader open-source toolbox. The paper is available now on arXiv.