arXiv:2603.23994cs.LGcs.AI2026-03被引 7

LLM生成优化易失败,因设计选择隐含且关键。

Understanding the Challenges in Iterative Generative Optimization with LLMs

  • 通过分析起始样本、反馈窗口和批量处理方式,揭示优化成败因素。
  • 9%的智能体使用自动优化,不同起点决定能否找到解。
  • 适合希望构建自进化系统的开发者参考实操建议。

生成式优化利用大语言模型(LLMs)通过执行反馈迭代改进代码、工作流或提示词等产物,是构建自进化智能体的有前景方法。然而实际应用中仍很脆弱:尽管研究活跃,仅有9%的被调查智能体采用了自动化优化。我们指出,这种脆弱性源于工程师在建立学习闭环时需做出“隐性”设计决策:优化器能修改什么,以及每次更新应提供何种“正确”学习证据。我们在MLAgentBench、Atari和BigBench Extra Hard(BBEH)上开展案例研究,发现三个核心因素影响大多数应用:起始产物、执行轨迹的信用时间窗、以及将试错结果聚合为学习证据的方式。研究发现,不同起始样本决定了在MLAgentBench中是否可达解;截断的执行轨迹仍可提升Atari智能体性能;而更大的小批量(minibatch)并未单调提升在BBEH上的泛化能力。结论表明,缺乏跨领域通用的学习循环配置方法是制约其生产化和普及的主要障碍。本文提供了针对这些设计选择的实际指导。

原文摘要 · Abstract (English)

Generative optimization uses large language models (LLMs) to iteratively improve artifacts (such as code, workflows or prompts) using execution feedback. It is a promising approach to building self-improving agents, yet in practice remains brittle: despite active research, only 9% of surveyed agents used any automated optimization. We argue that this brittleness arises because, to set up a learning loop, an engineer must make ``hidden'' design choices: What can the optimizer edit and what is the "right" learning evidence to provide at each update? We investigate three factors that affect most applications: the starting artifact, the credit horizon for execution traces, and batching trials and errors into learning evidence. Through case studies in MLAgentBench, Atari, and BigBench Extra Hard, we find that these design decisions can determine whether generative optimization succeeds, yet they are rarely made explicit in prior work. Different starting artifacts determine which solutions are reachable in MLAgentBench, truncated traces can still improve Atari agents, and larger minibatches do not monotonically improve generalization on BBEH. We conclude that the lack of a simple, universal way to set up learning loops across domains is a major hurdle for productionization and adoption. We provide practical guidance for making these choices.

LLM优化自进化生成式智能体

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。