arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.07927cs.AIcs.CLcs.HC
收藏

大语言模型中提示工程的系统综述:技术与应用

A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications

Indian Institute of Technology Patna(印度理工学院巴特那分校);Stanford University(斯坦福大学);Amazon AI(亚马逊人工智能)

Pranab Sahoo, Ayush Kumar Singh, Sriparna Saha, Vinija Jain, Samrat Mondal, Aman Chadha

AI总结:

本文系统综述LLM与VLM提示工程技术,按应用梳理方法、模型、数据集、优劣及分类,以厘清进展、挑战与未来方向。

摘要:

提示工程已成为扩展大语言模型(LLM)和视觉语言模型(VLM)能力的一项不可或缺的技术。该方法利用被称为提示的任务专用指令,在不修改模型核心参数的情况下提升模型效能。提示无需更新模型参数,而是仅依据给定提示激发期望的模型行为,从而使预训练模型能够无缝集成到下游任务中。提示可以是自然语言指令,用于提供上下文以引导模型;也可以是学习得到的向量表示,用于激活相关知识。这一快速发展的领域已在从问答到常识推理的各类应用中取得成功。然而,目前对多样化的提示工程方法和技术仍缺乏系统性的组织与理解。本综述论文通过按应用领域分类,结构化概述提示工程的最新进展,以弥补这一空白。对于每种提示方法,我们都提供了摘要,详细说明其提示方法论、应用、涉及的模型以及使用的数据集。我们还深入探讨了每种方法的优势与局限,并给出分类图和表格,总结各提示技术的数据集、模型和关键点。这一系统分析有助于更好地理解这一快速发展的领域,并通过阐明提示工程的开放挑战与机遇来推动未来研究。

英文摘要:

Prompt engineering has emerged as an indispensable technique for extending the capabilities of large language models (LLMs) and vision-language models (VLMs). This approach leverages task-specific instructions, known as prompts, to enhance model efficacy without modifying the core model parameters. Rather than updating the model parameters, prompts allow seamless integration of pre-trained models into downstream tasks by eliciting desired model behaviors solely based on the given prompt. Prompts can be natural language instructions that provide context to guide the model or learned vector representations that activate relevant knowledge. This burgeoning field has enabled success across various applications, from question-answering to commonsense reasoning. However, there remains a lack of systematic organization and understanding of the diverse prompt engineering methods and techniques. This survey paper addresses the gap by providing a structured overview of recent advancements in prompt engineering, categorized by application area. For each prompting approach, we provide a summary detailing the prompting methodology, its applications, the models involved, and the datasets utilized. We also delve into the strengths and limitations of each approach and include a taxonomy diagram and table summarizing datasets, models, and critical points of each prompting technique. This systematic analysis enables a better understanding of this rapidly developing field and facilitates future research by illuminating open challenges and opportunities for prompt engineering.

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

↑