arXiv:2511.12063cs.AI2025-11被引 3

用语言空间的贝叶斯优化,让AI在少评几次的情况下自提升。

TextBO: Bayesian Optimization in Language Space for Eval-Efficient Self-Improving AI

  • 用文本梯度+Best-of-N模拟贝叶斯优化,不依赖显式模型
  • 在广告对齐任务中,每轮评估效果优于基线算法
  • 适合评估成本高的自改进AI系统,如对话、创作场景

大语言模型使AI能通过生成、评估、迭代优化实现自我改进。现有研究表明,基于提示优化的自改进可超越强化学习微调,但多数关注生成效率。而在许多实际应用中,评估成本远高于生成成本。为此,本文将具有最优评估效率保障的上置信界-贝叶斯优化(UCB-BO)拓展至语言空间。面对离散提示空间中梯度不可定义、代理模型与获取函数隐含于LLM中的挑战,本文证明:结合简单的文本梯度(由LLM提出局部修改)与Best-of-N策略,可统计上模拟标准UCB获取函数的梯度上升。基于此,提出TextBO——一种纯语言空间运行、无需显式代理或校准不确定性模型的高效自改进算法。在人格诱导偏好分布下的自动化广告对齐任务中,TextBO以更少评估次数表现更优,显著超越Best-of-N与GEPA等强基线。进一步将TextBO的多步文本梯度机制融入GEPA,在智能体基准测试中显著提升性能。总之,TextBO为高效自改进系统设计提供了简单而严谨的语言空间优化框架。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have enabled self-improving AI systems that iteratively generate, evaluate, and refine their outcomes. Recent studies show that prompt-optimization-based self-improvement can outperform state-of-the-art reinforcement-learning fine-tuning of LLMs, but performance is typically measured by generation efficiency. However, in many applications, the constraint is evaluation efficiency: obtaining reliable feedback is far more costly than generating candidates. To optimize for evaluation efficiency, we extend Upper Confidence Bound-Bayesian Optimization (UCB-BO), a framework known for optimal evaluation-efficiency guarantees, to the language domain. Doing so is challenging for two reasons: (i) gradients needed for UCB-BO are ill-defined in discrete prompt space; and (ii) UCB-style exploration relies on a surrogate model and acquisition function, which only live implicitly in the LLM. We overcome these challenges by proving that combining simple textual gradients (LLM-proposed local edits) with the Best-of-N selection strategy statistically emulates ascent along the gradient of the canonical UCB acquisition function. Based on this result, we propose TextBO, a simple, evaluation-efficient self-improving algorithm that operates purely in language space without explicit surrogates or calibrated uncertainty models. We empirically validate TextBO on automated ad-alignment tasks using a persona-induced preference distribution, demonstrating superior performance per evaluation compared to strong baselines such as Best-of-N and GEPA. We also evaluate TextBO's Best-of-N multi-step textual-gradient mechanism on agentic AI benchmarks by augmenting GEPA with it and show that it significantly outperforms standard GEPA. In sum, TextBO is a simple and principled framework for AI self-improving system design that bridges prompt optimization with classical Bayesian optimization.

自改进AI贝叶斯优化提示优化评估效率

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