Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars
Zhaoxuan Wu, Xiaoqiang Lin, Zhongxiang Dai, Wenyang Hu, Yao Shu,, See-Kiong Ng, Patrick Jaillet, Bryan Kian Hsiang Low

TL;DR
EASE is a novel method for optimizing exemplars and instructions in prompts for large language models, improving in-context learning performance without test-time computation by using embedding-based selection and a neural bandit algorithm.
Contribution
EASE introduces an efficient, ordering-aware exemplar selection method that jointly optimizes exemplars and instructions, outperforming existing retrieval-based approaches.
Findings
EASE achieves superior performance over existing methods.
It effectively eliminates test-time computation for exemplar selection.
Joint optimization of exemplars and instructions enhances ICL results.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Semantic Web and Ontologies · AI-based Problem Solving and Planning
MethodsSparse Evolutionary Training
