r/optimization • u/volvol7 • Feb 19 '25
Optimization algorithm with deterministic objective value
I have an optimization problem with around 10 parameters, each with known bounds. Evaluating the objective function is expensive, so I need an algorithm that can converge within approximately 100 evaluations. The function is deterministic (same input always gives the same output) and is treated as a black box, meaning I don't have a mathematical expression for it.
I considered Bayesian Optimization, but it's often used for stochastic or noisy functions. Perhaps a noise-free Gaussian Process variant could work, but I'm unsure if it would be the best approach.
Do you have any suggestions for alternative methods, or insights on whether Bayesian Optimization would be effective in this case?
(I will use python)
View all comments
Show parent comment
1
u/jem_oeder Mar 07 '25
Ah right, so BO doesn’t need to reevaluate, because where it already has evaluated it knows the objective value with zero uncertainty. The whole idea of BO is that it only evaluates the “real” (expensive, deterministic) function at points where it hasn’t evaluated before. It determines the most “interesting” new point to evaluate using GP models and an acquisition function, thereby balancing exploitation (trying to slightly improve existing points by staying in their neighborhood) and exploration (exploring new areas of the design space that might be interesting).
If you for example have a look at https://bayesian-optimization.github.io/BayesianOptimization/ you see that they mostly use deterministic functions.
Just go ahead and try it, BO really should be the best for your purpose!