Efficient Prompt Optimization Through the Lens of Best Arm Identification
Not on the map. Why?
Abstract (arXiv)
The remarkable instruction-following capability of large language models (LLMs) has sparked a growing interest in automatically finding good prompts, i.e., prompt optimization. Most existing works follow the scheme of selecting from a pre-generated pool of candidate prompts. However, these designs mainly focus on the generation strategy, while limited attention has been paid to the selection method. Especially, the cost incurred during the selection (e.g., accessing LLM and evaluating the responses) is rarely explicitly considered. To overcome this limitation, this work provides a principled framework, TRIPLE, to efficiently perform prompt selection under an explicit budget constraint. TRIPLE is built on a novel connection established between prompt optimization and fixed-budget best arm identification (BAI-FB) in multi-armed bandits (MAB); thus, it is capable of leveraging the rich toolbox from BAI-FB systematically and also incorporating unique characteristics of prompt optimization. Extensive experiments on multiple well-adopted tasks using various LLMs demonstrate the remarkable performance improvement of TRIPLE over baselines while satisfying the limited budget constraints. As an extension, variants of TRIPLE are proposed to efficiently select examples for few-shot prompts, also achieving superior empirical performance.
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Builds on 55 of its 91 references that are in the map. First posted on arXiv 15 Feb 2024.
Builds on
55 of 91 references.
References · 55
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
38 more
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 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
- 2019How Can We Know What Language Models Know?cited by 953
- 2023Large Language Models as Optimizerscited by 830
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
- 2016Optimal Best Arm Identification with Fixed Confidencecited by 233
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2014Best-Arm Identification in Linear Banditscited by 98
- 2020Optimal Best-arm Identification in Linear Banditscited by 70
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
- 2016Combinatorial Multi-Armed Bandit with General Reward Functionscited by 56
- 2022Toward Human Readable Prompt Tuning: Kubrick's The Shining is a good movie, and a good prompt too?cited by 49
- 2019A Survey on Practical Applications of Multi-Armed and Contextual Banditscited by 44
- 2022IDPG: An Instance-Dependent Prompt Generation Methodcited by 43
- 2022GPS: Genetic Prompt Search for Efficient Few-shot Learningcited by 37
- 2023Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RLcited by 37
- 2021Minimax Optimal Fixed-Budget Best Arm Identification in Linear Banditscited by 32
- 2021Fixed-Budget Best-Arm Identification in Structured Banditscited by 22
- 2023Auto-Instruct: Automatic Instruction Generation and Ranking for Black-Box Language Modelscited by 21
- 2024Misconfidence-based Demonstration Selection for LLM In-Context Learningcited by 14
- 2020Learning for Dose Allocation in Adaptive Clinical Trials with Safety Constraintscited by 13
- 2021Pure Exploration in Kernel and Neural Banditscited by 13
- 2023Bandit Pareto Set Identification: the Fixed Budget Settingcited by 13
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 15; 2026: 15.
35 papers.
Sort:
By area:
- 2024Prompt Optimization with Human Feedbackcited by 35
- 2024A Unified Confidence Sequence for Generalized Linear Models, with Applications to Banditscited by 27
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolutioncited by 18
- 2025Tuning LLM Judge Design Decisions for 1/1000 of the Costcited by 11
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 9
- 2024FastGAS: Fast Graph-based Annotation Selection for In-Context Learningcited by 8
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approachcited by 8
- 2025LLM Prompt Duel Optimizer: Efficient Label-Free Prompt Optimizationcited by 8
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
- 2025Survey: Multi-Armed Bandits Meet Large Language Modelscited by 6
- 2025What Makes a Good Natural Language Prompt?cited by 6
- 2025Multimodal Prompt Optimization: Why Not Leverage Multiple Modalities for MLLMscited by 5
23 more
- 2026Towards Reliable LLM Evaluation: Correcting the Winner's Curse in Adaptive Benchmarkingcited by 5
- 2025PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMscited by 4
- 2026Compute Allocation for Self-Evolving LLMs: From Depth-Breadth to Multi-Armed Banditscited by 4
- 2026Multi-Drafter Speculative Decoding with Alignment Feedbackcited by 3
- 2024Prompt Exploration with Prompt Regressioncited by 2
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
- 2026LPDS: Evaluating LLM Robustness Through Logic-Preserving Difficulty Scalingcited by 2
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learningcited by 1
- 2025Beyond Elicitation: Provision-based Prompt Optimization for Knowledge-Intensive Taskscited by 1
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Banditscited by 1
- 2026Efficient Multi-objective Prompt Optimization via Pure-exploration Banditscited by 1
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Taskscited by 1
- 2026Stop Guessing When to Stop Testing: Efficient Model Evaluation with Just Enough Datacited by 1
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluationcited by 1
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflowscited by 1
- 2025Audit, Alignment, and Optimization of LM-Powered Subroutines with Application to Public Comment Processingcited by 0
- 2025LatentPrompt: Optimizing Promts in Latent Spacecited by 0
- 2025Inference-Aware Prompt Optimization for Aligning Black-Box Large Language Modelscited by 0
- 2026Nearly Optimal Active Preference Learning and Its Application to LLM Alignmentcited by 0
- 2026Theory Under Construction: Orchestrating Language Models for Research Software Where the Specification Evolvescited by 0
- 2026Predicting Performance of Symbolic and Prompt Programs with Examplescited by 0
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilizecited by 0
- 2026Efficient Cost-Aware LLM Evaluation via Bayesian Bandit Gittins Indicescited by 0
- 2026Efficient Cost-Aware LLM Evaluation via Bayesian Bandit Gittins Indices22 Sep 2026
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilize3 Sep 2026
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows7 Aug 2026
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluation5 Aug 2026
- 2026Stop Guessing When to Stop Testing: Efficient Model Evaluation with Just Enough Data9 Jul 2026
- 2026Compute Allocation for Self-Evolving LLMs: From Depth-Breadth to Multi-Armed Bandits28 May 2026
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Tasks16 May 2026
- 2026Predicting Performance of Symbolic and Prompt Programs with Examples15 May 2026
- 2026LPDS: Evaluating LLM Robustness Through Logic-Preserving Difficulty Scaling14 May 2026
- 2026Efficient Multi-objective Prompt Optimization via Pure-exploration Bandits14 May 2026
- 2026Towards Reliable LLM Evaluation: Correcting the Winner's Curse in Adaptive Benchmarking7 May 2026
- 2026Theory Under Construction: Orchestrating Language Models for Research Software Where the Specification Evolves29 Apr 2026
23 more
- 2026Multi-Drafter Speculative Decoding with Alignment Feedback7 Apr 2026
- 2026Nearly Optimal Active Preference Learning and Its Application to LLM Alignment2 Feb 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2025Beyond Elicitation: Provision-based Prompt Optimization for Knowledge-Intensive Tasks13 Nov 2025
- 2025PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMs29 Oct 2025
- 2025From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learning28 Oct 2025
- 2025LLM Prompt Duel Optimizer: Efficient Label-Free Prompt Optimization14 Oct 2025
- 2025Multimodal Prompt Optimization: Why Not Leverage Multiple Modalities for MLLMs10 Oct 2025
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyond25 Sep 2025
- 2025Inference-Aware Prompt Optimization for Aligning Black-Box Large Language Models8 Aug 2025
- 2025LatentPrompt: Optimizing Promts in Latent Space4 Aug 2025
- 2025Audit, Alignment, and Optimization of LM-Powered Subroutines with Application to Public Comment Processing10 Jul 2025
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolution21 Jun 2025
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approach15 Jun 2025
- 2025What Makes a Good Natural Language Prompt?7 Jun 2025
- 2025Survey: Multi-Armed Bandits Meet Large Language Models19 May 2025
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithm26 Feb 2025
- 2025Tuning LLM Judge Design Decisions for 1/1000 of the Cost24 Jan 2025
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selection10 Dec 2024
- 2024A Unified Confidence Sequence for Generalized Linear Models, with Applications to Bandits19 Jul 2024
- 2024FastGAS: Fast Graph-based Annotation Selection for In-Context Learning6 Jun 2024
- 2024Prompt Optimization with Human Feedback27 May 2024
- 2024Prompt Exploration with Prompt Regression17 May 2024
- 2024A Unified Confidence Sequence for Generalized Linear Models, with Applications to Banditscited by 27
- 2025Online Multi-LLM Selection via Contextual Bandits under Unstructured Context Evolutioncited by 18
- 2025Tuning LLM Judge Design Decisions for 1/1000 of the Costcited by 11
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 9
- 2024FastGAS: Fast Graph-based Annotation Selection for In-Context Learningcited by 8
- 2025LLM Prompt Duel Optimizer: Efficient Label-Free Prompt Optimizationcited by 8
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
- 2025Survey: Multi-Armed Bandits Meet Large Language Modelscited by 6
- 2025What Makes a Good Natural Language Prompt?cited by 6
- 2025Multimodal Prompt Optimization: Why Not Leverage Multiple Modalities for MLLMscited by 5
- 2026Towards Reliable LLM Evaluation: Correcting the Winner's Curse in Adaptive Benchmarkingcited by 5
- 2025PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMscited by 4
12 most cited of 28 All 28 (JSON)
- 2026Efficient Cost-Aware LLM Evaluation via Bayesian Bandit Gittins Indices22 Sep 2026
- 2026ESPO: Error-Structured Prompt Optimization via Diagnose, Diversify, and Stabilize3 Sep 2026
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows7 Aug 2026
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluation5 Aug 2026
- 2026Stop Guessing When to Stop Testing: Efficient Model Evaluation with Just Enough Data9 Jul 2026
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Tasks16 May 2026
- 2026Predicting Performance of Symbolic and Prompt Programs with Examples15 May 2026
- 2026LPDS: Evaluating LLM Robustness Through Logic-Preserving Difficulty Scaling14 May 2026
- 2026Efficient Multi-objective Prompt Optimization via Pure-exploration Bandits14 May 2026
- 2026Towards Reliable LLM Evaluation: Correcting the Winner's Curse in Adaptive Benchmarking7 May 2026
- 2026Theory Under Construction: Orchestrating Language Models for Research Software Where the Specification Evolves29 Apr 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
12 newest of 28 All 28 (JSON)