ReAPO:用简单 ReAct 循环做提示词优化,无需复杂搜索
这篇论文做了个挺反直觉的实验:不用进化算法或搜索树,就让一个 ReAct 智能体反复评估、改写、验证提示词,成本还更低。做提示词工程的开发者该看看,尤其是打算上 GEPA、DSPy 之前——先跑个简单循环可能就够了。
论文提出 ReAPO,让一个普通 ReAct 智能体通过工具评估提示词、反思错误、修改提示词并对照目标验证改动,全程不使用种群、变异调度或搜索树。测试覆盖多跳问答、数学、事实核查、指令遵循、隐私委托五类任务及真实企业智能体任务,在公开基准上 API 成本低于对比方法。研究还发现单次运行的基准对比可能把优化器排序排错,因为 LLM 逐次运行的方差大于被测量的差异,作者报告了多轮运行的置信区间。
核心结论是随模型能力增强,提示词优化未必需要复杂的搜索协议。作者建议先用一个智能体循环再考虑引入优化框架,并在采信任何差距前把每个优化器跑多次。这提示依赖 GEPA、DSPy 类框架的团队可以先验证简单方法是否已足够。
Don't underestimate the power of a simple ReAct agentic loop. This work finds that a plain ReAct agent is enough for prompt optimization. The whole point is that as models grow in capabilities, prompt optimization may not need elaborate search protocols. Agentic simplicity might be enough. They propose ReAPO, which gives a ReAct agent tools to evaluate a prompt and reflect on its errors. It analyzes failures, revises the prompt, and validates the change against the objective. There is no population, mutation schedule, or search tree. They test it on multi-hop QA, math, fact verification, instruction following, and privacy-conscious delegation, plus real enterprise agent tasks, with lower API cost on the public benchmarks. They report confidence intervals over several runs and show that single-run comparisons on small benchmarks can rank optimizers in the wrong order, because run-to-run LLM variance is larger than the differences being measured. It might be a good idea to start with an agent loop before adopting an optimization framework, and run each optimizer several times before trusting a gap. Paper: arxiv.org/abs/2611.36061 Chat with Paper: academy.dair.ai/papers/simplic…📊 78 ⚡
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 ReAct, ReAPO, prompt engineering, agents.
Source attribution: curated from elvis (@omarsar0).