arXiv:2610.36774cs.AIOct 2026

Manuscript Offprint

arXiv:2610.36774

Batching the Reflective Optimization Loop: Parallel Proposals Make GEPA Faster and Better

Jialin Zhang, Lakshya A Agrawal, Shangyin Tan, Donghyun Lee, Lutfi Eren Erdogan, Dan Klein, Koushik Sen, Alex Dimakis, Matei Zaharia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reflective text optimization makes agentic systems better, but the optimization loop is itself a resource-hungry workload whose sequential structure leaves parallel evaluation capacity idle. We extend the open-source GEPA optimizer to propose and evaluate a batch of candidates on each optimization step instead of one candidate at a time. In our sweep on two tasks, most batched runs finished in half the wall-clock time or less, and the fastest in about a quarter to a third. Batched settings also achieved higher held-out test scores, from 68.9% to 72.1% on LiveBench-Math (with 2×22\times2) and from 49.0% to 60.0% on HoVer (with 8×18\times1). A simple runtime model explains the measured speedups under a finite worker pool, and batched settings also spend their metric-call and dollar budgets more efficiently. We frame the axes along which a reflective optimization step can scale in parallel, a first look at allocating a fixed optimization budget across them.

LiveBench-Math (5k metric calls)

Figure

HoVer (3k metric calls)

Figure 1: At the same metric-call budget, parallel proposals are faster and better than single mutation, achieving up to about a 3 to 4× speedup, while scoring up to 11 points higher on the held-out test set.

1 Introduction

Optimizing an agentic AI system is itself a resource problem. Reflective optimizers such as GEPA [Agrawal et al., 2026] improve an agent by proposing textual mutations of its prompts or code,

∗^{*}Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Resource-Aware Agentic AI.

Figure

(a) SelectBestCandidate

Figure

(b) Pareto-based candidate sampling

Figure

(c) Parallel proposals (P×N)

Figure 2: From best-candidate selection to parallel proposals. SelectBestCandidate extends only the current best candidate, GEPA's Pareto-based candidate sampling explores a broader tree one proposal at a time, and parallel proposals (P×N)(P \times N) extend several frontier candidates at once.

scoring them with rollouts, and keeping the winners, so a run consumes LLM calls, dollars, and, above all, wall-clock time. GEPA is sample-efficient in the number of rollouts it needs, but its loop is sequential. Running GEPA on a task can take hours because each optimization step waits for a proposal and its evaluation before the next step begins. In each iteration, GEPA samples a parent, proposes a mutation, evaluates it on a mini-batch, and, if it improves on its parent, evaluates it on the full validation set.

We extend GEPA with batched parallel proposals. Instead of advancing one proposal at a time, a step can propose several candidates and dispatch their evaluations concurrently. This allows for evaluating more proposals at a time, so the same budget of metric calls finishes in less wall-clock time, and it delivers better results, by exploring more of the search tree per step. In our experiments, batching cut the wall-clock time by roughly 3 to 4×, while raising held-out test scores from 68.9% to 72.1% on LiveBench-Math and from 49.0% to 60.0% on HoVer (Figure 1).

Faster and better optimization makes GEPA more accessible and practical for more tasks, and lets users spend more budget in the same amount of time. Beyond the batching mechanism itself, we also introduce the axes of parallel scaling in reflective optimization, a potential area for future study (Appendix A).