[Paper Review] Limited-Memory Matrix Adaptation for Large Scale Black-box Optimization
This paper introduces Limited-Memory Matrix Adaptation Evolution Strategy (LM-MA-ES), a scalable zeroth-order optimization algorithm that reduces the time and space complexity of the Matrix Adaptation Evolution Strategy (MA-ES) from O(n²) to O(n log n) by leveraging a limited-memory approximation of the transformation matrix. The method achieves state-of-the-art performance on large-scale black-box optimization benchmarks and demonstrates strong effectiveness in generating adversarial examples for random forest classifiers.
The Covariance Matrix Adaptation Evolution Strategy (CMA-ES) is a popular method to deal with nonconvex and/or stochastic optimization problems when the gradient information is not available. Being based on the CMA-ES, the recently proposed Matrix Adaptation Evolution Strategy (MA-ES) provides a rather surprising result that the covariance matrix and all associated operations (e.g., potentially unstable eigendecomposition) can be replaced in the CMA-ES by a updated transformation matrix without any loss of performance. In order to further simplify MA-ES and reduce its $\mathcal{O}\big(n^2\big)$ time and storage complexity to $\mathcal{O}\big(n\log(n)\big)$, we present the Limited-Memory Matrix Adaptation Evolution Strategy (LM-MA-ES) for efficient zeroth order large-scale optimization. The algorithm demonstrates state-of-the-art performance on a set of established large-scale benchmarks. We explore the algorithm on the problem of generating adversarial inputs for a (non-smooth) random forest classifier, demonstrating a surprising vulnerability of the classifier.
Motivation & Objective
- To address the high computational cost of MA-ES, which scales quadratically with dimensionality, for large-scale black-box optimization.
- To reduce the time and space complexity of MA-ES from O(n²) to O(n log n) while preserving its performance and simplicity.
- To enable efficient optimization in high-dimensional spaces by approximating the full transformation matrix using a limited-memory structure.
- To evaluate the algorithm’s performance on standard large-scale benchmarks and in adversarial machine learning settings.
- To investigate the practical vulnerability of random forest classifiers to adversarial attacks via zeroth-order optimization.
Proposed method
- The algorithm replaces the full transformation matrix in MA-ES with a low-rank, limited-memory approximation using the most recent m update vectors, reducing storage and computation.
- It maintains the core update mechanism of MA-ES, including the rank-μ recombination and self-adaptive step-size control, but applies them to the limited-memory representation.
- The transformation matrix is implicitly maintained via a QR decomposition of the m most recent update vectors, enabling efficient matrix-vector products in O(n log n) time.
- The method leverages the L-BFGS-inspired memory management strategy from LM-CMA-ES to achieve scalable variable metric optimization.
- The algorithm uses a rank-μ recombination scheme to update the mean and step-size, ensuring convergence and performance on ill-conditioned problems.
- It applies the same sampling mechanism as MA-ES but with a compressed representation of the transformation matrix, preserving the algorithm’s invariance and robustness.
Experimental results
Research questions
- RQ1Can the O(n²) complexity of MA-ES be reduced to O(n log n) without sacrificing performance on large-scale black-box optimization problems?
- RQ2How does the limited-memory approximation of the transformation matrix affect convergence speed and solution quality in high-dimensional spaces?
- RQ3Can LM-MA-ES effectively generate adversarial examples for non-smooth models like random forests, and what does this reveal about their robustness?
- RQ4How does LM-MA-ES compare to standard MA-ES and other large-scale optimizers in terms of objective function evaluation efficiency and solution quality?
- RQ5To what extent does the low-rank structure of the memory approximation allow for larger learning rates and faster adaptation in high-dimensional search spaces?
Key findings
- LM-MA-ES achieved a 3.5× speedup over MA-ES on a laptop, completing 9721 adversarial example generation tasks in ~2 hours compared to ~7 hours for MA-ES.
- LM-MA-ES successfully generated adversarial inputs for 6,321 out of 9,721 test images, slightly outperforming MA-ES (6,152 successful attacks).
- The algorithm reached a lower objective value in 7,171 cases compared to 2,550 for MA-ES, indicating superior solution quality under the same evaluation budget.
- On the easiest problems, LM-MA-ES showed faster convergence, while MA-ES stagnated due to limited function evaluations, highlighting the benefit of larger learning rates enabled by the low-rank structure.
- The difference image from adversarial examples revealed a bright blob indicating that LM-MA-ES identified a meaningful low-dimensional subspace, unlike the isotropic noise applied by plain ES.
- The performance gap between LM-MA-ES and MA-ES is attributed to the ability of LM-MA-ES to adapt only the top 23 directions (based on log(n)) rather than the full 784×784 matrix, enabling faster and more effective learning.
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.