Revisiting Prompt Engineering via Declarative Crowdsourcing
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are incredibly powerful at comprehending and generating data in the form of text, but are brittle and error-prone. There has been an advent of toolkits and recipes centered around so-called prompt engineering-the process of asking an LLM to do something via a series of prompts. However, for LLM-powered data processing workflows, in particular, optimizing for quality, while keeping cost bounded, is a tedious, manual process. We put forth a vision for declarative prompt engineering. We view LLMs like crowd workers and leverage ideas from the declarative crowdsourcing literature-including leveraging multiple prompting strategies, ensuring internal consistency, and exploring hybrid-LLM-non-LLM approaches-to make prompt engineering a more principled process. Preliminary case studies on sorting, entity resolution, and imputation demonstrate the promise of our approach
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 34 of its 69 references that are in the map. First posted on arXiv 7 Aug 2023.
Builds on
34 of 69 references.
References · 34
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
22 more
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023Whose Opinions Do Language Models Reflect?cited by 773
- 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 752
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 289
- 2021AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Promptscited by 268
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 243
- 2022Can Foundation Models Wrangle Your Data?cited by 175
- 2022Language models show human-like content effects on reasoning taskscited by 173
- 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
- 2022PromptChainer: Chaining Large Language Model Prompts through Visual Programmingcited by 134
- 2022Language Models as Agent Modelscited by 132
- 2023Artificial Artificial Artificial Intelligence: Crowd Workers Widely Use Large Language Models for Text Production Taskscited by 103
- 2023ChatGPT-4 Outperforms Experts and Crowd Workers in Annotating Political Twitter Messages with Zero-Shot Learningcited by 100
- 2023LLMs as Workers in Human-Computational Algorithms? Replicating Crowdsourcing Pipelines with LLMscited by 27
- 2022Operationalizing Machine Learning: An Interview Studycited by 25
- 2023Are Language Models Worse than Humans at Following Prompts? It's Complicatedcited by 14
- 2014Leveraging Transitive Relations for Crowdsourced Joinscited by 9
- 2016It's just a matter of perspective(s): Crowd-Powered Consensus Organization of Corporacited by 1
Built on by
Citing papers per year: 2023: 2; 2024: 6; 2025: 3; 2026: 1.
12 papers.
- 2024Determinants of LLM-assisted Decision-Makingcited by 56
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 52
- 2024SPADE: Synthesizing Data Quality Assertions for Large Language Model Pipelinescited by 19
- 2023Designing LLM Chains by Adapting Techniques from Crowdsourcing Workflowscited by 17
- 2024Wordflow: Social Prompt Engineering for Large Language Modelscited by 9
- 2023Image and Data Mining in Reticular Chemistry Using GPT-4Vcited by 6
- 2025GenEdit: Compounding Operators and Continuous Improvement to Tackle Text-to-SQL in the Enterprisecited by 4
- 2024Hybrid Querying Over Relational Databases and Large Language Modelscited by 3
- 2024LLM+KG@VLDB'24 Workshop Summarycited by 3
- 2026Overseeing Agents Without Constant Oversight: Challenges and Opportunitiescited by 3
- 2025LLM-Powered Proactive Data Systemscited by 1
- 2025Understanding and supporting how developers prompt for LLM-powered code editing in practicecited by 1
- 2026Overseeing Agents Without Constant Oversight: Challenges and Opportunities18 Feb 2026
- 2025Understanding and supporting how developers prompt for LLM-powered code editing in practice28 Apr 2025
- 2025GenEdit: Compounding Operators and Continuous Improvement to Tackle Text-to-SQL in the Enterprise27 Mar 2025
- 2025LLM-Powered Proactive Data Systems18 Feb 2025
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processing16 Oct 2024
- 2024LLM+KG@VLDB'24 Workshop Summary2 Oct 2024
- 2024Hybrid Querying Over Relational Databases and Large Language Models1 Aug 2024
- 2024Determinants of LLM-assisted Decision-Making27 Feb 2024
- 2024Wordflow: Social Prompt Engineering for Large Language Models25 Jan 2024
- 2024SPADE: Synthesizing Data Quality Assertions for Large Language Model Pipelines5 Jan 2024
- 2023Designing LLM Chains by Adapting Techniques from Crowdsourcing Workflows18 Dec 2023
- 2023Image and Data Mining in Reticular Chemistry Using GPT-4V9 Dec 2023