论文精选

UiPath 论文:ReAct 智能体做提示词优化,成本仅为 GEPA 四分之一

精选理由

提示词优化不用上进化搜索这种重家伙。UiPath 的 ReAPO 让一个智能体边读失败样例边改 prompt,花的 API 费只有 GEPA 的四分之一,基准成绩还打平甚至反超。自己动手做 prompt 工程的人应该直接试。

UiPath 发布 ReAPO 论文,用一个简单的 ReAct 智能体做提示词优化,效果追平 GEPA 等复杂进化式方法,API 花费仅 $17.4 对 $64.5。GEPA 这类优化器依赖进化搜索、Pareto 前沿和变异规则,需要数千次评估运行,有时还要为每个任务手工搭建反馈机制。

正文

ReAPO 的做法是给单个智能体提供工具来运行系统、读取失败样例并直接编辑提示词,每次改动依据训练分数决定保留或回滚,只沿一条编辑线推进,而不是维护一个种群。在 6 个公开基准上,ReAPO 以少 2 到 7 倍的评估次数达到与 GEPA 持平或更好的结果;在 5 个企业级智能体任务中,3 个超过了 GEPA。

对开发者的实际含义是:在引入复杂提示词优化框架前,可以先试工具化智能体循环,并在自己的任务上多轮测试验证。

原文 · rohanpaul_ai

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.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:ReAPO、GEPA、UiPath、提示词工程,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「rohanpaul_ai」(@rohanpaul_ai),经 AITOP 多维评分管线结构化提炼。