arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19093cs.AIcs.LG
收藏

通过 elicitation 进行嵌入:用于系统提示贝叶斯优化的动态表示

Embedding by Elicitation: Dynamic Representations for Bayesian Optimization of System Prompts

Meta

Zhiyuan Jerry Lin, Benjamin Letham, Samuel Dooley, Maximilian Balandat, Eytan Bakshy

AI总结:

本文研究了在仅有聚合反馈的情况下,如何通过动态表示进行系统提示的贝叶斯优化,提出了一种基于 elicitation 的嵌入方法 ReElicit,利用 LLM 构建可解释的特征空间,并通过概率高斯过程代理选择目标特征向量,最终实现系统提示的优化。

摘要:

系统提示是现代 AI 系统中的核心控制机制,在对话、任务和用户群体中塑造行为。然而,当反馈仅作为聚合度量而非每个示例的标签、失败或批评时,调整系统提示变得困难。我们研究了这种聚合反馈设置作为受限样本的黑盒优化问题,针对离散且长度可变的文本。我们引入了 ReElicit,一种基于 elicitation 的贝叶斯优化框架。给定任务描述、先前评估的提示和标量分数,LLM 会提取一个紧凑且可解释的特征空间,并将提示映射到其中。利用概率高斯过程代理,获取函数会选择目标特征向量,LLM 会实现并优化这些向量以生成可部署的系统提示。随着新评估的到来,重新提取特征空间使表示能够适应观察到的提示-分数历史。我们通过离线基准准确率作为受控的聚合代理来评估该设置:优化器观察每个提示的一个标量分数,而没有每个示例的标签、错误或批评。在十个系统提示优化任务中,使用 30 次总评估预算,ReElicit 在代表性聚合-only 提示优化基线中实现了最强的聚合性能。这些结果表明,LLM 不仅可以作为提示生成器,还可以作为适应性语义表示构建器,用于自然语言艺术的贝叶斯优化。

英文摘要:

System prompts are a central control mechanism in modern AI systems, shaping behavior across conversations, tasks, and user populations. Yet they are difficult to tune when feedback is available only as aggregate metrics rather than per-example labels, failures, or critiques. We study this aggregate feedback setting as sample-constrained black-box optimization over discrete, variable-length text. We introduce ReElicit, a Bayesian optimization framework based on \emph{embedding by elicitation}. Given a task description, previously evaluated prompts, and scalar scores, an LLM elicits a compact, interpretable feature space and maps prompts into it. Leveraging a probabilistic Gaussian process surrogate, an acquisition function then selects target feature vectors, which the LLM realizes and refines into deployable system prompts. Re-eliciting the feature space as new evaluations arrive lets the representation adapt to the observed prompt-score history. We evaluate the setting using offline benchmark accuracy as a controlled aggregate proxy: the optimizer observes one scalar score per prompt and no per-example labels, errors, or critiques. Across ten system prompt optimization tasks with a 30 total evaluation budget, ReElicit achieves the strongest aggregate performance profile among representative aggregate-only prompt-optimization baselines. These results suggest that LLMs can serve as adaptive semantic representation builders, not only prompt generators, for Bayesian optimization over natural-language artifacts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑