Evolution Strategies for LLM Fine-Tuning
Evolution strategies for LLM fine-tuning apply black-box optimization to the weights of a pretrained 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 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, 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 policy-gradient method such as 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
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, GRPO and Dr.GRPO on seven instruction-tuned models from the Qwen2.5 and 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. 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 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]
Continue reading
- Large Language ModelA large language model (LLM) is a language model trained on large collections of text. Many modern LLMs use transformer neural networks.Linked in the introduction
- BackpropagationBackpropagation is an algorithm for computing derivatives of a scalar objective with respect to variables in a layered or otherwise composed computation.Linked in the introduction
- Fine-tuningFine-tuning is the process of adapting a pretrained machine-learning model by continuing to optimize some or all of its parameters on data selected for a target task, domain, behavior, or population.Mentioned 4 times above
- Qwen2.5Qwen2.5 is a family of open-weight large language models that Alibaba Cloud's Qwen team released on 19 September 2024, spanning seven dense sizes from 0.5 billion to 72 billion parameters, pretrained on…Mentioned 7 times above
- Llama 3Llama 3 is a family of open-weight large language models developed by Meta. Meta released the original Llama 3 checkpoints on April 18, 2024, in 8-billion-parameter and 70-billion-parameter sizes.Mentioned 4 times above
- Reinforcement learningReinforcement learning (RL) is a branch of machine learning in which an agent learns to make decisions by taking actions in an environment to maximize a cumulative reward signal, discovering good behavior…Also in Deep Learning
More to read
References
- ^1 ^2Wierstra, Daan, et al. Natural Evolution Strategies. Journal of Machine Learning Research 15(27), 2014, pp. 949-980.
- ^1 ^2Salimans, Tim, et al. Evolution Strategies as a Scalable Alternative to Reinforcement Learning. arXiv, 2017.
- ^1 ^2Qiu, Xin, et al. Evolution Strategies at Scale: LLM Fine-Tuning Beyond Reinforcement Learning. Proceedings of the 43rd International Conference on Machine Learning, PMLR 306, July 2026, pp. 101987-102015.
- ^1 ^2 ^3 ^4 ^5 ^6Qiu, Xin, et al. Evolution Strategies at Scale, revision 3. arXiv, July 14, 2026. Sections 3-5 and Appendix A.
- ^1 ^2Liang, Qiyao, et al. Dimension Is Free, Horizon Is Not: When Evolution Strategies Rival Policy Gradients for LLM Fine-Tuning. arXiv preprint, November 22, 2026. Sections 3-5.
- ^Abdi, Immanuel, et al. Evolutionary Strategies at Scale lead to Catastrophic Forgetting. Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, 2026.
- ^Schweighofer, Kajetan, et al. Overcoming Forgetting in LLM Fine-Tuning with Evolution Strategies. arXiv preprint, May 28, 2026.
- ^Qiu, Xin, et al. Evolution Strategies at Scale, original preprint. arXiv, September 29, 2025. Table 1.
- ^Roberto Dailey et al. Original image source. CC BY 4.0. Figure reproduced from the source paper. Prepared as WebP on white for on-screen display.
Improve this article
Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.
2 revisions · v2 · 974 words · full history
Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify
Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here
Cite this page: AI Wiki. "Evolution Strategies for LLM Fine-Tuning." aiwiki.ai, updated 29 Nov 2026. CC BY 4.0. https://aiwiki.ai/wiki/evolution_strategies_for_llm_fine_tuning



