English

\(X\)-evolve: Solution space evolution powered by large language models

Artificial Intelligence 2025-08-12 v1

Abstract

While combining large language models (LLMs) with evolutionary algorithms (EAs) shows promise for solving complex optimization problems, current approaches typically evolve individual solutions, often incurring high LLM call costs. We introduce XX-evolve, a paradigm-shifting method that instead evolves solution spaces XX (sets of individual solutions) - subsets of the overall search space SS. In XX-evolve, LLMs generate tunable programs wherein certain code snippets, designated as parameters, define a tunable solution space. A score-based search algorithm then efficiently explores this parametrically defined space, guided by feedback from objective function scores. This strategy enables broader and more efficient exploration, which can potentially accelerate convergence at a much lower search cost, requiring up to two orders of magnitude fewer LLM calls than prior leading methods. We demonstrate XX-evolve's efficacy across three distinct hard optimization problems. For the cap set problem, we discover a larger partial admissible set, establishing a new tighter asymptotic lower bound for the cap set constant (C2.2203C \ge 2.2203). In information theory, we uncover a larger independent set for the 15-vertex cycle graph (C155\mathcal{C}_{15}^{\boxtimes 5}, size 19,946), thereby raising the known lower bound on its Shannon capacity. Furthermore, for the NP-hard online bin packing problem, we generate heuristics that consistently outperform standard strategies across established benchmarks. By evolving solution spaces, our method considerably improves search effectiveness, making it possible to tackle high-dimensional problems that were previously computationally prohibitive.

Keywords

Cite

@article{arxiv.2508.07932,
  title  = {\(X\)-evolve: Solution space evolution powered by large language models},
  author = {Yi Zhai and Zhiqiang Wei and Ruohan Li and Keyu Pan and Shuo Liu and Lu Zhang and Jianmin Ji and Wuyang Zhang and Yu Zhang and Yanyong Zhang},
  journal= {arXiv preprint arXiv:2508.07932},
  year   = {2025}
}
R2 v1 2026-07-01T04:44:12.805Z