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.
A Parameter-Efficient Transfer Learning Approach through Multitask Prompt Distillation and Decomposition for Clinical NLP
Department of Health Outcomes and Biomedical Informatics, College of Medicine, University of Florida(佛罗里达大学医学院健康结果与生物医学信息学系);Cancer Informatics Shared Resource, University of Florida Health Cancer Center(佛罗里达大学健康癌症中心癌症信息学共享资源)
Do Prompts Solve NLP Tasks Using Natural Language?
Westlake University(西湖大学);University of Electronic Science and Technology of China(电子科技大学);Zhejiang University(浙江大学);Westlake Institute for Advanced Study(西湖高等研究院)
The Prompt Report: A Systematic Survey of Prompt Engineering Techniques
University of Maryland(马里兰大学);Learn Prompting;OpenAI;Stanford(斯坦福大学);Microsoft(微软公司);Vanderbilt(范德堡大学);Princeton(普林斯顿大学);Texas State University(德克萨斯州立大学);Icahn School of Medicine(伊坎医学院);ASST Brianza(布里安扎综合医院);Mount Sinai Beth Israel(西奈山 Beth Israel 医院);Instituto de Telecomunicações(电信研究所);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
LAMPER: LanguAge Model and Prompt EngineeRing for zero-shot time series classification
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学清华大学深圳国际研究生院);School of Automation, Wuhan University of Technology(武汉理工大学自动化学院)
Edinburgh Clinical NLP at MEDIQA-CORR 2024: Guiding Large Language Models with Hints
School of Informatics, University of Edinburgh(爱丁堡大学信息学院);Usher Institute, University of Edinburgh(爱丁堡大学厄舍研究所);Edinburgh Futures Institute, University of Edinburgh(爱丁堡未来研究所);School of Literatures, Languages and Cultures, University of Edinburgh(爱丁堡大学文学、语言与文化学院)
Unleashing the potential of prompt engineering for large language models
Guangdong Provincial Key Laboratory of Interdisciplinary Research and Application for Data Science(interdisciplinary Research and Application for Data Science省重点实验室);BNU-HKBU United International College(北京师范大学-香港浸会大学联合国际学院);Research Center for Mathematics, Beijing Normal University(北京师范大学数学研究中心)
Prompt Tuning for Discriminative Pre-trained Language Models
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);National University of Singapore(新加坡国立大学);Tencent(腾讯)
Beyond Prompt Engineering: A Systematic Analysis of Prompt Lexical Sensitivity and Its Impacts on Quality
Shenzhen Technology University(深圳技术大学);The Hong Kong Polytechnic University(香港理工大学);Zhejiang Lab(之江实验室);The Chinese University of Hong Kong(香港中文大学);HKUST (Guangzhou)(香港科技大学(广州))
Few-Shot Learning for Mental Disorder Detection: A Continuous Multi-Prompt Engineering Approach with Medical Knowledge Injection
Hefei University of Technology(合肥工业大学);Iowa State University(爱荷华州立大学);University of Delaware(特拉华大学);University of Rhode Island(罗德岛大学);University of Arizona(亚利桑那大学)
A Prompting-based Approach for Adversarial Example Generation and Robustness Enhancement
University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所)
PromptFix: Few-shot Backdoor Removal via Adversarial Prompt Tuning
School of Information Science & Technology, Pennsylvania State University(宾夕法尼亚州立大学信息科学与技术学院);Department of Computer Science, Stony Brook University(石溪大学计算机科学系)
Improving Task Generalization via Unified Schema Prompt
Sun Yat-sen University(中山大学);Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);Langboat Technology(澜舟科技);Microsoft Research Asia(微软亚洲研究院)
Characterizing Fitness Landscape Structures in Prompt Engineering
Department of Data Analytics, Dalarna University(数据分析系,达拉那大学);BEACON Institute for the Study of Evolution in Action, Michigan State University(进化行为研究所,密歇根州立大学)
Effects of a Prompt Engineering Intervention on Undergraduate Students' AI Self-Efficacy, AI Knowledge and Prompt Engineering Ability: A Mixed Methods Study
Precious Blood Secondary School(宝血女子中学);The University of Hong Kong(香港大学)
NLPBench: Evaluating Large Language Models on Solving NLP Problems
Waseda University(早稻田大学);University of Tokyo(东京大学);University of Washington(华盛顿大学);Zhejiang Lab(之江实验室);University of Science and Technology of China(中国科学技术大学);University of Maryland(马里兰大学)