Natural Evolution Strategies¶

A family of numerical optimization algorithms for black-box problems which iteratively update a search distribution by using an estimated gradient on its distribution parameters.
- A parameterized search distribution is used to produce a batch of search points.
- The fitness function is evaluated at each search point.
- A search gradient is estimated using the parameters of the search points with respect to the expected fitness.
- A gradient ascent step is taken along the natural gradient, which is a second order method that renormalizes the update with respect to uncertainty (prevents oscillations, premature convergence, and undesirable local effects).
The core idea is to use search gradients to update parameters where the search gradient is the sampled gradient of expected fitness. Let θ be the parameters of the search distribution π(x|θ) and f(x) the fitness function evaluated at x. The objective is to maximize the expected fitness under the distribution.
J(θ)=Eθ[f(x)]=∫f(x) π(x|θ) dx
The gradient can be written as:
∇θJ(θ)=Eθ[f(z) ∇θ log π(z|θ)]
The Monte Carlo estimate from samples z1,...,zλ as:
∇θJ(θ)≈1λλ∑k=1f(zk) ∇θ log π(zk|θ)
The parameters are then updated with a standard ascent scheme:
θ←θ+η∇θJ(θ)
The natural gradient accounts for uncertainty in the second order updates by removing the dependence on parameterization by instead relying on the KL divergence between probability distributions where the Fisher information matrix defines the local curvature in distribution space.
F=∫π(z|θ) ∇θ log π(z|θ) ∇θ log π(z|θ)⊤dz≈1λλ∑k=1∇θ log π(zk|θ) ∇θ log π(zk|θ)⊤(1)(2)
The ascent scheme then becomes:
θ←θ+ηF−1∇θJ(θ)