Prompt Engineering a Prompt Engineer
Q. Ye, Mohamed Ahmed, Reid Pryzant, Fereshte Khani
University of Southern California California Southern University Microsoft Research (United Kingdom)
阅读操作
确认中在文库中上传 PDF 后可生成中文音频讲解。
摘要与影响
Prompt engineering is a challenging yet crucial task for optimizing the performance of large language models on customized tasks.It requires complex reasoning to examine the model's errors, hypothesize what is missing or misleading in the current prompt, and communicate the task with clarity.While recent works indicate that large language models can be meta-prompted to perform automatic prompt engineering, we argue that their potential is limited due to insufficient guidance for complex reasoning in the meta-prompt.We fill this gap by infusing into the meta-prompt three key components: detailed descriptions, context specification, and a step-by-step reasoning template.The resulting method, named PE2, showcases remarkable versatility across diverse language tasks.It finds prompts that outperform "let's think step by step" by 6.3% on MultiArith and 3.1% on GSM8K, and outperforms competitive baselines on counterfactual tasks by 6.9%.Further, we show that PE2 can make targeted prompt edits, rectify erroneous prompts, and induce multi-step plans for complex tasks. # Current PromptLet's think step by step. # Instructions* The total length should be less than 50
逐年被引趋势
关键指标
同类平均 = 1
同领域 · 同年份 · 同类型
Google Scholar 与 OpenAlex 的被引统计范围不同,数值存在差异属正常。
AI 辅助阅读
依据:摘要
可就本文提问;依据不足时会说明。
学术脉络
学科主题
工程Manufacturing Process and Optimization
Experimental Learning in Engineering · Oil and Gas Production Techniques
参考文献 0
引用本文 83
按被引量排序,此处列出前 3 条