arXiv:2510.18257cs.CLcs.AI2025-10

让提示词自动进化,跨任务更稳定高效。

DelvePO: Direction-Guided Self-Evolving Framework for Flexible Prompt Optimization

  • 将提示词拆解为可独立优化的模块,按方向逐步改进。
  • 在多个模型和任务上优于当前最优方法,提升明显且稳定。
  • 适合需要灵活适配多种任务的提示工程场景。

提示词优化已成为引导大语言模型完成各类任务的关键方法。然而,现有方法多依赖大模型的随机重写能力,且通常只关注特定影响因素,容易陷入局部最优。此外,优化后提示词的性能常不稳定,限制了其在不同任务间的迁移能力。为此,我们提出 DelvePO(方向引导的自演化提示优化框架),一种无需依赖具体任务的通用优化框架。该框架将提示词分解为可独立探索的组件,以分析不同因素对任务的影响。在此基础上,引入工作记忆机制,使大模型能缓解自身不确定性,获得关键洞察,从而指导新提示的生成。在涵盖多个领域的多种任务上,针对开源与闭源模型(包括 DeepSeek-R1-Distill-Llama-8B、Qwen2.5-7B-Instruct 与 GPT-4o-mini)进行了大量实验。结果表明,DelvePO 在相同设置下持续优于以往最先进方法,验证了其在不同任务中的有效性与可迁移性。

原文摘要 · Abstract (English)

Prompt Optimization has emerged as a crucial approach due to its capabilities in steering Large Language Models to solve various tasks. However, current works mainly rely on the random rewriting ability of LLMs, and the optimization process generally focus on specific influencing factors, which makes it easy to fall into local optimum. Besides, the performance of the optimized prompt is often unstable, which limits its transferability in different tasks. To address the above challenges, we propose $\textbf{DelvePO}$ ($\textbf{D}$irection-Guid$\textbf{e}$d Se$\textbf{l}$f-E$\textbf{v}$olving Framework for Fl$\textbf{e}$xible $\textbf{P}$rompt $\textbf{O}$ptimization), a task-agnostic framework to optimize prompts in self-evolve manner. In our framework, we decouple prompts into different components that can be used to explore the impact that different factors may have on various tasks. On this basis, we introduce working memory, through which LLMs can alleviate the deficiencies caused by their own uncertainties and further obtain key insights to guide the generation of new prompts. Extensive experiments conducted on different tasks covering various domains for both open- and closed-source LLMs, including DeepSeek-R1-Distill-Llama-8B, Qwen2.5-7B-Instruct and GPT-4o-mini. Experimental results show that DelvePO consistently outperforms previous SOTA methods under identical experimental settings, demonstrating its effectiveness and transferability across different tasks.

提示优化自演化大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。