arXiv:2609.10980cs.LGSep 2026

Manuscript Offprint

arXiv:2609.10980

EGGROLL, Unrolled: Understanding and Improving Low-Rank Evolution Strategies at Scale

Ege C. Kaya, Abolfazl Hashemi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

EGGROLL makes evolution strategies (ES) practical for LLMs by replacing dense Gaussian weight perturbations with low-rank Gaussian products, often of rank one. This choice is computationally attractive but geometrically severe: each rank-one perturbation lies in a zero-volume subset of the ambient matrix space, despite having identity covariance. We characterize the mean EGGROLL update field at finite rank and nonzero perturbation radii, then analyze the error of its finite-population estimator. The population field is obtained by applying an explicit resolvent to the gradient of the objective smoothed by the perturbations. We show that the resolvent can introduce a nonconservative component and can reverse the local stability of an optimum. EGGROLL is nevertheless exact on every quadratic objective at every rank and radius. For smooth objectives, its first local finite-rank correction is O(σ2/r)O(\sigma^2/r), and nonasymptotic bounds control the resulting field error under smoothness assumptions. Under a local affine model, rank-one perturbations increase the variance of the gradient estimator by only 2(m+n+1)mn+1\frac{2(m+n+1)}{mn+1} relative to dense Gaussian ES, or 0.098% for a 4096×40964096 \times 4096 matrix. We then introduce LOO-ROLL, a leave-one-out estimator that preserves the finite-rank population field while replacing EGGROLL's two antithetic evaluations per direction by one. At equal evaluation cost, LOO-ROLL halves estimator MSE in transformer blocks. At matched wall time across ten post-training settings and models up to 8B parameters, LOO-ROLL improves seven outcomes in individual paired tests, with no significant loss. On the GSM8K test set, accuracy increases from 38.1% to 63.0% at 0.6B and from 65.9% to 80.0% at 8B. Transformer measurements recover the predicted finite-rank variance, while the rank comparisons show no reproducible reward-based advantage for rank eight.

1 Introduction

Evolution strategies (ES) [6, 34, 35, 37] are zeroth-order methods for optimizing a scalar function, customarily called fitness, using only perturbed function evaluations. Because zeroth-order methods require only forward evaluations, they have been explored for memory-efficient language-model fine-tuning [18, 30, 53]. Their parallel population structure has also motivated scalable evolution-strategy methods for large-model post-training [24, 36, 49]. The remaining difficulty is moving a large population of independently perturbed parameter settings through the network efficiently. Modern accelerators obtain high throughput when arithmetic reuses data already brought into fast memory [10, 48]. Giving every population member a different dense perturbation requires generating or reading another mn numbers per member, making memory traffic grow with the population.

EGGROLL [36] avoids the use of such dense matrices by perturbing each weight matrix with a rank-r Gaussian product:

Er=1rAB⊤=1r∑s=1rasbs⊤,as∼N(0,Im),bs∼N(0,In),(1)E_{r}=\frac{1}{\sqrt{r}}A B^{\top}=\frac{1}{\sqrt{r}}\sum_{s=1}^{r}a_{s}b_{s}^{\top},\qquad a_{s}\sim\mathcal{N}(0,I_{m}),\quad b_{s}\sim\mathcal{N}(0,I_{n}), \tag{1}

which permits the evaluation of very large populations at near-inference throughput. The normalization by 1/r1/\sqrt{r} gives every matrix coordinate unit variance and makes distinct coordinates uncorrelated:

E[(Er)ij(Er)kℓ]=δikδjℓ.(2)\mathbb{E}\big[(E_{r})_{i j}(E_{r})_{k\ell}\big]=\delta_{i k}\delta_{j\ell}. \tag{2}

*The authors are with the Elmore Family School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA.

From a low-rank population to two finite-rank questions

Figure

Figure 1: The two finite-rank questions studied in this paper. Batches of antithetic forward evaluations produce a finite-population estimate g^r,σ,N\widehat{g}_{r,\sigma,N} of the population field gr,σfg_{r,\sigma}^{f}. The mean-field branch characterizes the direction followed after averaging over perturbations and identifies both its possible departure from gradient dynamics and the quadratic regime in which that departure vanishes. The finite-population branch computes the sampling error around this mean.

Here δik\delta_{ik} is the Kronecker delta, equal to one when i=ki = k and zero otherwise. Thus vec(Er)\text{vec}(E_r) has identity covariance, just as a dense standard Gaussian perturbation.

For a single activation x, the evaluation by a single population member can be written as

(W+σrAB⊤)x=Wx+σrA(B⊤x).(3)\Big(W+\frac{\sigma}{\sqrt{r}}A B^{\top}\Big)x=W x+\frac{\sigma}{\sqrt{r}}A(B^{\top}x). \tag{3}

For a batch of population members, the large multiplication by W can be performed as one shared batched operation. Each member then receives its own correction through the two thin multiplications B⊤xB^{\top}x and A(B⊤x)A(B^{\top}x). These corrections require O(r(m+n))O(r(m+n)) additional storage and arithmetic per layer rather than the O(mn)O(mn) cost of a dense perturbation. Batching them allows the population to share the base weights and much of the inference machinery. Low-rank adapters are already widely used in language-model training [12, 25, 28, 51] because they replace a dense matrix modification by two thin factors. EGGROLL uses the same computational advantage for a different purpose: the factors are randomly drawn search directions whose fitness is obtained from forward model evaluations, using no backpropagation.

EGGROLL performs well in LLM-scale training even in the seemingly prohibitive but computationally attractive regime r=1r = 1. The original analysis gives two asymptotic justifications: a high-dimensional, vanishing-radius result at fixed rank and convergence to dense Gaussian ES at rate O(1/r)O(1/r) under regularity assumptions [36]. These results do not identify the update field at the finite ranks and perturbation radii used in practice, the accuracy with which a finite population estimates that field, or the costs revealed by the finite-rank analysis. We therefore ask three guiding questions:

What mean field does the finite-rank EGGROLL update follow, and why can rank one work?

How accurately does a finite population estimate the resulting mean field?

What weaknesses does the analysis expose, and how can they be corrected without hurting EGGROLL's computational advantage?

It is of note that the question of why rank one works is not settled by covariance. Identity covariance means that repeated draws have nonzero variance along every linear direction, but every individual realization has rank at most rr. When r<min⁡(m,n)r < \min(m, n), the set of possible realizations has dimension r(m+n−r)<mnr(m + n - r) < mn and occupies zero volume in the ambient space [1]. EGGROLL also weights these Gaussian-product samples using the score associated with a dense Gaussian perturbation, creating a score mismatch at every finite rank. Both issues are most pronounced at r=1r = 1, precisely the case of greatest practical interest. A finite-rank analysis is therefore needed in place of an appeal to covariance or a large-rank limit.

Our answers to these questions separate three different aspects of EGGROLL. First, the population field is a resolvent-filtered gradient. At a finite perturbation radius, this filtering can make the field nonconservative.

and can even make a local optimum repelling. The discrepancy vanishes on quadratic objectives and remains controlled when the objective is well-approximated by a quadratic over the perturbation scale. Second, low rank has a much milder effect on finite-population accuracy. For wide matrices, the additional variance of a rank-one product perturbation is negligible beside the variance already present in dense Gaussian ES. Rank one can therefore estimate its own population field almost as efficiently as dense Gaussian perturbations estimate theirs, even though the two fields need not coincide. Third, the released EGGROLL implementation spends two fitness evaluations per direction through antithetic estimators. Our proposed algorithm, LOO-ROLL, uses the other population members as leave-one-out baselines and requires only one evaluation per direction without changing the expected field. Rank extrapolation and variance reduction techniques are mathematically natural responses to the finite-rank bias and finite-population variance identified above, but our experiments do not find a practical gain from their additional cost, so they are treated separately in Appendix B.

Organization and contributions. We answer these questions and develop their algorithmic consequences in five parts.

  1. The finite-rank mean field. Sections 3 and 4 derive the expected EGGROLL update at every finite rank. Averaging the objective over the perturbations gives a smoothed objective with its own gradient. Because EGGROLL uses the dense-Gaussian score with a low-rank Gaussian-product perturbation, it instead follows a resolvent-filtered version of that gradient (Theorems 4.1 and 4.2). In a neural network, the objective depends jointly on many parameter matrices rather than on a single matrix in isolation. Appendix A extends the result to this setting.

  2. The effect on optimization dynamics. Section 5 determines when the expected update is the gradient of any scalar objective and gives an explicit smooth example in which a strict local maximum of the smoothed objective is unstable under rank-one EGGROLL. Section 6 shows that this failure disappears for quadratic objectives and remains controlled when the objective is approximately quadratic over the perturbation scale. EGGROLL is exact on quadratic objectives, its first rank-dependent local error is O(σ2/r)O(\sigma^{2}/r), and standard smoothness assumptions give nonasymptotic control of the field error (Theorem 5.1, Theorem 5.3, Theorems 6.1 and 6.2, and Theorem 6.3). Conventional convergence consequences under smoothness assumptions are collected in Appendix C.

  3. Finite-population accuracy. Sections 7 and 8 calculate the exact covariance and total variance of a finite-population update. Rank-r perturbations add 2(m+n+1)/r2(m+n+1)/r to the dense-Gaussian variance factor mn+1mn+1, so the relative variance increase quickly vanishes with matrix width even at rank one. We also derive the fixed-radius 1/r1/r expansion, while Appendix C records the corresponding finite-iteration guarantees under relative population noise (Theorems 7.1 and 8.1).

  4. LOO-ROLL. Section 9 introduces an unbiased leave-one-out estimator that uses one fitness evaluation per direction rather than the antithetic implementation's two evaluations. The construction applies the leave-one-out baseline to EGGROLL's Gaussian-product population and preserves the finite-rank population field exactly before score standardization (Theorem 9.1). Rank extrapolation and a control-variate estimator are derived and evaluated in Appendix B.

  5. Numerical and transformer experiments. Section 10 first tests the exact finite-rank and finite-population predictions, then compares ranks at matched evaluations and wall time. The principal algorithmic study of the section evaluates LOO-ROLL across ten post-training settings, three model sizes, two model families, and reward-based objectives and next-token prediction loss. At matched wall time, LOO-ROLL records seven improvements in individual paired tests, three unresolved differences, and no significant loss. Five gains survive Holm correction across the ten comparisons (Table 9).

References (37)