DualBO: Diversity-Aware Candidate Generation and Semantics-Behavior Coupled Bayesian Optimization for Prompt Search
Ruotian Wu, Ahmad Rashid, Syed Shariyar Murtaza, Utkarsh Soni, Eugene Wen, Pascal Poupart
Abstract
Black-box prompt optimization is limited by both the quality of generated candidates and the reliability of candidate selection. Direct reflection-based rewriting often produces similar local variants, restricting the search space available to the optimizer. Meanwhile, Bayesian optimization (BO) based only on prompt behavior over a small minibatch can exhibit high posterior uncertainty when observations are sparse. We present DualBO, a prompt-search framework that addresses both limitations. First, staged strategy-oriented generation proposes distinct rewriting strategies before instantiating them as prompt candidates, reducing average pairwise F1 from 0.68 to 0.32. Second, a dual-view Gaussian Process surrogate combines task-grounded correctness vectors with semantic prompt embeddings for more stable candidate selection. Experiments over 10 runs on ETHOS, ARC, MMLU-Pro, and HotpotQA show that DualBO consistently outperforms behavior-only and semantic-only BO and is competitive with reflection-based optimizers while using substantially fewer model calls. Code for our work is available at: https://github.com/manulife-ai/dualbo.
Create a lesson
Metadata
- Comments
- Accepted in EACL 2027
Related papers
Tree-Constrained Adaptive Coverage Search for Knowledge Extraction Attacks against Retrieval-Augmented Generation
Shared title terminologycs.CLWenyun Li, Guiping Cao, Xiangyuan Lan et al.
Conflict-Aware Retrieval-Augmented Generation: Knowledge Conflict Detection, Reranking, and Adaptive Context Selection
Shared title terminologycs.CLAlaa Zahweh, Hadi Hasan, Ali Chehab
Inflated, Deflated, Model-Specific: What a Worst-Group Gain from Prompt Optimization Measures
Shared title terminologycs.CLAndrey Marchenko, Oleg Somov
Distilling Language Knowledge Across Generative Processes
Shared title terminologycs.CLYangtian Zhang, Yizhe Zhang, Hanqing Zeng et al.
Remember Me: Enhancing Long-term Character Persistence in LLM-Generated Stories using Knowledge Graphs
Shared title terminologycs.CLAlvin Tan, Jay Campanell, Richa Misra et al.
Symbolic Category Entropy: A New Entropy Metric for Order-Sensitive Narrative Semantics
Shared title terminologycs.CLMichael Kurian, Carlos Monroy