Papers
Topics
Authors
Recent
Search
2000 character limit reached

LRA-CMA: Adaptive Learning for CMA-ES

Updated 11 December 2025
  • LRA-CMA is a variant of CMA-ES that dynamically adapts learning rates via a signal-to-noise ratio criterion to enhance optimization efficiency.
  • It employs online exponential moving averages of parameter updates to balance progress and stability in noisy and rugged search landscapes.
  • Empirical evaluations demonstrate that LRA-CMA outperforms fixed-rate CMA-ES, achieving robust performance on challenging noisy and multimodal problems.

LRA-CMA, short for Learning Rate Adaptation for Covariance Matrix Adaptation Evolution Strategy, is a variant of CMA-ES that introduces a principled mechanism for online adaptation of learning rates based on a signal-to-noise ratio (SNR) criterion. Unlike standard CMA-ES, which uses fixed learning rates for its mean and covariance updates, LRA-CMA adaptively controls the magnitude of parameter updates to maintain a constant SNR in Fisher metric units. This design enables robust, tuning-free optimization on noisy and multimodal black-box functions while retaining the favorable practical characteristics of default CMA-ES (Nomura et al., 2023, Nomura et al., 2024).

1. Foundations of CMA-ES and the Role of the Learning Rate

CMA-ES operates by evolving a Gaussian search distribution, parameterized by mean mm and covariance Σ=σ2C\Sigma = \sigma^2 C, to minimize a black-box objective f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}. At each iteration, candidate points xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma) are sampled and evaluated, with the top-ranked samples influencing the updates of mm and Σ\Sigma. In classical CMA-ES, these updates are controlled by fixed learning rates (cm,c1,cμc_m, c_1, c_\mu). The learning rates directly affect the step sizes in natural gradient space, with large rates promoting rapid but potentially unstable adaptation, and small rates ensuring stability but risking inefficiency, especially in the presence of noise or rugged landscapes.

ODE-based analysis shows that the ideal learning rate must be sufficiently small to allow the stochastic discrete updates of CMA-ES to follow the path of the continuous-time natural gradient flow. On functions such as Rastrigin, the ODE for the mean mm and variance v=σ2v=\sigma^2 highlights that only for small enough learning rates do the trajectories reach the global optimum, avoiding divergence or stagnation (Nomura et al., 2024). This sensitivity to learning rate motivates the need for automatic adaptation.

2. Signal-to-Noise Ratio Criterion for Learning Rate Adaptation

LRA-CMA is built on the premise that each update to the parameters θ∈{m,Σ}\theta \in \{m, \Sigma\} should maintain a prescribed ratio between the expected directional progress (signal) and the inherent stochastic fluctuation (noise). The SNR in Fisher-natural coordinates is defined as

Σ=σ2C\Sigma = \sigma^2 C0

where Σ=σ2C\Sigma = \sigma^2 C1 denotes the update measured in the local Fisher metric, with Σ=σ2C\Sigma = \sigma^2 C2 being the Fisher information matrix (Σ=σ2C\Sigma = \sigma^2 C3, Σ=σ2C\Sigma = \sigma^2 C4).

To estimate the SNR online, LRA-CMA maintains exponential moving averages Σ=σ2C\Sigma = \sigma^2 C5 and Σ=σ2C\Sigma = \sigma^2 C6 of the updates and their squared norms: Σ=σ2C\Sigma = \sigma^2 C7 yielding the estimator

Σ=σ2C\Sigma = \sigma^2 C8

(Nomura et al., 2023, Nomura et al., 2024).

3. Learning Rate Adaptation Mechanism

The core mechanism in LRA-CMA is a multiplicative adaptation rule that adjusts the effective local learning rates Σ=σ2C\Sigma = \sigma^2 C9, f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}0 to enforce

f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}1

for a target f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}2. At each generation,

f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}3

where f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}4 and f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}5 denotes clipping to f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}6. The learning rate is adapted down in noisy or rugged phases and up in smooth phases, balancing robustness and efficiency.

Once learning rates are adapted, the proposed CMA-ES updates for f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}7 and f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}8 are rescaled by f:Rd→Rf:\mathbb{R}^d \to \mathbb{R}9 and xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)0: xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)1 After the updates, the step size xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)2 is corrected to maintain the optimal scaling xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)3: xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)4 (Nomura et al., 2023, Nomura et al., 2024).

4. Algorithmic Structure and Pseudocode

The LRA-CMA-ES algorithm is best viewed as a modular extension of vanilla CMA-ES, with the SNR-based adaptation intervening just prior to parameter updates. A per-generation loop proceeds as:

Stage Main Operation Intervention Point
Sample and evaluate Standard CMA-ES sampling and ranking —
Propose updates xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)5 Standard vanilla update formulas —
Fisher metric transformation Convert xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)6 to local (unit-Fisher) coords LRA-CMA mechanism
Exponential averaging Update xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)7, xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)8 for xi∼N(m,Σ)x_i \sim \mathcal{N}(m, \Sigma)9, mm0 LRA-CMA mechanism
SNR estimation Compute mm1 LRA-CMA mechanism
Learning rate update Update mm2, mm3 LRA-CMA mechanism
Rescale and apply update Apply scaled mm4 to mm5, mm6 LRA-CMA mechanism
Step size correction Update mm7 using mm8 ratio LRA-CMA mechanism

This staged structure ensures that LRA-CMA is a drop-in replacement for learning rate control in existing CMA-ES implementations (Nomura et al., 2024).

5. Empirical Evaluation and Performance Characteristics

Experiments on standard benchmarks (Sphere, Ellipsoid, Rosenbrock, Rastrigin, Schaffer, and noisy variants) in mm9 dimensions demonstrate that LRA-CMA achieves both problem-adaptive robustness and speed. On smooth unimodal problems, LRA-CMA matches the performance of CMA-ES with optimally fixed learning rates (SP1 for Sphere is Σ\Sigma0, Σ\Sigma1 success). On multimodal or noisy functions, LRA-CMA obtains high success rates (e.g., Rastrigin: Σ\Sigma2; SP1 Σ\Sigma3) even when fixed-rate CMA-ES is either unstable (for large Σ\Sigma4) or inefficient (for small Σ\Sigma5). Success is defined as reaching Σ\Sigma6 within a Σ\Sigma7–Σ\Sigma8 evaluation budget.

Notably, in strongly noisy scenarios (additive Gaussian noise, Σ\Sigma9 or cm,c1,cμc_m, c_1, c_\mu0), fixed-rate CMA-ES often stalls, while LRA-CMA maintains steady progress by adaptively shrinking learning rates. LRA-CMA thereby achieves cm,c1,cμc_m, c_1, c_\mu1 success down to cm,c1,cμc_m, c_1, c_\mu2. Population-size adaptation (PSA-CMA-ES) is competitive on noiseless multimodal functions but is outperformed by LRA-CMA under strong noise (Nomura et al., 2023, Nomura et al., 2024).

6. Practical Guidelines for Implementation

Recommended default hyperparameters for LRA-CMA-ES are cm,c1,cμc_m, c_1, c_\mu3 (target SNR), cm,c1,cμc_m, c_1, c_\mu4, cm,c1,cμc_m, c_1, c_\mu5 (exponential averaging), and cm,c1,cμc_m, c_1, c_\mu6 (damping), with the learning rate factors initialized to one. If the optimization landscape is particularly noisy or multimodal, smaller cm,c1,cμc_m, c_1, c_\mu7, cm,c1,cμc_m, c_1, c_\mu8 values are recommended for increased stability; for smooth unimodal problems, larger values yield faster adaptation.

LRA-CMA-ES permits retention of the default population size cm,c1,cμc_m, c_1, c_\mu9, avoiding the need for expensive population size adaptation or restarts. It integrates directly into any CMA-ES variant, including diagonal and separable schemes, by replacing parameter update steps with LRA-controlled updates. The only further constraint is to maintain mm0, and to adjust mm1 in response to changes in mm2 (Nomura et al., 2023, Nomura et al., 2024).

7. Relation to Broader Optimization Methodology

LRA-CMA-ES can be formally interpreted as an instance of controlling the magnitude of natural gradient updates relative to their statistical estimation variance, functioning as an automatic mechanism for balancing progress versus robustness in stochastic search. Enforcing constant SNR ensures that neither drift (noise-dominated updates) nor slowness (excessively conservative updates) prevails over extended search horizons. This reflects a general pattern in ES design where stability and adaptivity are prioritized over tuning specific parameter schedules for each problem class. The SNR-based mechanism in LRA-CMA-ES offers a general principle extensible to other stochastic natural-gradient methods beyond ES.


Key references:

  • "CMA-ES with Learning Rate Adaptation: Can CMA-ES with Default Population Size Solve Multimodal and Noisy Problems?" (Nomura et al., 2023)
  • "CMA-ES with Learning Rate Adaptation" (Nomura et al., 2024)
Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to LRA-CMA.