PapersSelected

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

Why we picked it

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

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

Body

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

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

Original · 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.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include ReAPO, GEPA, UiPath, prompt engineering.

Source attribution: curated from rohanpaul_ai (@rohanpaul_ai).