Original post · AI translation
标题:“简单就够了:用于提示词优化的 ReAct 智能体”
UiPath 的一篇新论文发现,简单的 ReAct 智能体优化提示词的效果与复杂的进化方法相当,而成本约为后者的 1/4。
GEPA 等近期的提示词优化器使用进化搜索、帕累托前沿和变异规则。它们需要数千次评估运行,有时还需要为每项任务手工构建反馈。
ReAPO 为 1 个智能体提供运行系统、读取失败案例和编辑提示词的工具。它根据训练得分保留或撤销每次更改,沿着单一的编辑路径推进,而不是维护一个种群。
在 6 个公开基准测试中,它以少 2 至 7 倍的评估运行次数达到或超过了 GEPA 的表现,API 支出为 17.4 美元,而 GEPA 为 64.5 美元。在 5 项企业智能体任务中,它在其中 3 项上胜过 GEPA。
在采用复杂的提示词优化器之前,先试试使用工具的智能体循环,并在自己的任务上运行多次进行测试。
Original
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.