DualBO Combines Diversity-Aware Generation with Dual-View Bayesian Optimization for Prompt Search
Summary:DualBO separates black-box prompt optimization into candidate generation and candidate selection. A staged, strategy-oriented generator reduces average pairwise F1 from 0.68 to 0.32, while a dual-view Gaussian process surrogate combines task-grounded correctness vectors with semantic prompt embeddings to stabilize candidate selection under sparse observations. Across ten runs on ETHOS, ARC, MMLU-Pro, and HotpotQA, the method outperforms behavior-only and semantic-only Bayesian optimization and r
Problem Decomposition
DualBO targets black-box prompt optimization, where gradients are unavailable, and separates the bottleneck into two connected problems. First, reflection-based rewriting tends to generate local variants around the current prompt, leaving the optimizer with a highly redundant candidate pool. Second, a surrogate built only from task behavior on a small minibatch can have a high-variance posterior when observations are sparse. Rather than mixing generation and selection inside one reflection loop, DualBO first broadens effective candidate coverage and then combines task behavior with semantic structure to guide the next search step.
Technical Mechanism
1. Diversity-Aware Generation Comes First
The first stage does not repeatedly rewrite a complete prompt. It first proposes distinct rewriting strategies and then instantiates each strategy as a candidate. This hierarchy separates search-direction selection from text generation and reduces the likelihood that the optimizer spends its evaluation budget on near-duplicate prompts.
The paper reports that average pairwise F1 falls from 0.68 to 0.32, indicating substantially lower overlap among candidates. If the metric is computed over tokens or n-grams, a score of 0.32 suggests broader coverage of the prompt space. The abstract does not define the F1 granularity, however, so it should not be treated as a direct measure of semantic distance or candidate quality. A correctness gate is still necessary because a more diverse candidate is not necessarily a better one.
2. Dual-View Gaussian Processes Stabilize Selection
For a candidate prompt p, one reasonable abstraction is that a task-grounded correctness vector c(p) records the prompt's outcomes on the current minibatch, while a semantic embedding e(p) describes its position in language space. The behavior view directly represents task utility but may be sparse or noisy. The semantic view supplies a smoother neighborhood prior but may not correlate with actual accuracy. The dual-view surrogate attempts to retain both signals.
For a standard Gaussian process, the posterior can be expressed as:
μ(x) = kxᵀ(K + λI)⁻¹y
σ²(x) = k(x,x) - kxᵀ(K + λI)⁻¹kx
where K is the kernel matrix and λ represents observation noise or numerical regularization. In DualBO, correctness vectors and semantic embeddings jointly support the posterior, so a semantically neighboring but under-evaluated candidate is not selected solely on the strength of one noisy observation. The abstract does not disclose whether the two views use concatenated kernels, a product kernel, or a multi-output GP, nor how its hyperparameters are optimized. The exact fusion therefore cannot be reconstructed from the method name alone.
Evaluation Results and Evidence Boundaries
The paper reports ten runs over ETHOS, ARC, MMLU-Pro, and HotpotQA. DualBO consistently outperforms Bayesian optimization based only on behavior or only on semantics. It is competitive with reflection-based optimizers while making substantially fewer model calls. These comparisons support both design choices: diverse generation expands the searchable region, while the dual-view surrogate stabilizes acquisition under sparse feedback.
The available abstract does not provide absolute accuracy, means, standard deviations, confidence intervals, or significance tests. It also omits the target LLM, initial pool size, minibatch size, acquisition function, GP kernel and hyperparameters, reflection baseline configuration, exact call counts, and token costs. “Fewer model calls” is therefore a clear direction but not yet a fully auditable engineering advantage, and ten runs without variance reporting do not establish reproducibility. A code URL is provided, but the abstract does not confirm dependency locking, licensing, or the completeness of the reproduction scripts.
Engineering Trade-offs
- Generation overhead versus search savings: Staged strategy generation adds planning or generation calls up front. The reduction in later evaluations can cover that cost only if the surrogate reaches strong candidates earlier. Budgets must be calculated across the complete call chain rather than counting evaluated candidates alone.
- Surrogate scalability: An exact GP typically requires roughly O(n³) training time and O(n²) memory, where n is the cumulative candidate count. A larger pool improves diversity but also increases kernel construction and hyperparameter-optimization costs. Production implementations need explicit limits on rounds, candidates, and embedding dimensions.
- Semantic similarity is not behavioral equivalence: Embeddings can reduce posterior variance, but they may also treat prompts with similar wording but different task behavior as close neighbors. Correctness vectors are therefore necessary anchors, while small batches or output-parser errors can directly contaminate the observations.
- Diversity-quality tension: Lower overlap may introduce verbose, ambiguous, or instruction-drifting prompts. The search should retain behavioral gates and optionally apply rule filters, length penalties, or staged elimination instead of preserving candidates solely according to semantic distance.
- Black-box applicability: The method requires neither gradients nor internal logits, making it usable with closed APIs. Every candidate still requires a real model call, however, and the quality of the evaluation function and output parser directly limits the optimizer.
Deployment Guidance
- Build a representative development set and freeze the prompt template, output parser, and correctness rules so the objective does not drift during optimization.
- Allocate quotas to rewrite strategies—for example, constraint expression, task decomposition, example organization, and output formatting—then cap the number of candidates generated by each strategy.
- Cache correctness vectors and semantic embeddings for every evaluation. When samples are limited, repeat evaluations to estimate noise and standardize features with different scales.
- Use a bounded GP surrogate to select the next batch, logging acquisition scores and posterior variance so the semantic prior does not permanently override real behavioral evidence.
- Re-evaluate the final prompts on a larger holdout set and compare against random search, behavior-only BO, semantic-only BO, and reflection-based rewriting under equal call budgets.
- Track accuracy, model calls, input and output tokens, end-to-end latency, parse failures, and cross-run variance rather than comparing only the final score.
The central contribution of DualBO is not a new type of Gaussian process. It is the separation of prompt-space exploration from surrogate selection and the connection of those stages through dual-view evidence. For teams constrained by evaluation bottlenecks, redundant candidates, or strict API budgets, this decomposition is worth adding to the baseline stack.
— END —Source: ArXiv NLP/LLM (cs.CL) (2026-12-03)
Tags: #DualBO #Prompt Optimization #Bayesian Optimization #Gaussian Processes #Black-Box LLMs
Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.
Community Comments