Due to rapid advancements in the development of Large Language Models (LLMs), programming these models with prompts has recently gained significant attention. However, the sheer number of available prompt engineering techniques creates an overwhelming landscape for practitioners looking to utilize these tools. For the most efficient and effective use of LLMs, it is important to compile a comprehensive list of prompting techniques and establish a standardized, interdisciplinary categorization framework. In this survey, we examine some of the most well-known prompting techniques from both academic and practical viewpoints and classify them into seven distinct categories. We present an overview of each category, aiming to clarify their unique contributions and showcase their practical applications in real-world examples in order to equip fellow practitioners with a structured framework for understanding and categorizing prompting techniques tailored to their specific domains. We believe that this approach will help simplify the complex landscape of prompt engineering and enable more effective utilization of LLMs in various applications. By providing practitioners with a systematic approach to prompt categorization, we aim to assist in navigating the intricacies of effective prompt design for conversational pre-trained LLMs and inspire new possibilities in their respective fields.
Enhancing Granular Sentiment Classification with Chain-of-Thought Prompting in Large Language Models
John F Kennedy High school Fremont, USA(约翰·F·肯尼迪高中弗里蒙特分校);Queensland Academy for Science Mathematics and Technology(昆士兰科学数学与技术学院);Research Spark Hub Inc(Research Spark Hub公司)
From Instruction to Output: The Role of Prompting in Modern NLG
Faculty of Information Technology, Monash University(莫纳什大学信息科技学院);School of Computer, Data and Mathematical Sciences, Western Sydney University(西澳大学计算机、数据与数学科学学院);School of Computing, Macquarie University(麦考瑞大学计算学院)
Leveraging Fine-Tuned Large Language Models for Interpretable Pancreatic Cystic Lesion Feature Extraction and Risk Categorization
New York University(纽约大学);Columbia University Irving Medical Center(哥伦比亚大学欧文医学中心);NYU Grossman School of Medicine(纽约大学格罗斯曼医学院);University of California San Diego(加州大学圣地亚哥分校)
Use Me Wisely: AI-Driven Assessment for LLM Prompting Skills Development
Università degli Studi di Milano Bicocca(米兰比可卡大学);University of Regensburg(雷根斯堡大学);Universitat Pompeu Fabra(庞培法布拉大学);Politecnico di Milano(米兰理工大学);National Research Council of Italy (CNR)(意大利国家研究委员会)
University of California at Berkeley(加州大学伯克利分校);IBM Research(IBM研究院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Stanford University(斯坦福大学)
Inference Optimizations for Large Language Models: Effects, Challenges, and Practical Considerations
Business Faculty Ansbach University of Applied Sciences(安斯巴赫应用技术大学商学院);Faculty of Business University of Applied Science Ansbach(安斯巴赫应用技术大学商学院);Faculty of Business University of Applied Science Heilbronn(海尔布隆应用技术大学商学院)
Prompt Programming for Cultural Bias and Alignment of Large Language Models
Information Systems and Modeling, Los Alamos National Laboratory(信息系统与建模,洛斯阿拉莫斯国家实验室);Advanced Research in Cyber Systems, Los Alamos National Laboratory(网络安全系统高级研究,洛斯阿拉莫斯国家实验室);Center for National Security and International Studies(国家安全与国际研究中心);Analytics Division, Los Alamos National Laboratory(分析部门,洛斯阿拉莫斯国家实验室)
Using LLMs in Generating Design Rationale for Software Architecture Decisions
School of Computer Science, Wuhan University(武汉大学计算机学院);RMIT University(皇家墨尔本理工大学);School of Computer Science, Central China Normal University(中央师范大学计算机学院);School of Artificial Intelligence, Shenzhen Polytechnic University(深圳职业技术学院人工智能学院)