system architectureChapter 5EMNLP 2023 · 2023
Automatic Prompt Optimization with "Gradient Descent" and Beam Search
Reid Pryzant (Stanford), Dan Iter (Microsoft)
Abstract
We present a method for automatic prompt optimization using textual "gradient descent" and beam search. The method iteratively improves prompts by analyzing errors and generating improved versions.
Key Contributions
- →Textual gradient descent for prompts
- →Beam search prompt optimization
- →Error-driven prompt improvement
Topics
prompt optimizationautomatic promptinggradient descentbeam search
Relevance Scores
Long-Horizon Score76
Enterprise Score74
Completeness70
Paper Info
Year2023
VenueEMNLP 2023
Typesystem architecture
ChapterCh. 5
Authors2
Frameworks
Related Papers
ReAct: Synergizing Reasoning and Acting in Language Mod…
2023 · Ch.1
Reflexion: Language Agents with Verbal Reinforcement Le…
2023 · Ch.1
Tree of Thoughts: Deliberate Problem Solving with Large…
2023 · Ch.1
Toolformer: Language Models Can Teach Themselves to Use…
2023 · Ch.1
View all Chapter 5 papers →