Dimension Is Free, Horizon Is Not: When Evolution Strategies Rival Policy Gradients for LLM Fine-Tuning

Qiyao Liang, Kajetan Schweighofer, Xin Qiu, Risto MiikkulainenarXiv 2026

Imagine you’re trying to tune a grand piano. You have two choices. You could meticulously adjust every single string, one by one, listening for the perfect pitch (that’s Policy Gradient). Or, you could give the entire piano a calculated, rhythmic shake and see if the overall harmony improves (that’s Evolution Strategies).

For years, the "string-by-string" approach has dominated the world of Large Language Model (LLM) fine-tuning. But as our AI agents start tackling longer, more complex tasks, the strings are getting tangled. This paper asks a provocative question: Is it time to start shaking the piano?

TL;DR

Policy Gradient (PG) methods are the industry standard for LLM tuning, but they struggle with "noise" as tasks get longer. Evolution Strategies (ES), which perturb the model’s parameters rather than its actions, turn out to be surprisingly efficient because they don't care how many parameters a model has—only how many independent "skills" the task requires. As we move toward long-horizon agentic tasks, ES is poised to become the superior tool.

What Problem Does This Paper Address?

Fine-tuning an LLM with Reinforcement Learning (RL) usually involves methods like PPO or GRPO. These are Policy Gradient methods: they sample different words (actions) and see which ones lead to a reward. This works great for short answers, but for "long-horizon" tasks—like an agent navigating a complex computer terminal over hundreds of steps—PG hits a wall.

The problem is credit assignment. If an agent performs 1,000 actions and gets a "success" at the end, which of those 1,000 actions actually helped? PG treats every token as potentially responsible, which introduces massive "noise" into the learning process. Evolution Strategies (ES) avoid this by tweaking the model's weights directly and looking at the total reward, but researchers long feared ES wouldn't scale to models with billions of parameters.

Methods

The authors compare these two methods by viewing them as two different ways to estimate the same goal: the gradient of the reward.

  1. Policy Gradient (PG): Explores in action space. Its "cost" is tied to the effective horizon ($T_{eff}$)—essentially, how many tokens in a sequence are relevant to the reward.
  2. Evolution Strategies (ES): Explores in parameter space. Its "cost" is tied to the effective dimension ($D_{eff}$)—the number of independent skills needed, rather than the total number of parameters in the model.

To prove this, they built a "Multi-skill combination lock" (Figure 2), a synthetic testbed where they could precisely control the number of skills and the length of "filler" (useless) tokens to see exactly when one method overtakes the other.

The controlled testbed allows researchers to separate the number of skills from the length of the task.

Datasets

The researchers didn't just stay in the lab; they tested these theories across 20 diverse tasks using the Qwen2.5-7B and Qwen3.5-4B models:

  • NLP & Reasoning: SQuAD, TriviaQA, GSM8K, MATH-500.
  • Agentic Tasks: ALFWorld (household chores) and WebShop (online shopping).
  • The "Final Boss": Terminal-Bench, a high-stakes environment where agents must solve complex engineering tasks in a Linux terminal. This benchmark has a much longer horizon than typical RL tasks.

Key Insights and Ideas

  • "Dimension is Free": This is the headline-grabber. Even though an LLM has billions of parameters, fine-tuning usually only happens in a low-dimensional subspace. ES doesn't pay a penalty for the "ambient" size of the model; it only pays for the complexity of the task itself.
  • "Horizon is Not": For PG, every extra token is a potential source of noise. As tasks get longer, the "effective horizon" grows, making PG increasingly unstable and expensive.
  • The Crossover Point: There is a predictable "sweet spot" where ES becomes cheaper than PG. If a task is long (high horizon) but relatively simple in terms of the number of independent skills required (low dimension), ES wins.
ES becomes more efficient than PG as the task horizon increases, especially when the number of skills is low.

Key Results

  • Short Tasks: On standard NLP tasks (short horizons), PG remains the king. It’s more sample-efficient and reaches higher scores faster.
  • The Tie: On mathematical reasoning tasks (moderate horizons), the two methods are roughly neck-and-neck.
  • The ES Victory: On Terminal-Bench, which features sequences in the thousands of tokens, "vanilla" ES (with no special engineering) outperformed the specialized PG checkpoints released by other researchers.
  • Stability: ES was able to "repair" wrong decisions that PG had "locked in." Because ES perturbs parameters, it can find its way out of local minima that PG gets stuck in (Figure 1).
Visualizing how ES smooths the reward landscape compared to the noisy returns of PG.

Limitations and Future Work

While ES shines in long horizons, it still requires a reward signal. If the task is so hard that the model never sees a success, neither method can learn.

The authors also note that current benchmarks are mostly "short" by ES standards. We are only just entering the regime where ES becomes competitive. Future work will likely look at multi-agent training, where the "horizon" includes the actions of many different models, potentially making the case for Evolution Strategies even stronger.

In short: if you're building an AI to write a haiku, stick with Policy Gradients. But if you're building an agent to manage a cloud server for an hour? It might be time to start shaking the piano.

Summary updated

Abstract

Policy gradient (PG) methods such as GRPO dominate LLM fine-tuning, yet recent work showed that Evolution Strategies (ES) also scale to fine-tuning models with billions of parameters. Which method needs fewer samples, and on which tasks, remains unclear. We view the two methods as estimators of the same gradient that differ in where they explore. Because ES perturbs parameters, its noise grows with the number of parameters, and because PG samples actions, its noise grows with the number of generated tokens. Only noise along the directions that change the reward slows learning. The cost of ES then depends on the effective dimension, the number of independent skills a task requires rather than its parameter count, while the cost of PG depends on the effective horizon, which counts only the tokens that share both credit and weights with the reward-carrying ones. We train both methods on a synthetic task where the number of skills and the effective horizon can be varied separately. PG is cheaper when the horizon is short, ES becomes cheaper once it is long enough, and this crossover moves to longer horizons as the number of skills grows. We then measure the effective horizons of 20 NLP, math reasoning, and agentic tasks and compare the two methods with Qwen2.5-7B. PG leads on short-horizon tasks, the two tie on the moderate-horizon math ones, and no task has a horizon in the regime where the theory predicts an ES advantage. Terminal-Bench has a far longer horizon. There, in a preliminary comparison with Qwen3.5-4B, ES without any credit assignment reaches a higher success rate than the PG checkpoint released with Tmax, as the theory predicts. ES should thus have the advantage on long-horizon tasks with few independent skills and a nonvanishing reward signal. Current benchmarks are only at the onset of this regime, so ES should become more competitive as agentic tasks grow longer.
BibTeX
@misc{liang2026dimension,
  author = {Qiyao Liang and Kajetan Schweighofer and Xin Qiu and Risto Miikkulainen},
  title = {{Dimension Is Free, Horizon Is Not: When Evolution Strategies Rival Policy Gradients for LLM Fine-Tuning}},
  year = {2026},
  eprint = {2611.29795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29795},
}
Figure