Imagine you are trying to find the highest point on a foggy hillside. You cannot see the slope — you can only ask "is this spot higher than the last one?" Standard optimization algorithms demand that you know the gradient, the direction of steepest ascent, at every step. But what if the function has no gradient, or is too noisy, or is a black box you cannot peek inside?
CMA-ES — the Covariance Matrix Adaptation Evolution Strategy — was designed for exactly this situation. Introduced by Nikolaus Hansen and Andreas Ostermeier in 1996 and refined into its modern form by 2001, it treats optimization as evolution: a population of candidate solutions is sampled from a multivariate Gaussian distribution, the better solutions are selected, and the distribution itself is updated to concentrate probability mass near the good region.
The key insight is what gets updated. Naïve evolution strategies only move the mean. CMA-ES also updates the full covariance matrix — the parameter that controls the shape, size and orientation of the search cloud. If the landscape stretches along a diagonal, the ellipse tilts to match it. If the optimum is near, the ellipse shrinks. The algorithm learns its own geometry from the history of successful steps, without ever computing a derivative.
That makes CMA-ES a member of a family of methods called non-convex optimization strategies, but one that can handle landscapes far wilder than gradient descent can manage.
Comments
Loading comments...