LLM Prompt Duel Optimizer: Efficient Label-Free Prompt Optimization
Yuanchen Wu, Saurabh Verma, Justin Lee, Fangzhou Xiong, Poppy Zhang, Amel Awadelkarim, Xu Chen, Yubai Yuan, Shawndra Hill
TL;DR
Prompt Duel Optimizer (PDO) reframes prompt optimization as a label-free dueling-bandit problem guided by LLM pairwise preferences. It combines Double Thompson Sampling to efficiently identify Copeland-optimal prompts with Top-Performer Guided Mutation to expand the search around strong candidates, achieving sample-efficient discovery without ground-truth labels. Empirical results on BBH and MS-MARCO show PDO consistently matching or surpassing label-free baselines and remaining competitive with supervised APO methods, with ablations confirming the value of both D-TS and mutation. The analysis also reveals how judge noise and partial labeling affect performance, and demonstrates the practicality of integrating a small amount of ground-truth labels when available.
Abstract
Large language models (LLMs) are highly sensitive to their input prompts, making prompt design a central challenge. While automatic prompt optimization (APO) reduces manual engineering, most approaches assume access to ground-truth references such as labeled validation data. In practice, however, collecting high-quality labels is costly and slow. We propose the Prompt Duel Optimizer (PDO), a sample-efficient framework for label-free prompt optimization. PDO formulates the problem as a dueling-bandit setting, where supervision signal comes from pairwise preference feedback provided by an LLM judge. The framework combines Double Thompson Sampling (D-TS), which prioritizes informative prompt comparisons, with Top-Performer Guided Mutation, which expands the candidate pool by mutating high-performing prompts. PDO naturally operates in label-free settings and can also incorporate partial labels to mitigate judge noise. Experiments on BIG-bench Hard (BBH) and MS MARCO show that PDO consistently outperforms baseline methods. Ablation studies further demonstrate the effectiveness of both D-TS and prompt mutation.
