Research Context and Future Directions#

This section places Panobbgo in the broader context of optimization research and outlines future research directions.

Inspiration: SNOBFIT#

Panobbgo is inspired by SNOBFIT (Stable Noisy Optimization by Branch and Fit) [Huyer2008].

SNOBFIT’s Key Ideas#

  1. Quadratic local models with uncertainty quantification

  2. Branch-and-bound spatial decomposition of search space

  3. Noise handling through repeated evaluations and safeguards

  4. Adaptive sampling balancing exploration and exploitation

Panobbgo’s Innovations#

While inspired by SNOBFIT, Panobbgo introduces several innovations:

Aspect

SNOBFIT

Panobbgo

Architecture

Monolithic algorithm

Modular components (heuristics, analyzers)

Search strategy

Single algorithm

Multiple heuristics working together

Adaptation

Fixed strategy

Multi-armed bandit learns heuristic performance

Extensibility

Closed system

Event-driven plug-in architecture

Parallelism

Sequential

Dask distributed integration from start

Theoretical Properties#

Convergence Guarantees#

Theorem (Informal): Under mild assumptions, Panobbgo converges to the global optimum almost surely as the number of evaluations \(N \to \infty\).

Assumptions:

  1. \(f\) is locally Lipschitz continuous almost everywhere

  2. At least one heuristic performs dense sampling (e.g., Random)

  3. Multi-armed bandit maintains non-zero selection probability for all heuristics (via additive smoothing)

Proof Sketch:

  1. Dense sampling ensures every region eventually explored

  2. Local heuristics (NelderMead, Nearby) ensure refinement

  3. Adaptive selection focuses on promising regions

  4. Lexicographic ordering handles constraints correctly

Convergence Rate: Problem-dependent, but typically:

  • Easy problems (unimodal, smooth): \(O(\log N)\) evaluations to \(\epsilon\)-optimum

  • Hard problems (highly multimodal): \(O(N^{\alpha})\) for \(\alpha < 1\)

Complexity Analysis#

Per-iteration complexity:

  • Sorting results: \(O(N \log N)\)

  • Pareto updates: \(O(N \cdot |\text{Front}|) = O(N \log N)\) typically

  • Event dispatching: \(O(|H| + |A|)\) where \(|H|\) = heuristics, \(|A|\) = analyzers

  • Total: \(O(N \log N)\) per iteration

Overall complexity:

  • Function evaluations: \(O(N_{max})\) (the actual bottleneck)

  • Framework overhead: \(O(N_{max}^2 \log N_{max})\) worst case

  • Practical overhead: \(O(N_{max} \log N_{max})\) (negligible compared to evaluations)

Parallelism:

  • Up to \(P\) simultaneous evaluations (cluster size)

  • Wall-clock time: \(O(N_{max} / P)\) assuming balanced load

  • Communication overhead: Minimal (Dask handles efficiently)

Current Research Challenges#

High-Dimensional Optimization#

Challenge: Curse of dimensionality—exponential growth of search space

Current approaches:

  • Random embeddings [Wang2013]

  • Coordinate descent

  • Additive models

Panobbgo future work:

  • Implement random embedding heuristic

  • Coordinate-wise optimization strategy

  • Dimension reduction analyzers

Multi-Fidelity Optimization#

Challenge: Leverage cheap low-fidelity evaluations to guide expensive high-fidelity ones

Example: CFD simulation at coarse vs. fine mesh

Approach:

  • Low-fidelity: Fast, less accurate

  • High-fidelity: Slow, accurate

  • Learn correlation, allocate budget optimally

Panobbgo future work:

  • Multi-fidelity Problem class

  • Fidelity-aware heuristics

  • Budget allocation strategy

Constraint Handling#

Challenge: Efficiently find feasible solutions

Current Panobbgo: Pluggable ConstraintHandler implementations:

  • DefaultConstraintHandler — lexicographic ordering (feasibility first)

  • PenaltyConstraintHandler — static penalty \(f(x) + \rho \cdot cv(x)^{e}\)

  • DynamicPenaltyConstraintHandler — penalty coefficient increases over time

  • AugmentedLagrangianConstraintHandler — adaptive multipliers \(\lambda\) and penalty \(\mu\)

  • EpsilonConstraintHandler — tolerance \(\epsilon(t)\) shrinks towards zero

  • FilterConstraintHandler — Pareto-dominance filter on \((f, cv)\)

Complemented by constraint-focused heuristics: FeasibleSearch (line search to feasibility), ConstraintGradient (finite-difference constraint-gradient descent), LocalPenaltySearch (scipy local optimiser on the scalarised penalty), and ConstraintRepair (SLSQP projection).

Future work:

  • Feasibility pump analyzer

  • Adaptive penalty parameters guided by the Sensitivity analyzer

  • Constraint approximation / surrogate-assisted repair

Robust Optimization#

Challenge: Optimize under uncertainty in parameters or noise

Formulation:

\[\min_{x} \mathbb{E}[f(x, \xi)] \quad \text{or} \quad \min_x \max_\xi f(x, \xi)\]

where \(\xi\) represents uncertainty

Panobbgo future work:

  • Stochastic evaluation with confidence intervals

  • Worst-case optimization heuristics

  • Robust best analyzer

Transfer Learning#

Challenge: Learn from previous optimization runs on related problems

Approach:

  • Meta-learning: Learn heuristic performance across problem classes

  • Warm-start: Initialize from previous solutions

  • Feature extraction: Characterize problem properties

Panobbgo future work:

  • Problem feature extraction

  • Heuristic performance database

  • Meta-strategy that initializes bandit weights

Future Directions#

Recently Completed#

The following items from earlier roadmaps have been implemented:

  1. Gaussian Process Surrogate — see GaussianProcessHeuristic (scikit-learn, Matérn-5/2 kernel, EI / UCB / PI acquisition, constrained EI).

  2. Persistent Storage — SQLite backend for Results with automatic resume-from-checkpoint (see panobbgo.storage).

  3. Convergence Detection — Convergence analyzer with std and improv modes publishing a converged event.

  4. Better Constraint Handling — multiple constraint handlers (Default, Penalty, DynamicPenalty, AugmentedLagrangian, Epsilon, Filter) plus constraint-focused heuristics (FeasibleSearch, ConstraintGradient, LocalPenaltySearch, ConstraintRepair).

  5. Advanced Bandit Strategies — StrategyUCB, StrategyThompsonSampling, and contextual StrategyLinUCB.

  6. Budget-Phased Meta-Strategy — StrategyPhased composes different sub-strategies and heuristic portfolios across budget phases.

  7. Population-Based Global Search — CMAES with IPOP restart support via Restart, and DifferentialEvolution.

  8. Sensitivity Analysis — Sensitivity with a sensitivity-aware Nearby heuristic.

  9. Reproducible Benchmark Harness — see panobbgo.harness and benchmark_harness.py CLI for measuring the impact of code changes on optimisation performance.

Short-Term Improvements#

  1. Enhanced Visualization

    • Real-time optimization plots

    • Convergence dashboards

    • Pareto front visualization

    • Heuristic performance tracking

  2. Parallel Batch Generation (q-acquisition)

    • Generate batches considering pending evaluations

    • Avoid redundant sampling (q-EI, q-UCB)

    • Optimize batch diversity

Medium-Term Research#

  1. Multi-Fidelity Support

    • Multi-fidelity Problem class

    • Fidelity allocation strategy

    • Low/high-fidelity coordination

  2. Dimension Reduction

    • Random embeddings

    • Active subspace detection

    • Coordinate importance ranking (building on the Sensitivity analyzer)

  3. Benchmarking Suite

    • Standardized test problems

    • Performance profiles [Dolan2002]

    • Comparison with state-of-the-art

Long-Term Vision (1-2 years)#

  1. Transfer Learning Framework

    • Meta-learning across problem families

    • Heuristic performance prediction

    • Automatic portfolio construction

  2. AutoML Integration

    • Hyperparameter optimization for ML models

    • Neural architecture search

    • Ensemble model optimization

  3. Distributed Computing

    • Cloud-native deployment

    • Container orchestration (Kubernetes)

    • Serverless function evaluation

  4. Interactive Optimization

    • User-in-the-loop feedback

    • Preference learning

    • Multi-objective trade-off exploration

  5. Symbolic Regression Integration

    • Learn interpretable models of \(f\)

    • Symbolic surrogate optimization

    • Physical constraint discovery

Bandit Strategy Benchmarking


Panobbgo includes a comprehensive benchmarking suite for comparing different adaptive strategies (multi-armed bandits).

Benchmark Script#

The script benchmarks/run_bandit_comparison.py allows you to empirically compare the performance of:

  • RoundRobin: Deterministic baseline

  • Rewarding: Softmax-based adaptive strategy

  • UCB: Upper Confidence Bound (UCB1)

  • Thompson: Thompson Sampling (Beta-Bernoulli)

  • LinUCB: Contextual bandit using problem features

Usage:

uv run python benchmarks/run_bandit_comparison.py

This generates convergence plots and a summary CSV in benchmarks/results_bandits/.

Strategies Compared#

  1. StrategyRoundRobin: Cycles through heuristics in a fixed order. Serves as a robust baseline that ensures all heuristics get equal resources.

  2. StrategyRewarding: Uses a weighted probability distribution (Softmax) based on recent performance. Rewards are discounted over time to adapt to changing landscapes.

  3. StrategyUCB: Balances exploration (uncertainty) and exploitation (average reward) using the UCB1 algorithm. Effective for stationary distributions but adapts slowly.

  4. StrategyThompsonSampling: Maintains a Beta distribution for each heuristic’s success probability. Samples from these distributions to select heuristics, naturally handling exploration-exploitation trade-offs.

  5. StrategyLinUCB: Learns a linear mapping from context features (e.g., budget progress, global success rate) to expected reward for each heuristic. Allows the strategy to learn when to use specific heuristics (e.g., exploration early, local search late).

Contributing to Research#

Academic Usage#

If you use Panobbgo in academic research, please cite:

@software{panobbgo,
  author = {Schilly, Harald},
  title = {Panobbgo: Parallel Noisy Black-Box Global Optimization},
  year = {2012-2025},
  url = {https://github.com/haraldschilly/panobbgo},
  version = {0.0.1}
}

Research Collaboration#

We welcome research collaborations! Areas of interest:

  • Novel heuristic designs

  • Adaptive strategy algorithms

  • Application domains (materials, aerospace, etc.)

  • Theoretical analysis (convergence, complexity)

  • Benchmarking studies

Contact: See https://github.com/haraldschilly/panobbgo

Open Problems#

Interesting open questions:

  1. Optimal heuristic portfolio: What’s the minimal set of heuristics for broad effectiveness?

  2. Dynamic portfolio: Can we add/remove heuristics during optimization?

  3. Problem fingerprinting: What features predict which heuristics will work?

  4. Parallel efficiency: How to minimize redundant evaluations in parallel batches?

  5. Noisy constraints: How to handle stochastic constraint violations?

Experimental Validation#

Benchmark Problems#

Standard test suites for validation:

Performance Metrics#

Common metrics for comparison:

  1. Best value found: \(f(x^*)\)

  2. Success rate: Fraction reaching \(\epsilon\)-optimum

  3. Convergence speed: Evaluations to reach target

  4. Robustness: Performance variance across runs

  5. Pareto front quality: For constrained/multi-objective

Experimental Design#

Rigorous benchmarking requires:

  • Multiple runs: Account for stochasticity (typically 20-50 runs)

  • Statistical tests: Wilcoxon, Friedman, etc.

  • Performance profiles: Visualize relative performance

  • Fair comparison: Equal budgets, same problems

  • Reproducibility: Fixed seeds, documented setup

References#

[Auer2002]

Auer, P., Cesa-Bianchi, N., & Fischer, P. (2002). Finite-time analysis of the multiarmed bandit problem. Machine Learning, 47(2), 235-256.

[Brochu2010]

Brochu, E., Cora, V. M., & De Freitas, N. (2010). A tutorial on Bayesian optimization of expensive cost functions. arXiv preprint arXiv:1012.2599.

[Dolan2002]

Dolan, E. D., & Moré, J. J. (2002). Benchmarking optimization software with performance profiles. Mathematical Programming, 91(2), 201-213.

[Hansen2001]

Hansen, N., & Ostermeier, A. (2001). Completely derandomized self-adaptation in evolution strategies. Evolutionary Computation, 9(2), 159-195.

[Hansen2009]

Hansen, N., Auger, A., Ros, R., Finck, S., & Pošík, P. (2009). Comparing results of 31 algorithms from the black-box optimization benchmarking BBOB-2009. ACM SIGEVO, 1(1), 1-25.

[Huyer2008]

Huyer, W., & Neumaier, A. (2008). SNOBFIT–stable noisy optimization by branch and fit. ACM Trans. Math. Softw., 35(2), 1-25.

[Jones1993]

Jones, D. R., Perttunen, C. D., & Stuckman, B. E. (1993). Lipschitzian optimization without the Lipschitz constant. Journal of Optimization Theory and Applications, 79(1), 157-181.

[Kirkpatrick1983]

Kirkpatrick, S., Gelatt, C. D., & Vecchi, M. P. (1983). Optimization by simulated annealing. Science, 220(4598), 671-680.

[Liang2013]

Liang, J. J., Qu, B. Y., & Suganthan, P. N. (2013). Problem definitions and evaluation criteria for the CEC 2014 special session and competition on single objective real-parameter numerical optimization. Technical Report.

[Mezura2006]

Mezura-Montes, E., & Coello, C. A. C. (2006). A simple multimembered evolution strategy to solve constrained optimization problems. IEEE Transactions on Evolutionary Computation, 9(1), 1-17.

[Mockus1989]

Mockus, J. (1989). Bayesian Approach to Global Optimization: Theory and Applications. Kluwer Academic Publishers.

[Storn1997]

Storn, R., & Price, K. (1997). Differential evolution – A simple and efficient heuristic for global optimization over continuous spaces. Journal of Global Optimization, 11(4), 341-359.

[Thompson1933]

Thompson, W. R. (1933). On the likelihood that one unknown probability exceeds another in view of the evidence of two samples. Biometrika, 25(3-4), 285-294.

[Wang2013]

Wang, Z., Zoghi, M., Hutter, F., Matheson, D., & De Freitas, N. (2013). Bayesian optimization in high dimensions via random embeddings. IJCAI, 1778-1784.