GeoES: Geometry-Aware (1+1)-ES for Black-Box Optimization with Intrinsic Dimension Guarantees

Zixu Wu, Hualin Zhang, zhiqiang xuNeurIPS 2026

TL;DR

Imagine trying to find the lowest valley on a globe while blindfolded: if you take random steps in 3D space, you’ll float off into the atmosphere, wasting effort. GeoES upgrades the simplest possible random search—try one step, keep it if it's better—by respecting the curved geometry of the problem. As a result, it optimizes constrained and high-dimensional black-box systems (including Large Language Models) with mathematical guarantees that scale with the true degrees of freedom rather than the bloated ambient space, matching heavyweight optimizers at a fraction of the compute cost.

What Problem Does This Paper Address?

In black-box optimization, we can't compute gradients—either they don't exist, or they're too expensive (like fine-tuning a massive LLM through an API). Many "zeroth-order" methods try to approximate gradients by polling multiple nearby points. By contrast, the classical $(1+1)$-Evolution Strategy (ES) is wonderfully minimalist: keep one current solution, generate one random neighbor, and move there only if the objective improves. That requires just one new function evaluation per step.

However, high-dimensional variables often carry hidden geometric constraints or symmetries. For example, PCA vectors must have unit length (living on a sphere), and subspaces don't care if you rotate their basis vectors (living on a Grassmann manifold). Even in unconstrained LLM prompt tuning, adding standard Euclidean noise changes a vector's direction less when its magnitude is large, coupling scale and angle in an awkward way. How can a bare-bones comparison rule exploit known or chosen geometry, and what does that do to its convergence rate?

Methods

The authors introduce GeoES, marrying classical $(1+1)$ elitist selection with Riemannian geometry:

  1. Tangent Proposals: Instead of stepping blindly into ambient space $\mathbb{R}^n$, GeoES samples an isotropic Gaussian step in the tangent space at the current point—a flat local approximation of the curved surface with intrinsic dimension $d$.
  2. Radial Truncation: If a random step exceeds a prescribed radius $R$, GeoES immediately discards it without evaluating the objective. This keeps every evaluated point safely inside a region where the curved surface behaves predictably.
  3. Retraction & Selection: Valid steps are mapped back onto the manifold via a smooth retraction (e.g., normalizing a vector back onto the unit sphere). If the new objective value is at least as good as the cached parent's, GeoES moves there.
  4. Direction-Magnitude Separation (for LLMs): Inspired by DoRA and weight normalization, the authors parameterize latent LLM prompt/adapter vectors as $z = r u$ (scalar magnitude $r > 0$, unit direction $u$). GeoES jointly perturbs $\log r$ and a tangent direction on the sphere, decoupling angular steps from vector length.

Datasets

  • Synthetic Matrix Tasks: Smooth sphere PCA, Grassmann PCA, and nonsmooth Sparse PCA generated using random standard Gaussian matrices across varying dimensions (up to $N = 10,000$). No new benchmarks were introduced here; these serve as controlled mathematical testbeds.
  • Language Understanding Benchmarks: Following the standard Black-Box Tuning (BBT) 16-shot protocol on a frozen $\text{RoBERTa}_{\text{LARGE}}$ model, the authors evaluate on seven established NLP datasets: SST-2, Yelp Polarity, AG’s News, DBPedia, MRPC, SNLI, and RTE.

Key Insights and Ideas

  • Comparison Alone Creates Directional Descent: Why does GeoES work without estimating gradients? Picture two opposite tangent steps. In a local linear approximation, one goes uphill and one goes downhill by the exact same amount—before selection, they cancel out. By simply refusing to move uphill, selection suppresses increases and preserves decreases, turning symmetric noise into guaranteed expected progress.
  • Complexity Scales with Intrinsic Dimension ($d$): The local curvature error of a random tangent step depends on its squared length, which scales with the manifold's intrinsic dimension $d$, not the ambient dimension $n$. For a Grassmann subspace of $N \times 2$ matrices, the ambient symmetric representation grows as $\mathcal{O}(N^2)$, while GeoES only pays an $\mathcal{O}(d\varepsilon^{-2})$ evaluation cost where $d = 2(N - 2)$.
Figure 2: Grassmann PCA: median final subspace error ∆of GeoES over ten paired seeds, on log–log axes. The budgets are 20000 and 1 + 20d objective evaluations, with d = 2(N −2). They are nearly equal at N = 500.
  • Parameterization Geometry Matters: Even when an optimization problem has no hard constraints (like LLM tuning), imposing a polar-like geometry ($z = ru$) prevents large vectors from becoming directionally sluggish, substantially boosting search performance using the exact same comparison rule.

Key Results

  • Intrinsic Scaling Verified: In Grassmann PCA up to $N = 10,000$, keeping a fixed 20,000-evaluation budget causes error to spike past $N=500$, whereas scaling the budget linearly with intrinsic dimension ($1 + 20d$) keeps median subspace error flat between $0.00259$ and $0.00398$ (see figure above).
  • Massive Speedups over Heavyweight ES: At $N = 1000$ on Grassmann PCA, GeoES achieves a lower median error than full-covariance CMA-ES ($0.00308$ vs. $0.00436$) in 4.58 seconds compared to CMA-ES's 294.09 seconds, because GeoES avoids storing and factoring quadratic covariance matrices.
Stationarity diagnostics and smooth vs nonsmooth trajectories on Sphere PCA
  • Nonsmooth Resilience: On $n=500$ Sparse PCA (which has a nonsmooth $\ell_1$ penalty), GeoES reaches a median objective of $-529.41$ within 1 second, whereas full CMA-ES only reaches $-366.16$ in that timeframe.
  • LLM Black-Box Tuning: Under an 8,000-query budget on BBT, separating direction and magnitude lifts GeoES's 7-task average score to 72.91, beating standard Euclidean $(1+1)$-ES (68.84) by over 4 points and edging out full CMA-ES (71.59). Paired with Uni-LoRA, GeoES hits 77.22 in 8k queries—outperforming zeroth-order baselines MeZO (70.82), HiZOO (66.94), and FZOO (66.44) at 8k, and matching MeZO even when MeZO is given 100k–200k queries (76.98–77.41).

Limitations and Future Work

The theoretical guarantees rely on compact manifolds, smooth objectives, isotropic Gaussian proposals, and exact (noise-free) function evaluations. While GeoES worked well empirically on nonsmooth Sparse PCA and mini-batch/noisy LLM tasks, the current math doesn't yet explain noisy comparisons, nonsmoothness, or adaptive covariance matrices. Furthermore, the LLM experiments were limited to a single backbone ($\text{RoBERTa}_{\text{LARGE}}$) across seven classification tasks; extending the theory to stochastic evaluations and broader model architectures remains open work.

Summary updated

Abstract

The classical $(1+1)$-evolution strategy compares a single random trial with the current point, without estimating gradients. We study how this simple rule can use geometry from known constraints or a chosen parameterization. We introduce \textbf{GeoES}, a geometry-aware $(1+1)$-ES that samples Gaussian tangent directions, maps trials back to the manifold with a retraction, and retains improvements. For Gaussian proposals restricted to a prescribed radius, we derive non-asymptotic stationarity bounds for smooth non-convex objectives on compact Riemannian submanifolds. The analysis explains how selection turns symmetric proposals into expected progress and why the quadratic model error scales with the intrinsic tangent dimension $d$. With problem and truncation constants fixed, a suitable constant step gives an $\mathcal O(d\varepsilon^{-2})$ evaluation bound for an expected Riemannian gradient norm at most $\varepsilon$. Smooth sphere PCA shows decreasing weighted gradient norms, and Grassmann PCA maintains similar subspace errors with budgets proportional to $d$. Sparse PCA achieves comparable objective values to full covariance CMA-ES and faster progress within time budgets. In black-box prompt tuning, GeoES with separate direction and magnitude achieves a higher average score than Euclidean $(1+1)$-ES. Across prompt and adapter tuning, GeoES is competitive with full covariance CMA-ES and zeroth-order baselines under limited query budgets. Code is available at \url{https://github.com/MLOpt-MBZUAI/GeoES}.
BibTeX
@inproceedings{wu2026geoes,
  author = {Zixu Wu and Hualin Zhang and zhiqiang xu},
  title = {{GeoES: Geometry-Aware (1+1)-ES for Black-Box Optimization with Intrinsic Dimension Guarantees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=KlMraKGdCH},
}
Figure