[Paper Review] A Computationally Efficient Limited Memory CMA-ES for Large Scale Optimization
This paper proposes the Limited Memory CMA-ES (LM-CMA-ES), a computationally efficient derivative-free optimization algorithm for large-scale continuous problems. By reconstructing the covariance matrix from $ m \ll n $ direction vectors using Cholesky decomposition, it reduces time and memory complexity to $ O(mn) $, enabling efficient optimization of problems with up to 1 million dimensions while maintaining performance on non-separable, high-dependency functions.
We propose a computationally efficient limited memory Covariance Matrix Adaptation Evolution Strategy for large scale optimization, which we call the LM-CMA-ES. The LM-CMA-ES is a stochastic, derivative-free algorithm for numerical optimization of non-linear, non-convex optimization problems in continuous domain. Inspired by the limited memory BFGS method of Liu and Nocedal (1989), the LM-CMA-ES samples candidate solutions according to a covariance matrix reproduced from $m$ direction vectors selected during the optimization process. The decomposition of the covariance matrix into Cholesky factors allows to reduce the time and memory complexity of the sampling to $O(mn)$, where $n$ is the number of decision variables. When $n$ is large (e.g., $n$ > 1000), even relatively small values of $m$ (e.g., $m=20,30$) are sufficient to efficiently solve fully non-separable problems and to reduce the overall run-time.
Motivation & Objective
- To address the high computational and memory costs of standard CMA-ES in large-scale optimization, especially when $ n > 1000 $.
- To enable efficient optimization of non-separable, high-dimensional problems by reducing the covariance matrix update and sampling complexity.
- To adapt the limited-memory BFGS principle from gradient-based optimization to derivative-free evolution strategies.
- To develop a scalable alternative to CMA-ES that maintains learning of variable dependencies without storing the full $ n \times n $ covariance matrix.
Proposed method
- The LM-CMA-ES maintains $ m $ direction vectors from past iterations to reconstruct the Cholesky factor of the covariance matrix.
- It uses a Cholesky decomposition to represent the covariance matrix, enabling $ O(mn) $ time and memory complexity for sampling and updates.
- The algorithm samples new candidate solutions using a multivariate normal distribution defined by the mean, step-size, and the reconstructed Cholesky factor.
- The population success rule is used to adapt the step-size and update the direction vectors, replacing the full covariance matrix update.
- The method leverages the limited-memory principle from L-BFGS, storing only $ m $ vectors instead of the full Hessian approximation.
- The Cholesky factor and its inverse are updated incrementally using a rank-$ m $ update formula, avoiding full matrix operations.
Experimental results
Research questions
- RQ1Can a limited-memory approach reduce the time and memory complexity of CMA-ES while preserving its ability to learn variable dependencies in large-scale problems?
- RQ2How does the performance of LM-CMA-ES compare to CMA-ES and other large-scale variants like sep-CMA-ES and L-CMA-ES on non-separable, high-dimensional problems?
- RQ3What is the minimal value of $ m $ required to achieve good performance on large-scale, fully non-separable problems?
- RQ4Does the LM-CMA-ES maintain rotational invariance, a key property of CMA-ES, when using only $ m \ll n $ direction vectors?
- RQ5Can the population success rule be effectively used in place of the full covariance matrix update in large-scale settings?
Key findings
- The LM-CMA-ES achieves a time complexity of $ O(mn) $ and memory complexity of $ O(mn) $, significantly reducing the $ O(n^2) $ cost of standard CMA-ES.
- For $ n = 2000 $, the LM-CMA-ES with $ m = 19 $ solved a non-separable problem in about 125 seconds and $ 5.3 \times 10^6 $ function evaluations, outperforming standard CMA-ES by a factor of 32–48 in speed.
- On a 100,000-dimensional separable Ellipsoid problem, the sep-CMA-ES diverged within the first generation, while the LM-CMA-ES successfully improved fitness.
- The LM-CMA-ES solved a 1 million-dimensional problem with a computational cost of approximately 0.1 seconds per function evaluation on a standard machine.
- The algorithm maintains rotational invariance, ensuring consistent performance on both separable and non-separable problems of high dimensionality.
- The performance of LM-CMA-ES is comparable to CMA-ES on non-separable problems, even when $ m $ is small (e.g., $ m = 20,30 $), indicating that only a few dominant directions are sufficient for effective search.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.