Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown impressive capabilities in real-world applications. The capability of in-context learning (ICL) allows us to adapt an LLM to downstream tasks by including input-label exemplars in the prompt without model fine-tuning. However, the quality of these exemplars in the prompt greatly impacts performance, highlighting the need for an effective automated exemplar selection method. Recent studies have explored retrieval-based approaches to select exemplars tailored to individual test queries, which can be undesirable due to extra test-time computation and an increased risk of data exposure. Moreover, existing methods fail to adequately account for the impact of exemplar ordering on the performance. On the other hand, the impact of the instruction, another essential component in the prompt given to the LLM, is often overlooked in existing exemplar selection methods. To address these challenges, we propose a novel method named EASE, which leverages the hidden embedding from a pre-trained language model to represent ordered sets of exemplars and uses a neural bandit algorithm to optimize the sets of exemplars while accounting for exemplar ordering. Our EASE can efficiently find an ordered set of exemplars that performs well for all test queries from a given task, thereby eliminating test-time computation. Importantly, EASE can be readily extended to jointly optimize both the exemplars and the instruction. Through extensive empirical evaluations (including novel tasks), we demonstrate the superiority of EASE over existing methods, and reveal practical insights about the impact of exemplar selection on ICL, which may be of independent interest. Our code is available at https://github.com/ZhaoxuanWu/EASE-Prompt-Optimization.
Key facts. Cited by 37 papers in the map (data through 14 Oct 2026). Builds on 43 of its 55 references that are in the map. First posted on arXiv 25 May 2024.
Builds on
43 of 55 references.
References · 43
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023A Survey of Large Language Modelscited by 2,576
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 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
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
31 more
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2023Large Language Models as Optimizerscited by 864
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2024Large Language Models: A Surveycited by 525
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
- 2021True Few-Shot Learning with Language Modelscited by 344
- 2023How is ChatGPT's behavior changing over time?cited by 270
- 2024A Survey on Data Selection for Language Modelscited by 236
- 2022Active Example Selection for In-Context Learningcited by 196
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 193
- 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
- 2023Compositional Exemplars for In-context Learningcited by 144
- 2023Unified Demonstration Retriever for In-Context Learningcited by 142
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 136
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2017Mostly Exploration-Free Algorithms for Contextual Banditscited by 85
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
- 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
- 2023In-context Example Selection with Influencescited by 61
- 2023Privacy Issues in Large Language Models: A Surveycited by 60
- 2022Data Curation Alone Can Stabilize In-context Learningcited by 59
- 2023Coverage-based Example Selection for In-Context Learningcited by 59
- 2024Localized Zeroth-Order Prompt Optimizationcited by 23
- 2024SEE: Strategic Exploration and Exploitation for Cohesive In-Context Prompt Optimizationcited by 12
- 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11
Built on by
Citing papers per year: 2024: 5; 2025: 19; 2026: 13.
37 papers.
Sort:
By area:
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
- 2024Aviary: training language agents on challenging scientific taskscited by 26
- 2024Dipper: Diversity in Prompts for Producing Large Language Model Ensembles in Reasoning taskscited by 22
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inferencecited by 17
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 10
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 9
- 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Makingcited by 7
- 2025CAPO: Cost-Aware Prompt Optimizationcited by 7
- 2025What Makes a Good Natural Language Prompt?cited by 7
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
- 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Modelscited by 6
25 more
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classificationcited by 5
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2025Do LLMs Adhere to Label Definitions? Examining Their Receptivity to External Label Definitionscited by 4
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systemscited by 4
- 2025GREATERPROMPT: A Unified, Customizable, and High-Performing Open-Source Toolkit for Prompt Optimizationcited by 3
- 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Banditscited by 3
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluationcited by 3
- 2024Data-Centric AI in the Age of Large Language Modelscited by 2
- 2024ACING: Actor-Critic for Instruction Learning in Black-Box LLMscited by 2
- 2025PAFT: Prompt-Agnostic Fine-Tuningcited by 2
- 2025Broaden your SCOPE! Efficient Multi-turn Conversation Planning for LLMs with Semantic Spacecited by 2
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
- 2025Prompt-with-Me: in-IDE Structured Prompt Management for LLM-Driven Software Engineeringcited by 1
- 2025Dynamic Bayesian Optimization Framework for Instruction Tuning in Partial Differential Equation Discoverycited by 1
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Banditscited by 1
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examplescited by 1
- 2026Select Smarter, Not More: Prompt-Aware Evaluation Scheduling with Submodular Guaranteescited by 1
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Taskscited by 1
- 2026MO-CAPO: Multi-Objective Cost-Aware Prompt Optimizationcited by 1
- 2025Uncovering Scaling Laws for Large Language Models via Inverse Problemscited by 0
- 2025KITE: Kernelized and Information Theoretic Exemplars for In-Context Learningcited by 0
- 2026ALSO: Adversarial Online Strategy Optimization for Social Agentscited by 0
- 2026APEX: Automated Prompt Engineering eXpert with Dynamic Data Selectioncited by 0
- 2026Large language models in medical time series analysiscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluation5 Aug 2026
- 2026APEX: Automated Prompt Engineering eXpert with Dynamic Data Selection9 Jun 2026
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systems28 May 2026
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Tasks16 May 2026
- 2026MO-CAPO: Multi-Objective Cost-Aware Prompt Optimization15 May 2026
- 2026ALSO: Adversarial Online Strategy Optimization for Social Agents15 May 2026
- 2026Select Smarter, Not More: Prompt-Aware Evaluation Scheduling with Submodular Guarantees13 Apr 2026
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examples22 Mar 2026
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks3 Mar 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptions16 Feb 2026
25 more
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2025Dynamic Bayesian Optimization Framework for Instruction Tuning in Partial Differential Equation Discovery31 Dec 2025
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference8 Oct 2025
- 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Bandits29 Sep 2025
- 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyond25 Sep 2025
- 2025Prompt-with-Me: in-IDE Structured Prompt Management for LLM-Driven Software Engineering21 Sep 2025
- 2025KITE: Kernelized and Information Theoretic Exemplars for In-Context Learning19 Sep 2025
- 2025Uncovering Scaling Laws for Large Language Models via Inverse Problems9 Sep 2025
- 2025Do LLMs Adhere to Label Definitions? Examining Their Receptivity to External Label Definitions2 Sep 2025
- 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Models12 Jul 2025
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classification29 Jun 2025
- 2025What Makes a Good Natural Language Prompt?7 Jun 2025
- 2025CAPO: Cost-Aware Prompt Optimization22 Apr 2025
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agents6 Apr 2025
- 2025GREATERPROMPT: A Unified, Customizable, and High-Performing Open-Source Toolkit for Prompt Optimization4 Apr 2025
- 2025Broaden your SCOPE! Efficient Multi-turn Conversation Planning for LLMs with Semantic Space14 Mar 2025
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithm26 Feb 2025
- 2025PAFT: Prompt-Agnostic Fine-Tuning18 Feb 2025
- 2025Why is prompting hard? Understanding prompts on binary sequence predictors15 Feb 2025
- 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Making2 Feb 2025
- 2024Aviary: training language agents on challenging scientific tasks30 Dec 2024
- 2024Dipper: Diversity in Prompts for Producing Large Language Model Ensembles in Reasoning tasks12 Dec 2024
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selection10 Dec 2024
- 2024ACING: Actor-Critic for Instruction Learning in Black-Box LLMs19 Nov 2024
- 2024Data-Centric AI in the Age of Large Language Models20 Jun 2024
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
- 2024Aviary: training language agents on challenging scientific taskscited by 26
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inferencecited by 17
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 9
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systemscited by 4
- 2026ALSO: Adversarial Online Strategy Optimization for Social Agentscited by 0
- 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systems28 May 2026
- 2026ALSO: Adversarial Online Strategy Optimization for Social Agents15 May 2026
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks3 Mar 2026
- 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptions16 Feb 2026
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference8 Oct 2025
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agents6 Apr 2025
- 2024Aviary: training language agents on challenging scientific tasks30 Dec 2024
- 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Modelscited by 6
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classificationcited by 5
- 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Models12 Jul 2025
- 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classification29 Jun 2025
- 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 10
- 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Makingcited by 7
- 2025CAPO: Cost-Aware Prompt Optimizationcited by 7
- 2025What Makes a Good Natural Language Prompt?cited by 7
- 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
- 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
- 2025Do LLMs Adhere to Label Definitions? Examining Their Receptivity to External Label Definitionscited by 4
- 2025GREATERPROMPT: A Unified, Customizable, and High-Performing Open-Source Toolkit for Prompt Optimizationcited by 3
- 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Banditscited by 3
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluationcited by 3
- 2024Data-Centric AI in the Age of Large Language Modelscited by 2
- 2024ACING: Actor-Critic for Instruction Learning in Black-Box LLMscited by 2
12 most cited of 26 All 26 (JSON)
- 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptations1 Oct 2026
- 2026Large language models in medical time series analysis7 Sep 2026
- 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluation5 Aug 2026
- 2026APEX: Automated Prompt Engineering eXpert with Dynamic Data Selection9 Jun 2026
- 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Tasks16 May 2026
- 2026MO-CAPO: Multi-Objective Cost-Aware Prompt Optimization15 May 2026
- 2026Select Smarter, Not More: Prompt-Aware Evaluation Scheduling with Submodular Guarantees13 Apr 2026
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examples22 Mar 2026
- 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Bandits19 Jan 2026
- 2025Dynamic Bayesian Optimization Framework for Instruction Tuning in Partial Differential Equation Discovery31 Dec 2025
- 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Bandits29 Sep 2025
- 2025Prompt-with-Me: in-IDE Structured Prompt Management for LLM-Driven Software Engineering21 Sep 2025
12 newest of 26 All 26 (JSON)