ArticleslgStudy

computer science

Derivative-free optimization

Derivative-free optimization is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Derivative-free optimization rather than just read about it. In short: Derivative-free optimization is a discipline in mathematical optimization that does not use derivative information in the classical sense to find optimal solutions: Sometimes information about the derivative of the objective function f is unavailable, unreliable or impractical to obtain. For example, f might be non-smooth, or time-consuming to evaluate, or in some way noisy, so that methods that rely on derivatives…

Key takeaways

  • Derivative-free optimization belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Derivative-free optimization to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Derivative-free optimization from memory before moving on to harder problems.

Reference excerpt

Derivative-free optimization is a discipline in mathematical optimization that does not use derivative information in the classical sense to find optimal solutions: Sometimes information about the derivative of the objective function f is unavailable, unreliable or impractical to obtain. For example, f might be non-smooth, or time-consuming to evaluate, or in some way noisy, so that methods that rely on derivatives or approximate them via finite differences are of little use. The problem to find optimal points in such situations is referred to as derivative-free optimization, algorithms that do not use derivatives or finite differences are called derivative-free algorithms.

Introduction The problem to be solved is to numerically optimize an objective function f:A→ℝ for some set A (usually A⊂ℝn), i.e. find x0∈A such that without loss of generality f(x0)≤f(x) for all x∈A. When applicable, a common approach is to iteratively improve a parameter guess by local hill-climbing in the objective function landscape. Derivative-based algorithms use derivative information of f to find a good search direction, since for example the gradient gives the direction of steepest ascent. Derivative-based optimization is efficient at finding local optima for continuous-domain smooth single-modal problems. However, they can have problems when e.g. A is disconnected, or (mixed-)integer, or when f is expensive to evaluate, or is non-smooth, or noisy, so that (numeric approximations of) derivatives do not provide useful information. A slightly different problem is when f is multi-modal, in which case local derivative-based methods only give local optima, but might miss the global one. In derivative-free optimization, various methods are employed to address these challenges using only function values of f, but no derivatives. Some of these methods can be proved to discover optima, but some are rather metaheuristic since the problems are in general more difficult to solve compared to convex optimization. For these, the ambition is rather to efficiently find "good" parameter values which can be near-optimal given enough resources, but optimality guarantees can typically not be given. One should keep in mind that the challenges are diverse, so that one can usually not use one algorithm for all kinds of problems.

Algorithms Notable derivative-free optimization algorithms include:

Bayesian optimization Coordinate descent and adaptive coordinate descent Cross-entropy method Differential evolution, including multi-objective variants DONE Evolution strategies, Natural evolution strategies (CMA-ES, xNES, SNES) Genetic algorithms MCS algorithm Nelder-Mead method Particle swarm optimization Pattern search Powell's method based on interpolation, e.g., COBYLA (PRIMA) Random search (including Luus–Jaakola) Simulated annealing Stochastic optimization Subgradient method various model-based algorithms like BOBYQA and ORBIT

Benchmarks There exist benchmarks for blackbox optimization algorithms, see e.g. the bbob-biobj tests.

See also Mathematical optimization

References

External links Audet, Charles; Kokkolaras, Michael (2016). "Blackbox and derivative-free optimization: theory, algorithms and applications". Optimization and Engineering. 17: 1–2. doi:10.1007/s11081-016-9307-4.

Worked examples

Example 1 — a first encounter with Derivative-free optimization

Start with the simplest possible case. Write down what Derivative-free optimization claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Derivative-free optimization before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Derivative-free optimization ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Derivative-free optimization

In research
Derivative-free optimization appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Derivative-free optimization in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Derivative-free optimization is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimization algorithms and methods, so understanding it makes those chapters shorter.
In everyday life
Look for Derivative-free optimization outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Derivative-free optimization” →

How to study Derivative-free optimization in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Derivative-free optimization means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Derivative-free optimization out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Derivative-free optimization in simple terms?

Derivative-free optimization is a discipline in mathematical optimization that does not use derivative information in the classical sense to find optimal solutions: Sometimes information about the derivative of the objective function f is unavailable, unreliable or impractical to obtain. For exampl…

Why does Derivative-free optimization matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Derivative-free optimization?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Derivative-free optimization.

Tags

  • Optimization algorithms and methods

Keep exploring