arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.04465cs.CLcs.AI
收藏

SePO: 用于系统提示优化的自我进化提示智能体

SePO: Self-Evolving Prompt Agent for System Prompt Optimization

National University of Singapore(新加坡国立大学);City University of Hong Kong(香港城市大学)

Wangcheng Tao, Han Wu, Weng-Fai Wong

AI总结:

提出SePO方法,通过自我指涉设计让提示智能体同时优化任务智能体和自身的系统提示,采用两阶段进化训练,在多个基准上平均准确率提升4.49%。

摘要:

系统提示优化在不修改底层模型的情况下改善智能体行为,生成可读且模型无关的指令。现有方法构建一个提示智能体来优化任务智能体的系统提示,但提示智能体自身的系统提示仍由人工设计且固定不变。我们提出自我进化提示优化(SePO),将提示智能体自身的系统提示与任务智能体的系统提示一同作为优化目标。SePO采用自我指涉设计:一个单一的提示智能体在开放式进化搜索下同时改进任务智能体的系统提示和自身的系统提示,该搜索维护一个候选提示档案作为垫脚石。训练分为两个阶段:预训练在多任务池上进化提示智能体,微调则将其应用于目标任务。在涵盖数学(AIME'25)、抽象推理(ARC-AGI-1)、研究生级科学(GPQA)、代码生成(MBPP)和逻辑谜题(数独)的五个基准上,SePO始终优于Manual-CoT、TextGrad和MetaSPO,与Manual-CoT相比平均准确率提升4.49%。预训练中的提示优化技能也能泛化到预训练混合任务之外的任务,而非记忆每个任务的提示。

英文摘要:

System prompt optimization improves agent behavior without modifying the underlying model, yielding human-readable, model-agnostic instructions. Existing methods build a prompt agent that refines task agents' system prompts, yet leave the prompt agent's own system prompt hand-engineered and fixed. We propose Self-Evolving Prompt Optimization (SePO), which treats the prompt agent's own system prompt as an optimization target alongside task agents' system prompts. SePO adopts a self-referential design. A single prompt agent improves both task agents' system prompts and its own under an open-ended evolutionary search that maintains an archive of candidate prompts as stepping stones. Training proceeds in two stages: pre-training evolves the prompt agent on a multi-task pool, and fine-tuning then applies it to a target task. Across five benchmarks spanning math (AIME'25), abstract reasoning (ARC-AGI-1), graduate-level science (GPQA), code generation (MBPP), and logic puzzles (Sudoku), SePO consistently outperforms Manual-CoT, TextGrad, and MetaSPO, improving the average accuracy by 4.49 points compared to Manual-CoT. The prompt optimization skill from pre-training also generalizes to tasks beyond the pre-training mixture, rather than memorizing per-task prompts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑