arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.23273cs.CL
收藏

UPA:基于树状搜索与选择的无监督提示代理

UPA: Unsupervised Prompt Agent via Tree-Based Search and Selection

MAIS, CASIA(中国科学院自动化研究所);SAI, UCAS(中国科学技术大学人工智能学院);Mininglamp Technology(Mininglamp技术公司);IIE, CAS(中国科学院信息研究所);SCSE, FIE, M.U.S.T(慕斯科技大学信息工程系)

Siran Peng, Weisong Zhao, Tianyu Fu, Chenxu Zhao, Tianshuo Zhang, Haoyuan Zhang, Xiangyu Zhu, Minghui Wu, Zhen Lei

AI总结:

本文提出UPA,一种无需真实奖励信号的无监督提示代理,通过树状结构搜索和基于Bradley-Terry-Luce模型的两阶段框架实现高效提示优化。

摘要:

提示代理近期 emerged 作为自动提示优化的有前景范式,将提示发现视为结构化提示空间上的序列决策问题。尽管这种 formulation 允许使用先进的规划算法,但这些方法通常假设可获得监督奖励信号,这在实际场景中往往不可用。在本文中,我们提出UPA,一种无监督提示代理,能够在不依赖真实奖励的情况下实现结构化搜索和选择。具体而言,在搜索过程中,UPA迭代构建一个演进的树状结构来导航提示空间,通过大语言模型(LLMs)提供的细粒度且位置偏差的成对比较进行引导。关键的是,由于这些局部比较本身不必然产生一致的全局尺度,我们将系统提示探索与最终选择分离,引入基于Bradley-Terry-Luce(BTL)模型的两阶段框架。该框架首先对路径进行贝叶斯聚合,以在不确定性下过滤候选者,随后进行全球锦标赛式比较以推断潜在提示质量并识别最佳提示。在多个任务上的实验表明,UPA在多个任务上均优于现有提示优化方法,证明了在无监督设置中,代理式优化仍能保持高度有效性。

英文摘要:

Prompt agents have recently emerged as a promising paradigm for automated prompt optimization, framing prompt discovery as a sequential decision-making problem over a structured prompt space. While this formulation enables the use of advanced planning algorithms, these methods typically assume access to supervised reward signals, which are often unavailable in practical scenarios. In this work, we propose UPA, an Unsupervised Prompt Agent that realizes structured search and selection without relying on ground-truth (GT) rewards. Specifically, during search, UPA iteratively constructs an evolving tree structure to navigate the prompt space, guided by fine-grained and position-debiased pairwise comparisons from Large Language Models (LLMs). Crucially, as these local comparisons do not inherently yield a consistent global scale, we decouple systematic prompt exploration from final selection, introducing a two-stage framework grounded in the Bradley-Terry-Luce (BTL) model. This framework first performs path-wise Bayesian aggregation of local comparisons to filter candidates under uncertainty, followed by global tournament-style comparisons to infer latent prompt quality and identify the optimal prompt. Experiments across multiple tasks demonstrate that UPA consistently outperforms existing prompt optimization methods, showing that agent-style optimization can remain highly effective even in unsupervised settings.

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

↑