TRANSMISSION // 2611.35819v1
When optimization benchmarks reward the wrong shortcut
Source published
A study finds that benchmark design can help determine whether LLM-generated optimizers retain code that favors the centre of a search space.

An optimizer may look capable because a benchmark puts its best answer in a familiar place. Researchers tested whether large language models’ generated optimizers develop this kind of centre bias—and whether changing the training benchmarks makes a difference.
An optimization algorithm searches for the best solution among many possibilities. To judge how well it searches, researchers often test it on benchmark problems with known answers. But what if those answers repeatedly sit in the middle of the search space? An algorithm that gravitates toward the centre might score well for the wrong reason, then struggle when the best answer is elsewhere.
A new preprint examines whether this concern applies to optimizers designed with large language models (LLMs). In LLM-driven automated algorithm design, a model writes or edits optimization code; the code is scored on benchmark problems, and higher-scoring versions are more likely to survive. The researchers ask whether this process produces algorithms with a bias toward the centre or coordinate origin—and whether that bias comes from the model, the benchmarks, or both.
Testing for a centre shortcut
The researchers screened 330 distinct LLM-generated algorithms collected from six public sources. They used a shift-ratio test: run an optimizer on functions whose best point is in its usual location, then repeat after moving that point. A large increase in error after the move counts as evidence of centre or origin bias. The test was run at two problem sizes, with dimensions of five and ten. The team also used the BIAS toolbox, which detects other kinds of systematic sampling patterns, and checked the methods against 11 human-designed algorithms with known test behaviour.
The shift-ratio screen flagged 6 of 312 algorithms with valid results at five dimensions (1.9%) and 5 of 276 at ten dimensions (1.8%). These are valid-test counts, not the full collection: some algorithms could not be assessed at both sizes. The BIAS toolbox flagged many more, mostly for boundary-related patterns such as repeatedly landing on the edges of the allowed range. That contrast matters: the toolbox detects structural patterns in sampling, while the shift-ratio test asks whether moving the optimum hurts performance. The authors therefore use the latter to assess centre or origin bias.
Changing the training benchmark
To probe the source of the bias, the team ran a controlled experiment with the LLaMEA algorithm-design framework. They compared two training setups that differed in the locations of the optima: one used functions with optima at or near the origin; the other randomly shifted the functions for each optimization run. Both groups used the same LLM, prompts and other stated settings, with 20 independent runs per group.
At ten dimensions, 5 of 20 final algorithms from centre-based training were flagged, compared with none from shifted training. But this result is exploratory, not conclusive: after correcting for multiple comparisons, the reported p-value was 0.094. The authors also note that the number of runs was increased after an interim look at the results.
On independent test instances of the same benchmark functions, algorithms trained with centred optima showed a larger average performance drop when the optima moved. The median drop was 0.024, compared with 0.005 for the shifted-training group; the means were 0.092 and 0.005. The difference was statistically detectable in the authors’ test, but it was driven by a minority: four centre-trained algorithms lost 0.30–0.36. The paper does not establish that either group was better overall: the groups’ test scores were not significantly different in either the unshifted or shifted setting.
The researchers also tracked 497 best-so-far algorithms across the runs. Biased code reached the top of the evolving population in both training setups, but it was more often still present at the end of centre-based runs. This fits the possibility that the model can propose such code while benchmark scoring influences whether it survives. It does not directly isolate the model’s own predispositions, because the researchers did not score the same pool of proposals under both benchmarks.
What the code was doing
For ten biased algorithms, the team changed one suspect piece of code at a time. In each case, a single change removed the bias flag. Examples included initializing a search at the origin, leaving some population members at zero because of a bug, and setting a particle-velocity limit equal to half the search-box width. In the last case, a particle at the boundary could land exactly at the centre after a step. These code changes do not mean every use of a central starting point is harmful: in one CMA-ES example, changing the starting point reduced performance on shifted tests. The relevant question is whether a design still works when the optimum moves.
The study has important limits. Its controlled experiment uses one LLM and a modest number of runs; its held-out tests use new instances of the same functions, not entirely new function families. The authors’ direct human-designed comparison is limited to 11 controls; a same-protocol comparison with 330 human-designed algorithms was still in progress in the preprint. The experiments also cannot fully separate the model’s prior from the effect of selection.
The practical lesson is a cautious one: randomly shifting benchmark optima during training may help prevent centre-favouring code from being rewarded, and testing on shifted problems can reveal vulnerabilities that familiar benchmarks miss. This is a preprint, so its findings should be treated as provisional rather than as settled evidence about LLM-generated optimizers generally.
- large language models
- optimization algorithms
- benchmark design
- centre bias
- machine learning
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A modular toolkit for quantum optimization
Source published
Shared keywords: machine learning
SAEPO gives language-model tokens more specific credit
Source published
Shared keywords: large language models
When Patent-Search Scores Measure the Benchmark
Source published
Shared keywords: large language models
A movement gate for evolutionary search
Source published
Shared keywords: optimization algorithms
When video-verifier scores give the wrong impression
Source published
Shared keywords: benchmark design