arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2403.08950cs.HCcs.AI
收藏

探索企业中的提示工程实践

Exploring Prompt Engineering Practices in the Enterprise

IBM Research(IBM研究院)

Michael Desmond, Michelle Brachman

AI总结:

本研究通过分析企业环境中用户的提示编辑行为,探讨提示工程实践,以揭示用户对模型的理解并指导更高效的提示设计支持。

摘要:

与大型语言模型(LLMs)的交互主要通过提示(prompting)进行。提示是一种自然语言指令,旨在从模型中引发特定行为或输出。理论上,自然语言提示使非专家能够与LLMs交互并加以利用。然而,对于复杂任务和具有特定要求的任务,提示设计并非易事。创建有效的提示需要技能和知识,以及大量的迭代,以确定模型行为并引导模型实现特定目标。我们假设用户迭代提示的方式可以揭示他们对提示和模型工作方式的理解,以及为更高效的提示工程所需的支持类型。为了更好地理解提示工程实践,我们分析了提示编辑行为的会话,对用户迭代的提示部分及其所做的更改类型进行了分类。我们基于这些提示工程实践讨论了设计启示和未来方向。

英文摘要:

Interaction with Large Language Models (LLMs) is primarily carried out via prompting. A prompt is a natural language instruction designed to elicit certain behaviour or output from a model. In theory, natural language prompts enable non-experts to interact with and leverage LLMs. However, for complex tasks and tasks with specific requirements, prompt design is not trivial. Creating effective prompts requires skill and knowledge, as well as significant iteration in order to determine model behavior, and guide the model to accomplish a particular goal. We hypothesize that the way in which users iterate on their prompts can provide insight into how they think prompting and models work, as well as the kinds of support needed for more efficient prompt engineering. To better understand prompt engineering practices, we analyzed sessions of prompt editing behavior, categorizing the parts of prompts users iterated on and the types of changes they made. We discuss design implications and future directions based on these prompt engineering practices.

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

↑