What Makes an LLM a Good Optimizer? A Trajectory Analysis of LLM-Guided Evolutionary Search

arXiv cs.CL / 4/22/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper studies why LLMs improve results in evolutionary and agentic optimization systems by analyzing large-scale optimization trajectories across 15 LLMs and 8 tasks.
  • While stronger zero-shot problem-solving correlates with better final optimization, it accounts for only part of the performance variance, implying that the LLM’s induced search dynamics matter.
  • Effective LLM optimizers act as “local refiners,” making frequent small gains and gradually concentrating the search in semantically relevant regions, whereas weaker ones cause “semantic drift.”
  • Solution novelty does not reliably predict final performance; novelty helps only when the search stays sufficiently localized near high-performing areas of the solution space.
  • The authors argue that trajectory analysis is essential for designing and training more effective LLM-based optimization systems and for diagnosing failure modes.

Abstract

Recent work has demonstrated the promise of orchestrating large language models (LLMs) within evolutionary and agentic optimization systems. However, the mechanisms driving these optimization gains remain poorly understood. In this work, we present a large-scale study of LLM-guided evolutionary search, collecting optimization trajectories for 15 LLMs across 8 tasks. Although zero-shot problem-solving ability correlates with final optimization outcomes, it explains only part of the variance: models with similar initial capability often induce dramatically different search trajectories and outcomes. By analyzing these trajectories, we find that strong LLM optimizers behave as local refiners, producing frequent incremental improvements while progressively localizing the search in semantic space. Conversely, weaker optimizers exhibit large semantic drift, with sporadic breakthroughs followed by stagnation. Notably, various measures of solution novelty do not predict final performance; novelty is beneficial only when the search remains sufficiently localized around high-performing regions of the solution space. Our results highlight the importance of trajectory analysis for understanding and improving LLM-based optimization systems and provide actionable insights for their design and training.