[论文解读] A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Tasks
本综述总结了对29个NLP任务应用的39种提示方法的44篇论文,按任务和数据集组织技术,并讨论潜在的SoTA方向。
Large language models (LLMs) have shown remarkable performance on many different Natural Language Processing (NLP) tasks. Prompt engineering plays a key role in adding more to the already existing abilities of LLMs to achieve significant performance gains on various NLP tasks. Prompt engineering requires composing natural language instructions called prompts to elicit knowledge from LLMs in a structured way. Unlike previous state-of-the-art (SoTA) models, prompt engineering does not require extensive parameter re-training or fine-tuning based on the given NLP task and thus solely operates on the embedded knowledge of LLMs. Additionally, LLM enthusiasts can intelligently extract LLMs' knowledge through a basic natural language conversational exchange or prompt engineering, allowing more and more people even without deep mathematical machine learning background to experiment with LLMs. With prompt engineering gaining popularity in the last two years, researchers have come up with numerous engineering techniques around designing prompts to improve accuracy of information extraction from the LLMs. In this paper, we summarize different prompting techniques and club them together based on different NLP tasks that they have been used for. We further granularly highlight the performance of these prompting strategies on various datasets belonging to that NLP task, talk about the corresponding LLMs used, present a taxonomy diagram and discuss the possible SoTA for specific datasets. In total, we read and present a survey of 44 research papers which talk about 39 different prompting methods on 29 different NLP tasks of which most of them have been published in the last two years.
研究动机与目标
- 提供按NLP任务和数据集组织的细粒度提示策略分类。
- 总结数据集、LLMs以及在提示方法中观察到的性能提升。
- 突出每个数据集/任务的潜在的SoTA(最先进)方法。
- 比较零-shot 和少-shot 提示变体及其权衡。
提出的方法
- 审查并分类覆盖39种提示技术的44篇论文。
- 按应用于的NLP任务对提示方法分组。
- 提供分类图和汇总技术、数据集与所用LLMs 的表格。
- 基于综述工作,讨论每个数据集/任务的潜在SoTA方法。
实验结果
研究问题
- RQ1为不同NLP任务提出并评估了哪些提示技术?
- RQ2在性能和方法学方面,提示策略如何随任务和数据集而异?
- RQ3最近的提示工程研究对特定基准提出的潜在SoTA方法有哪些?
主要发现
- 本综述覆盖44篇研究论文,描述了跨29个NLP任务的39种提示方法。
- 大多数提示技术在最近两年内发表。
- 该工作提供了分类图和按数据集-按任务的分析。
- 基于调查证据,讨论了每个数据集/任务的潜在SoTA方法。
- 本文对如零-shot和少-shot等各种提示变体进行了对比,并指出相关权衡。
- 它指出先前的综述在按任务的粒度上欠缺,而本工作对此进行了弥补。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。