mlsanityData to 7 Oct 2026

A Survey of Prompt Engineering Methods in Large Language Models for Different NLP Tasks

arXiv 2407.12994 ↗First posted 17 Jul 2024cs.CL cs.AIcited by 46

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 46 papers in the map (data through 7 Oct 2026). Builds on 97 of its 118 references that are in the map. First posted on arXiv 17 Jul 2024.

Builds on

97 of 118 references.

References · 97

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  10. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  11. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  12. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
38 more
  1. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  4. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
  5. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  6. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  7. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  8. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  9. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  10. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  11. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
  12. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  13. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  14. 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,259
  15. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  16. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
  17. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  18. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  19. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  20. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
  21. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  22. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  23. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  24. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  25. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
  26. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  27. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  28. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  29. 2022PAL: Program-aided Language Modelscited by 635
  30. 2023Capabilities of GPT-4 on Medical Challenge Problemscited by 630
  31. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  32. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 552
  33. 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 550
  34. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
  35. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
  36. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 428
  37. 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 425
  38. 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 402

50 most cited of 97 All 97 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 12; 2025: 19; 2026: 15.

46 papers.

Sort:

By area:

  1. 2024Prompt Compression for Large Language Models: A Surveycited by 65
  2. 2024Next Token Prediction Towards Multimodal Intelligence: A Comprehensive Surveycited by 27
  3. 2024Fine-Tuning Vision-Language Model for Automated Engineering Drawing Information Extractioncited by 18
  4. 2025Epistemic Alignment: A Mediating Framework for User-LLM Knowledge Deliverycited by 14
  5. 2024Beyond the Comfort Zone: Emerging Solutions to Overcome Challenges in Integrating LLMs into Software Productscited by 11
  6. 2025Optimizing Prompt Sequences using Monte Carlo Tree Search for LLM-Based Optimizationcited by 9
  7. 2024Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systemscited by 7
  8. 2025Mitigating Hallucinations in Multimodal Spatial Relations through Constraint-Aware Promptingcited by 7
  9. 2024Give me a hint: Can LLMs take a hint to solve math problems?cited by 6
  10. 2024Are Longer Prompts Always Better? Prompt Selection in Large Language Models for Recommendation Systemscited by 6
  11. 2024Can We Afford The Perfect Prompt? Balancing Cost and Accuracy with the Economical Prompting Indexcited by 4
  12. 2024The Prompt Canvas: A Literature-Based Practitioner Guide for Creating Effective Prompts in Large Language Modelscited by 4
34 more
  1. 2025Recursive Decomposition of Logical Thoughts: Framework for Superior Reasoning and Knowledge Propagation in Large Language Modelscited by 3
  2. 2025Giving AI Personalities Leads to More Human-Like Reasoningcited by 3
  3. 2025Green Prompting: Characterizing Prompt-driven Energy Costs of LLM Inferencecited by 3
  4. 2025MODP: Multi Objective Directional Promptingcited by 3
  5. 2025A Call to Action for a Secure-by-Design Generative AI Paradigmcited by 3
  6. 2024QMOS: Enhancing LLMs for Telecommunication with Question Masked loss and Option Shufflingcited by 2
  7. 2024LLMs as Method Actors: A Model for Prompt Engineering and Architecturecited by 2
  8. 2024VisGraphVar: A Benchmark Generator for Assessing Variability in Graph Analysis Using Large Vision-Language Modelscited by 2
  9. 2025Visual Language Models show widespread visual deficits on neuropsychological testscited by 2
  10. 2025Reflexive Prompt Engineering: A Framework for Responsible Prompt Engineering and Interaction Designcited by 2
  11. 2025Fine-Tuning and Prompt Engineering of LLMs, for the Creation of Multi-Agent AI for Addressing Sustainable Protein Production Challengescited by 2
  12. 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
  13. 2026MCERF: Advancing Multimodal LLM Evaluation of Engineering Documentation with Enhanced Retrievalcited by 2
  14. 2025Autoregressive Image Generation with Vision Full-view Promptcited by 1
  15. 2025Relation Extraction or Pattern Matching? Unravelling the Generalisation Limits of Language Models for Biographical REcited by 1
  16. 2025Prompting for Performance: Exploring LLMs for Configuring Softwarecited by 1
  17. 2025Prompt Decorators: A Declarative and Composable Syntax for Reasoning, Formatting, and Control in LLMscited by 1
  18. 2026Agentic AI in Healthcare & Medicine: A Seven-Dimensional Taxonomy for Empirical Evaluation of LLM-based Agentscited by 1
  19. 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Frameworkcited by 1
  20. 2026How to Ask the AI: A User Perspective Survey for Large Language Model Promptingcited by 1
  21. 2025Incorporating Token Usage into Prompting Strategy Evaluationcited by 0
  22. 2025Large Language Models in the Task of Automatic Validation of Text Classifier Predictionscited by 0
  23. 2025Extracting Research Instruments from Educational Literature Using LLMscited by 0
  24. 2026SciDef: Datasets and Tools for Automated Definition Extraction from Scientific Literature with LLMscited by 0
  25. 2026From Instruction to Output: The Role of Prompting in Modern NLGcited by 0
  26. 2026PEEM: Prompt Engineering Evaluation Metrics for Interpretable Joint Evaluation of Prompts and Responsescited by 0
  27. 2026Prompt-Driven Code Summarization: A Systematic Literature Reviewcited by 0
  28. 2026Employing General-Purpose and Biomedical Large Language Models with Advanced Prompt Engineering for Pharmacoepidemiologic Study Designcited by 0
  29. 2026LLMs as annotators of credibility assessment in Danish asylum decisions: evaluating classification performance and errors beyond aggregated metricscited by 0
  30. 2026Benchmarking Large Language Models for Safety Data Extractioncited by 0
  31. 2026Large Language Models as Supervised Extraction Assistants: Lowering the Barrier to Documentation Standard Adoption in Agent-Based Modellingcited by 0
  32. 2026Asking Questions the Right Way: A Multi-Agent Conversational System for Prompt Formulation in Complex Task Resolutioncited by 0
  33. 2026How Do Prompt Variations Affect Energy Consumption in On-Device LLMs?cited by 0
  34. 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0