# Evolution Strategies for LLM Fine-Tuning

> Source: https://aiwiki.ai/wiki/evolution_strategies_for_llm_fine_tuning
> Updated: 2026-11-29
> Categories: Deep Learning, Large Language Models, Machine Learning
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) - attribute to "AI Wiki (aiwiki.ai)"
> Cite as: AI Wiki. "Evolution Strategies for LLM Fine-Tuning." aiwiki.ai, 29 Nov 2026. https://aiwiki.ai/wiki/evolution_strategies_for_llm_fine_tuning
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution.

**Evolution strategies for LLM fine-tuning** apply black-box optimization to the weights of a pretrained [large language model](https://aiwiki.ai/wiki/large_language_model). Training evaluates variants of the model with small changes to their weights, using the resulting scores to estimate how to update the original weights. The model evaluations are forward passes and the method avoids [backpropagation](https://aiwiki.ai/wiki/backpropagation) through the language model.[1][2][3]

## How the training works

An evolution strategy samples candidates from a search distribution and uses their fitness scores to update that distribution. Natural evolution strategies perform this update with a natural gradient. OpenAI tested a related fixed-covariance approach on Atari and MuJoCo in 2017. Qiu and colleagues adapted that approach to full-parameter [fine-tuning](https://aiwiki.ai/wiki/fine_tuning), first reporting their method in September 2025 and publishing it at ICML in 2026.[1][2][3][4]

Qiu's implementation draws several Gaussian perturbations around the current weights, evaluates each candidate on examples and combines the perturbations using their normalized rewards. It uses greedy decoding during candidate evaluation so that exploration comes from changes to the weights. The scores estimate a direction of improvement from the model's behavior, without differentiating the reward or the network. By storing random seeds and regenerating noise layer by layer, the implementation can test a population without keeping every perturbed model in memory at once. Independent candidate evaluations can run on separate workers.[4]

A [reinforcement learning](https://aiwiki.ai/wiki/reinforcement_learning) policy-gradient method such as [GRPO](https://aiwiki.ai/wiki/grpo) samples outputs from a model and uses their rewards to update the policy through gradients. Both approaches can score a completed response. Where the method explores matters for training cost. A population of weight variants requires multiple forward evaluations, and a policy-gradient update also requires backward computation. Matching the number of samples does not equalize wall-clock time or accelerator use.[4][5]

## Countdown results

<figure>
<a href="/images/evolution-strategies-for-llm-fine-tuning-0e62256705db.webp"><img src="/images/evolution-strategies-for-llm-fine-tuning-0e62256705db.webp" alt="Plots show training accuracy and the share of perturbations outperforming the parent model across three experiments." /></a>
<figcaption>Evolution-strategy experiments on Sudoku, Countdown, and MNIST. The first two panels concern language-model fine-tuning. The third shows a small convolutional model. [9]</figcaption>
</figure>

Countdown tests whether a model can use supplied numbers and arithmetic operations to reach a target. Qiu and colleagues compared evolution strategies (ES) with [PPO](https://aiwiki.ai/wiki/ppo), GRPO and Dr.GRPO on seven instruction-tuned models from the [Qwen2.5](https://aiwiki.ai/wiki/qwen2_5) and [Llama 3](https://aiwiki.ai/wiki/llama_3) families. They used an ES population of 30 with the same settings across all seven models. The runs had the same number of training sample evaluations, and the reported test set contained 2,000 separate problems.[4]

| Model | Before fine-tuning | Highest accuracy among the tested policy-gradient variants | ES accuracy |
|---|---:|---:|---:|
| Qwen2.5 0.5B Instruct | 0.1% | 13.5% | 14.4% |
| Qwen2.5 1.5B Instruct | 0.7% | 31.0% | 37.3% |
| Qwen2.5 3B Instruct | 10.0% | 43.8% | 60.5% |
| Qwen2.5 7B Instruct | 31.2% | 57.5% | 66.8% |
| Llama 3.2 1B Instruct | 0.4% | 14.9% | 16.8% |
| Llama 3.2 3B Instruct | 3.2% | 47.8% | 51.6% |
| Llama 3.1 8B Instruct | 8.1% | 51.3% | 61.2% |

The table uses the expanded comparison in the July 2026 revision. The September 2025 preprint used fewer baselines. For example, its best reported policy-gradient result on the 0.5B model was 0.5%. The revised paper also evaluated math and puzzle tasks under separate setups. The Countdown accuracy figures apply to this benchmark and these checkpoints.[4][8]

## Reward design and retention

In a separate Qwen2.5 7B experiment, the training objective rewarded shorter answers. Some GRPO settings with little or no penalty for drifting from the starting model produced nonsensical short responses, an instance of [reward hacking](https://aiwiki.ai/wiki/reward_hacking). The researchers reported no such outputs in their ES runs on this task. This experiment used a different reward and data from Countdown.[4]

An ACL 2026 paper by Abdi and colleagues reported that longer ES training runs on math and reasoning could degrade performance on earlier tasks. In a separate preprint, Schweighofer and colleagues observed performance on prior tasks fall and later recover during some runs, including drift in policy-gradient runs. They tested anchored weight decay, which pulls updated weights toward the starting model, and reported more stable prior-task scores under their experimental conditions.[6][7]

## Where policy gradients and evolution strategies differ

A November 2026 preprint by Liang and colleagues proposed that the comparison depends partly on how many independent skills must change and how much of the generated sequence affects the reward. In their matched-sample experiments on 14 tasks using Qwen2.5 7B Instruct, policy gradients led or tied ES. A separate, longer-horizon [Terminal-Bench](https://aiwiki.ai/wiki/terminal_bench) 2.1 comparison with Qwen3.5 4B gave the ES checkpoint a higher mean score. The score ranges overlapped and the training budgets differed. The authors treated this result as preliminary.[5]

## References

1. Wierstra, Daan, et al. [Natural Evolution Strategies](https://jmlr.org/papers/v15/wierstra14a.html). Journal of Machine Learning Research 15(27), 2014, pp. 949-980.
2. Salimans, Tim, et al. [Evolution Strategies as a Scalable Alternative to Reinforcement Learning](https://arxiv.org/abs/1703.03864). arXiv, 2017.
3. Qiu, Xin, et al. [Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learning](https://proceedings.mlr.press/v306/qiu26f.html). Proceedings of the 43rd International Conference on Machine Learning, PMLR 306, July 2026, pp. 101987-102015.
4. Qiu, Xin, et al. [Evolution Strategies at Scale, revision 3](https://arxiv.org/html/2509.24372v3). arXiv, July 14, 2026. Sections 3-5 and Appendix A.
5. Liang, Qiyao, et al. [Dimension Is Free, Horizon Is Not: When Evolution Strategies Rival Policy Gradients for LLM Fine-Tuning](https://arxiv.org/html/2611.29795v1). arXiv preprint, November 22, 2026. Sections 3-5.
6. Abdi, Immanuel, et al. [Evolutionary Strategies at Scale lead to Catastrophic Forgetting](https://aclanthology.org/2026.acl-short.18/). Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, 2026.
7. Schweighofer, Kajetan, et al. [Overcoming Forgetting in LLM Fine-Tuning with Evolution Strategies](https://arxiv.org/abs/2605.30148). arXiv preprint, May 28, 2026.
8. Qiu, Xin, et al. [Evolution Strategies at Scale, original preprint](https://arxiv.org/html/2509.24372v1). arXiv, September 29, 2025. Table 1.
9. Roberto Dailey et al. [Original image source](https://arxiv.org/html/2611.04113v1#S1.F1). [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Figure reproduced from the source paper. Prepared as WebP on white for on-screen display.

