StraGo: Harnessing Strategic Guidance for Prompt Optimization
원문 초록
Prompt engineering is pivotal for harnessing the capabilities of large language models (LLMs) across diverse applications. While existing prompt optimization methods improve prompt effectiveness, they often lead to prompt drifting, where newly generated prompts can adversely impact previously successful cases while addressing failures. Furthermore, these methods tend to rely heavily on LLMs' intrinsic capabilities for prompt optimization tasks. In this paper, we introduce StraGo (Strategic-Guided Optimization), a novel approach designed to mitigate prompt drifting by leveraging insights from both successful and failed cases to identify critical factors for achieving optimization objectives. StraGo employs a how-to-do methodology, integrating in-context learning to formulate specific, actionable strategies that provide detailed, step-by-step guidance for prompt optimization. Extensive experiments conducted across a range of tasks, including reasoning, natural language understanding, domain-specific knowledge, and industrial applications, demonstrate StraGo's superior performance. It establishes a new state-of-the-art in prompt optimization, showcasing its ability to deliver stable and effective prompt improvements.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
State and Memory is All You Need for Robust and Reliable AI Agents
SV-LLM: An Agentic Approach for SoC Security Verification using Large Language Models
Does Prompt Design Impact Quality of Data Imputation by LLMs?
In-context learning capabilities of Large Language Models to detect suicide risk among adolescents from speech transcripts
In-Context Watermarks for Large Language Models
Evolutionary Computation and Large Language Models: A Survey of Methods, Synergies, and Applications
토론
이 논문과 연결된 포럼 글이 아직 없습니다.