複雜的提示詞調整方法 GEPA 會試很多版本,還要用演化搜尋挑選,可能需要數千次評估。
- UiPath 的新論文提出 ReAPO:讓一個 AI 助理執行系統、檢視答錯的例子,再修改提示詞。
- 每次修改後看訓練分數決定保留或還原。測試顯示,ReAPO 在 6 個公開基準測試中,表現和 GEPA 一樣好或更好,評估次數少 2 到 7 倍,API 花費是 $17.4,GEPA 則是 $64.5。
- 在 5 項企業 AI 助理任務中,ReAPO 有 3 項勝過 GEPA。這表示調整提示詞不一定要用複雜方法,但仍應在自己的任務上多測幾次。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 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.