TL;DR
This paper reveals that while Evolution Strategies (ES) and gradient-based Reinforcement Learning (GRPO) can achieve identical task performance in LLM fine-tuning, they reach geometrically distinct solutions. ES acts as a "random walk" in task-irrelevant parameter directions, resulting in model updates that are 100x larger and nearly orthogonal to the surgical, sparse updates made by GRPO, despite both residing in the same loss basin.
What Problem Does This Paper Address?
Fine-tuning Large Language Models (LLMs) typically relies on gradient-based reinforcement learning, with Group Relative Policy Optimization (GRPO) becoming a recent favorite due to its efficiency. However, Evolution Strategies (ES)—a gradient-free, population-based approach—has emerged as a scalable alternative.
The core question the authors tackle is: If two different optimization methods result in the same accuracy, have they actually created the same model?
Understanding this is critical for "continual learning." If an optimizer moves the model parameters too far or in the "wrong" directions, the model might forget previous knowledge (catastrophic forgetting) or behave unpredictably on tasks it wasn't specifically trained for.
Methods
The researchers conducted a head-to-head comparison between ES and GRPO using two model families (Qwen3-4B and Llama-3.2-3B).
- Optimization Comparison: They tested both methods on single-task and sequential (multi-task) learning setups.
- Geometric Analysis: They measured the $\ell_2$ norm (size) of weight changes, sparsity (how many parameters were actually changed), and the "stable rank" (effective dimensionality) of the updates.
- Linear Mode Connectivity: They checked if the path between an ES-trained model and a GRPO-trained model stayed "flat" in terms of accuracy, which indicates if they are in the same "loss basin."
- Analytical Theory: The authors developed a Signal-Diffusion Decomposition theory. This treats ES as a combination of a "signal" (moving toward the task goal) and "diffusion" (a random walk in the vast, flat dimensions of the parameter space that don't affect the specific task).
Datasets
The models were evaluated across four diverse reasoning and knowledge tasks:
- Countdown: Arithmetic reasoning.
- Math: Mathematical problem solving.
- SciKnowEval-Chemistry: Domain-specific scientific knowledge.
- BoolQ: Boolean reading comprehension.
To measure "forgetting" and general capability preservation, they used two holdout benchmarks:
- MMLU: General world knowledge.
- IFEval: Instruction-following ability.
Key Insights and Ideas
- The Random Walk Dominates: In the high-dimensional space of an LLM (billions of parameters), most directions are "flat"—changing them doesn't affect the specific task at hand. ES, being gradient-free, essentially "wanders" (diffuses) through these irrelevant dimensions while slowly making progress on the task.
- Orthogonal Solutions: Because ES wanders so much, its final update direction is nearly orthogonal (90 degrees apart) to GRPO’s direction. GRPO uses gradients to make precise, "surgical" strikes only in the directions that matter.
- Same Basin, Different Neighborhoods: Despite being far apart in parameter space, the two solutions are linearly mode-connected. You can draw a straight line between the ES model and the GRPO model, and every model along that line will be just as accurate. They found the same "valley," but ES ended up much further down the trail.
- Forgetting is a Norm Issue: ES induces more forgetting on general benchmarks (like MMLU) because its massive, dense updates eventually drift away from the "plateau" of general knowledge that the base model started on.
Key Results
- Accuracy Parity: ES (at 300 iterations) actually outperformed GRPO on the Chemistry task (76.5% vs 74.9%).
- Massive Norm Differences: ES updates were 87x to 107x larger in magnitude than GRPO updates.
- Density vs. Sparsity: GRPO updates were highly sparse (~88% of weights barely changed), whereas ES updates were dense (only ~2-3% sparsity).
- Theoretical Precision: The authors' random-walk theory predicted the weight drift of the models with an incredible $R^2 > 0.99$.
- Near-Zero Similarity: The cosine similarity between ES and GRPO update directions was roughly $10^{-4}$, confirming they are almost perfectly orthogonal.
Limitations and Future Work
- Sequential Stability: While ES is powerful, it requires strict iteration budgets (e.g., 100 iterations instead of 300) to remain stable in sequential learning settings; otherwise, the "diffusion" causes too much forgetting of earlier tasks.
- Rank Estimation: The paper relies on a rough estimate for the "rank" ($r$) of the task-relevant subspace. The authors note that a more principled way to estimate this landscape curvature is a target for future research.
- KL Divergence: Contrary to some prior claims, the authors found that ES does not always provide a "KL advantage" (staying closer to the base model's output distribution) in sequential settings. The benefit seems highly dependent on the specific task structure.
Summary updated