arXiv:2610.05671cs.AIOct 2026

Manuscript Offprint

arXiv:2610.05671

How Should a Prompt Optimizer Spend a Tight Budget? BudgetAPO with Noise-Adaptive Evaluation

Haoyue Liu, Zhichao Wang, Huanyu Yan, Xiaoying Tang

Abstract

Automatic prompt optimization (APO) has been widely employed to adapt large language models without updating their weights, yielding promising results. However, existing methods such as GEPA and OPRO assume hundreds to thousands of subject-model calls, far more than is practical behind paid, rate-limited APIs. Under tight budgets they fail in two ways: multi-stage pipelines can exhaust the budget and return the seed prompt unchanged, while single-stage methods compare candidates on fixed-size minibatches, regardless of each task's noise. As a remedy, we introduce BUDGETAPO, a single-stage optimizer for the tight-budget regime. BUDGETAPO incorporates (1) a noise-adaptive rule that sizes the evaluation slice to each task's noise, measured by a short probe; (2) a fixed slice that turns every accept/reject decision into a paired comparison; and (3) a reflective operator that rewrites reasoning strategy and output format jointly. Extensive results across seven benchmarks and five subject models demonstrate that BUDGETAPO ranks first on every subject and beats every baseline under Holm-corrected paired tests, while returning the seed in 13% of runs at 250 calls against 86% for GEPA. On GPT-OSS-20B, GEPA needs 4.5 times as many calls to match BUDGETAPO's 100-call score.

1 Introduction

The performance of large language models (LLMs) is notoriously sensitive to the choice of prompt (Brown et al., 2020; Reynolds and McDonell, 2021; Wei et al., 2022; Sclar et al., 2024). To adapt a model to a task without touching its weights, automatic prompt optimization (APO) has emerged as the standard technique: given a task, a seed prompt and a validation set, an optimizer LLM searches for the prompt that maximizes the subject model's score (Zhou et al., 2022; Yang et al., 2024; Pryzant et al., 2023; Opsahl-Ong et al.,

(a) Test score vs. budget

Figure

(b) Seed return

Figure

Figure 1: (a) Test score against budget, GPT-OSS-20B; bands: standard error over seeds. (b) Seed-return rate at a 250-call cap, 105 runs per method.

2024; Agrawal et al., 2026), often matching or beating hand-written prompts (Zhou et al., 2022; Yang et al., 2024).

Despite its success, APO has an unavoidable drawback: existing methods assume a generous evaluation budget. GEPA (Agrawal et al., 2026) uses a multi-stage evaluation pipeline whose initial validation pass can consume several hundred subject-model calls, and OPRO (Yang et al., 2024) and MIPROv2 (Opsahl-Ong et al., 2024) were evaluated with a thousand or more. In practice, however, subject models sit behind paid or rate-limited APIs, and every prompt is re-optimized whenever the model is updated. Under such budgets the prevailing designs fail in two distinct ways (Figure 1). First, seed return: a multi-stage pipeline can exhaust the budget before it selects a better candidate and then returns the prompt it was given; GEPA does so on 86% of its tight-budget runs. Second, evaluation noise: single-stage methods score candidates on minibatches of a fixed size, whatever the task's noise; on SuperGPQA, a 10-row batch carries a standard error of about 15 points. Either way, the budget is spent without a reliable improvement.

We therefore ask the following core question:

Can a tight-budget optimizer avoid seed return and size its evaluation to the task’s noise?

Hence, we introduce BUDGETAPO, a single-stage

Figure

Figure 2: One BUDGETAPO run. Calibration spends 16 calls to read σ^\hat{\sigma}, which fixes a slice of s rows; each refinement round spends k s calls (Equation 5) and keeps a candidate only if it beats the incumbent (Equation 7).

optimizer with no separate validation pass, which addresses the aforementioned question through three components (Figure 2): (1) noise-adaptive slice sizing, in which a 16-call probe measures the task's noise and a closed-form rule sizes the evaluation slice from it, thereby matching each comparison's precision to the task; (2) a fixed evaluation slice that scores every candidate for the rest of the run, turning each accept/reject decision into a paired comparison; and (3) reflective refinement, in which the optimizer rewrites reasoning strategy and output format jointly from a few failing rows. We summarize our contributions as follows:

• Introducing BUDGETAPO, the first APO method that automatically determines its evaluation size according to each task’s measured noise before search, eliminating the need for per-task tuning with one set of defaults across all tasks and subject models.

• Conducting extensive experiments against five baselines on seven benchmarks and five subject models (8B–120B, three seeds; 630 runs), showing that BUDGETAPO ranks first on every subject and significantly outperforms every baseline under Holm-corrected paired tests (p < 0.05).

• Demonstrating BUDGETAPO’s efficiency under tight budgets (Figure 1): on GPT-OSS-20B, GEPA requires 4.5×4.5 \times as many calls to match BUDGETAPO’s 100-call score, while at 250 calls it returns the seed in 86% of runs compared with 13% for BUDGETAPO.

References (24)