A Sequential Optimal Learning Approach to Automated Prompt Engineering in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Designing effective prompts is essential to guiding large language models (LLMs) toward desired responses. Automated prompt engineering aims to reduce reliance on manual effort by streamlining the design, refinement, and optimization of natural language prompts. This paper proposes an optimal learning framework for automated prompt engineering, designed to sequentially identify effective prompt features while efficiently allocating a limited evaluation budget. We introduce a feature-based method to express prompts, which significantly broadens the search space. Bayesian regression is employed to utilize correlations among similar prompts, accelerating the learning process. To efficiently explore the large space of prompt features for a high quality prompt, we adopt the forward-looking Knowledge-Gradient (KG) policy for sequential optimal learning. The KG policy is computed efficiently by solving mixed-integer second-order cone optimization problems, making it scalable and capable of accommodating prompts characterized only through constraints. We demonstrate that our method significantly outperforms a set of benchmark strategies assessed on instruction induction tasks. The results highlight the advantages of using the KG policy for prompt learning given a limited evaluation budget. Our framework provides a solution to deploying automated prompt engineering in a wider range applications where prompt evaluation is costly.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 7 Jan 2025.
Builds on
16 of 35 references.
References · 16
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2022A Survey on In-context Learningcited by 717
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 220
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023Large Language Models Understand and Can be Enhanced by Emotional Stimulicited by 143
- 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
- 2023Large Language Models are Diverse Role-Players for Summarization Evaluationcited by 62
4 more
- 2023Use Your INSTINCT: INSTruction optimization for LLMs usIng Neural bandits Coupled with Transformerscited by 29
- 2024APEER: Automatic Prompt Engineering Enhances Large Language Model Rerankingcited by 28
- 2023Prompt Engineering Through the Lens of Optimal Controlcited by 16
- 2024In-Context Example Ordering Guided by Label Distributionscited by 12
Built on by
Citing papers per year: 2025: 4.
4 papers.
- 2025SIPDO: Closed-Loop Prompt Optimization via Synthetic Data Feedbackcited by 7
- 2025Large Language Models and Evolutionary Computation: A Critical Review of Bidirectional Interaction, Automated Algorithm Design, and Co-Adaptive Systemscited by 6
- 2025Auto prompting without training labels: An LLM cascade for product quality assessment in e-commerce catalogscited by 4
- 2025CrunchLLM: Multitask LLMs for Structured Business Reasoning and Outcome Predictioncited by 1
- 2025Auto prompting without training labels: An LLM cascade for product quality assessment in e-commerce catalogs27 Oct 2025
- 2025CrunchLLM: Multitask LLMs for Structured Business Reasoning and Outcome Prediction12 Sep 2025
- 2025SIPDO: Closed-Loop Prompt Optimization via Synthetic Data Feedback26 May 2025
- 2025Large Language Models and Evolutionary Computation: A Critical Review of Bidirectional Interaction, Automated Algorithm Design, and Co-Adaptive Systems21 May 2025