cs.NENov 26, 2026

The LLM Proposes, the Benchmark Disposes: Centre Bias in LLM-Driven Automated Algorithm Design

Authors: Yuefeng Xu, Rui Zhong, Jun Yu

Organizations: Graduate School of Science and Technology, Niigata University, Niigata, Japan · Information Initiative Center, Hokkaido University, Sapporo, Japan · Institute of Science and Technology, Niigata University, Niigata, Japan

Abstract

Large language models (LLMs) are increasingly used to design black-box optimisation algorithms automatically (LLM-driven automated algorithm design, LLM-AAD). Selected by scores on training benchmarks, many of which place optima at or near the search-box centre, do LLM-AAD optimisers develop a centre or origin bias? Using Kůdela's shift-ratio test and the BIAS toolbox, we screen 330 published LLM-generated algorithms from six sources, flagging 1.9% (6/312) at D=5D=5 and 1.8% (5/276) at D=10D=10. A controlled LLaMEA experiment then varies only the training benchmark: with unshifted functions (optima near the origin), 5/20 final algorithms are flagged at D=10D=10 vs. 0/20 with randomly shifted functions (exploratory; Holm-corrected p=0.094p=0.094). On independent test instances, centre-trained algorithms lose more performance when the optimum moves (AOCC gap: median 0.024 vs. 0.005, mean 0.092 vs. 0.005; Mann-Whitney p=0.003p=0.003, r=0.52r=0.52), driven by four losing 0.30-0.36. Across all 497 best-so-far algorithms, biased code reaches the top under both regimes (6/20 vs. 3/20 runs) but persists to the end more often under unshifted training (5/6 vs. 0/3). A single code edit removes the flag for all ten examined biased algorithms, uncovering unreported LLM-optimiser mechanisms including a velocity clamp equal to box half-width (landing particles on the centre) and origin-trapping bugs. For four of five centre-trained algorithms this edit causes no detectable loss on shifted instances, unlike CMA-ES initialised at the box centre. Randomly shifting training functions offers a simple safeguard.

Figures & tables

Explore similar work

CardsList
  1. From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priors

    Mar 3, 2026Qi Huang, Furong Ye, Ananta Shahane +2Large Language Model-Guided OptimizationAutomated Algorithm Discovery

  2. The Invisible Lottery: How Subtle Cues Steer Algorithm Choice in LLM Code Generation

    Jun 2, 2026Akanksha Narula, Mofasshara Binte Rafique, Laurent BindschaedlerPrompt SensitivityLLM Prompting