Large Language Models Are Human-Level Prompt Engineers
Indexed inarxivdatacite
Abstract
By conditioning on natural language instructions, large language models (LLMs) have displayed impressive capabilities as general-purpose computers. However, task performance depends significantly on the quality of the prompt used to steer the model, and most effective prompts have been handcrafted by humans. Inspired by classical program synthesis and the human approach to prompt engineering, we propose Automatic Prompt Engineer (APE) for automatic instruction generation and selection. In our method, we treat the instruction as the "program," optimized by searching over a pool of instruction candidates proposed by an LLM in order to maximize a chosen score function. To evaluate the quality of the selected…
Citation impact
297
total citations
- FWCI
- —
- Percentile
- —
- References
- 0
Citations per year
Authors
7Topics & keywords
Topics
Keywords
- Computer science
- Task (project management)
- Context (archaeology)
- Margin (machine learning)
- Quality (philosophy)
- Artificial intelligence
- Baseline (sea)
- Natural language processing
UN Sustainable Development Goals
- Quality Education
No related works found for this paper.