检索首页 关于本站 地球物理

Simplicity is Enough: ReAct Agents for Prompt Optimization

作者:Andrei Dumitrescu;Andrei C. Rusu;Adrian Cǎtǎlin Badea;Bai Li;Cosmin Maria;Ion Anghelina;Tomasz L. Religa;Dragos H Bobolea
期刊 / 来源:arXiv 年份:2026
地球物理期刊论文OpenAlex

摘要

Prompt optimization has recently been approached with increasingly specialized search procedures and evolutionary frameworks. In this work, we ask whether such complexity is necessary to achieve competitive performance. We introduce ReAPO (ReAct Agents for Prompt Optimization), a lightweight framework that casts prompt optimization as an agentic process built around a ReAct loop augmented with evaluation and reflection tools. Rather than relying on bespoke optimization machinery, ReAPO iteratively refines prompts through error analysis, reflective reasoning, and validation against the optimization objective. We evaluate ReAPO on several established benchmarks spanning multi-hop question answering, mathematical reasoning, fact verification, instruction following, and privacy-conscious delegation, as well as on real enterprise agentic tasks. Across these settings, this agentic optimizer can match or outperform specialized prompt optimization methods, with 2-7x fewer evaluation rollouts and a lower API cost on the public benchmarks. We also report confidence intervals over multiple independent runs and show that single-run evaluations on small benchmarks can give a misleading picture

以上为原文摘要。AI 中文译文、术语解读与收藏同步需注册登录后查看(本站不提供文献全文下载)。