mlsanityData to 14 Oct 2026

Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars

arXiv 2405.16122 ↗First posted 25 May 2024cs.AI cs.CL cs.LGcited by 37

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  7. 2023A Survey of Large Language Modelscited by 2,576
  8. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  12. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
31 more
  1. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  2. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  3. 2023Large Language Models as Optimizerscited by 864
  4. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
  5. 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
  6. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  7. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  8. 2024Large Language Models: A Surveycited by 525
  9. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
  10. 2021True Few-Shot Learning with Language Modelscited by 344
  11. 2023How is ChatGPT's behavior changing over time?cited by 270
  12. 2024A Survey on Data Selection for Language Modelscited by 236
  13. 2022Active Example Selection for In-Context Learningcited by 196
  14. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 193
  15. 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
  16. 2023Compositional Exemplars for In-context Learningcited by 144
  17. 2023Unified Demonstration Retriever for In-Context Learningcited by 142
  18. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
  19. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 136
  20. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  21. 2023Finding Support Examples for In-Context Learningcited by 104
  22. 2017Mostly Exploration-Free Algorithms for Contextual Banditscited by 85
  23. 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
  24. 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
  25. 2023In-context Example Selection with Influencescited by 61
  26. 2023Privacy Issues in Large Language Models: A Surveycited by 60
  27. 2022Data Curation Alone Can Stabilize In-context Learningcited by 59
  28. 2023Coverage-based Example Selection for In-Context Learningcited by 59
  29. 2024Localized Zeroth-Order Prompt Optimizationcited by 23
  30. 2024SEE: Strategic Exploration and Exploitation for Cohesive In-Context Prompt Optimizationcited by 12
  31. 2023Ambiguity-Aware In-Context Learning with Large Language Modelscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 19; 2026: 13.

37 papers.

Sort:

By area:

  1. 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
  2. 2024Aviary: training language agents on challenging scientific taskscited by 26
  3. 2024Dipper: Diversity in Prompts for Producing Large Language Model Ensembles in Reasoning taskscited by 22
  4. 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inferencecited by 17
  5. 2026Model Context Protocol (MCP) Tool Descriptions Are Smelly! Towards Improving AI Agent Efficiency with Augmented MCP Tool Descriptionscited by 17
  6. 2024Hyperband-based Bayesian Optimization for Black-box Prompt Selectioncited by 10
  7. 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 9
  8. 2025Meta-Prompt Optimization for LLM-Based Sequential Decision Makingcited by 7
  9. 2025CAPO: Cost-Aware Prompt Optimizationcited by 7
  10. 2025What Makes a Good Natural Language Prompt?cited by 7
  11. 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
  12. 2025Prompt4Trust: A Reinforcement Learning Prompt Augmentation Framework for Clinically-Aligned Confidence Calibration in Multimodal Large Language Modelscited by 6
25 more
  1. 2025Exposing and Mitigating Calibration Biases and Demographic Unfairness in MLLM Few-Shot In-Context Learning for Medical Image Classificationcited by 5
  2. 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
  3. 2025Do LLMs Adhere to Label Definitions? Examining Their Receptivity to External Label Definitionscited by 4
  4. 2026Evolve as a Team: Collaborative Self-Evolution for LLM-based Multi-Agent Systemscited by 4
  5. 2025GREATERPROMPT: A Unified, Customizable, and High-Performing Open-Source Toolkit for Prompt Optimizationcited by 3
  6. 2025FedPOB: Sample-Efficient Federated Prompt Optimization via Banditscited by 3
  7. 2026Cost-Aware Multi-Objective Bandits: Theory and Application to Budgeted LLM Configuration Evaluationcited by 3
  8. 2024Data-Centric AI in the Age of Large Language Modelscited by 2
  9. 2024ACING: Actor-Critic for Instruction Learning in Black-Box LLMscited by 2
  10. 2025PAFT: Prompt-Agnostic Fine-Tuningcited by 2
  11. 2025Broaden your SCOPE! Efficient Multi-turn Conversation Planning for LLMs with Semantic Spacecited by 2
  12. 2025Bounds of Chain-of-Thought Robustness: Reasoning Steps, Embed Norms, and Beyondcited by 2
  13. 2025Prompt-with-Me: in-IDE Structured Prompt Management for LLM-Driven Software Engineeringcited by 1
  14. 2025Dynamic Bayesian Optimization Framework for Instruction Tuning in Partial Differential Equation Discoverycited by 1
  15. 2026A Component-Based Survey of Interactions between Large Language Models and Multi-Armed Banditscited by 1
  16. 2026PLR: Plackett-Luce for Reordering In-Context Learning Examplescited by 1
  17. 2026Select Smarter, Not More: Prompt-Aware Evaluation Scheduling with Submodular Guaranteescited by 1
  18. 2026BoLT: A Benchmark to Democratize Black-box Optimization Research for Expensive LLM Taskscited by 1
  19. 2026MO-CAPO: Multi-Objective Cost-Aware Prompt Optimizationcited by 1
  20. 2025Uncovering Scaling Laws for Large Language Models via Inverse Problemscited by 0
  21. 2025KITE: Kernelized and Information Theoretic Exemplars for In-Context Learningcited by 0
  22. 2026ALSO: Adversarial Online Strategy Optimization for Social Agentscited by 0
  23. 2026APEX: Automated Prompt Engineering eXpert with Dynamic Data Selectioncited by 0
  24. 2026Large language models in medical time series analysiscited by 0
  25. 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0