跳到正文
Rohan Paul· @rohanpaul_ai · X·AI 评分47

UiPath 论文:ReAct 智能体提示词优化媲美进化方法

AI 导读

UiPath 新论文提出 ReAPO,用单个 ReAct 智能体通过工具读取失败样例并编辑提示词,按训练分数保留或回滚改动,以单线编辑替代种群式搜索。在 6 个公开基准上,它以少 2 至 7 倍的评估次数追平或超过 GEPA,API 花费 17.4 美元对 64.5 美元;在 5 个企业智能体任务中有 3 个胜出。作者建议采用复杂提示词优化器前,先在自己的任务上多次测试工具型智能体循环。

正文 · 原文

New UiPath paper finds that a simple ReAct agent optimizes prompts as well as complex evolutionary methods, at about a quarter of the cost.

Recent prompt optimizers like GEPA use evolutionary search, Pareto fronts and mutation rules. They need thousands of evaluation runs and sometimes hand-built feedback for each task.

ReAPO gives 1 agent tools to run the system, read failing examples and edit prompts. It keeps or reverts each change based on the training score, following 1 line of edits instead of a population.

On 6 public benchmarks it matched or beat GEPA with 2 to 7 times fewer evaluation runs, costing $17.4 in API spend against $64.5. On 5 enterprise agent tasks, it beat GEPA on 3.

Before adopting a complex prompt optimizer, try a tool-using agent loop, and test it over several runs on your own tasks.

来源:Rohan Paul · x.com