The Research Report
ReElicit: Meta's Bayesian System Prompt Optimization
arXiv:2605.19093 — Lin, Letham, Dooley, Balandat, Bakshy (Meta), May 2026
The Problem: Tuning Prompts Without Per-Example Labels
System prompts control AI behavior across millions of conversations. A small change to wording can shift response style, safety guardrails, or task completion rates for an entire user population.
Most automatic prompt optimization (APO) methods assume rich feedback. They evaluate candidate prompts against labeled examples and inspect per-example successes, failures, and error traces. This works well in lab settings.
Real deployment looks different. You get a single scalar score per prompt variant. Maybe it is task-completion rate after 30 days, safety-incident frequency, or user satisfaction aggregated across thousands of interactions. You do not see which specific conversations failed or why. There is no breakdown, no trace, no critique — just one number per prompt.
This is the aggregate feedback setting ReElicit targets. It is a sample-constrained black-box optimization problem over discrete, variable-length natural language.
ReElicit: Embedding by Elicitation
ReElicit solves the representation problem by using an LLM to build its own compact feature space from prompt-score history.
The core insight: task-relevant variation in prompts often concentrates along a few semantic axes. These are not surface features like token count or word overlap. They are meaningful directions — answer format control, calibrated uncertainty, explicit reasoning structure, evidence use, ambiguity handling, numerical consistency, pragmatic intent.
Given a task description, evaluated prompts, and scalar scores, the LLM proposes a small set of performance-relevant feature axes and maps each prompt into a normalized coordinate vector in [0,1]^d. This is the embedding.
The optimization loop works as follows:
Feature definition. The LLM examines the task context and prompt-score history. It proposes candidate feature sets. This step sees scores so it can prioritize axes that区分 high-performing prompts from low-performing ones.
Feature extraction. The LLM maps existing prompts into candidate feature spaces. Crucially, extraction does not see scores — coordinates come from prompt content alone, avoiding direct outcome leakage.
Selection. Multiple candidate feature sets compete via cross-validation error for predicting observed scores. The best one is selected. When optimization has been running for more than one round, the previous feature set is re-extracted on the enlarged history and included as an incumbent candidate.
Gaussian process surrogate. With the selected embedding fixed, ReElicit fits a GP surrogate to the embedded observations. This gives a probabilistic model of prompt performance across the feature space.
Acquisition optimization. A batch acquisition function selects target feature vectors in the continuous space. These are not prompts — they are desired semantic coordinates.
Realization and refinement. The LLM turns target coordinates into deployable system prompts. Since the inverse map from continuous coordinates to text is imperfect, the LLM refines outputs using feature-gap feedback — checking how far the generated prompt lands from the target coordinates and iteratively correcting.
Re-elicitation. As new evaluations arrive, the feature space is redefined from scratch. This lets the representation adapt as the optimizer learns which prompt properties actually matter for the target objective.
The Gaussian Process Surrogate
BO typically operates in low-dimensional continuous domains. System prompts are discrete, variable-length, and semantically structured — a poor fit for standard GP modeling.
ReElicit addresses this by working entirely in the LLM-elicited feature space. The GP surrogate models performance as a function of prompt coordinates in [0,1]^d, where d is typically small (2 to 6 features in the experiments).
This has several advantages. Fitting a surrogate in thousands of embedding dimensions with only a handful of observations yields uninformative posteriors. A compact semantic space avoids this curse of dimensionality. The interpretable features also mean acquisition optimization targets semantically meaningful directions rather than abstract latent dimensions.
The GP captures both the predicted performance and epistemic uncertainty at each point in feature space. The acquisition function trades off exploring in regions with high uncertainty versus exploiting regions with high predicted performance. This principled exploration-exploitation balance matters when each evaluation is expensive.
Theoretical Foundations
ReElicit's theoretical analysis addresses the reachability question: when does a point that is near-optimal in the elicited feature space correspond to a good prompt in the original text space?
The paper models the objective under an oracle semantic embedding assumption. If the elicited embedding preserves the performance-relevant geometry of this oracle representation, then points that score well in feature space also score well as actual prompts.
The key result: under smoothness assumptions on the oracle-embedded objective and bounded RKHS norm conditions, near-optimality for the approximated objective transfers to a bounded gap in true prompt quality. The bound tightens as the elicited embedding better approximates the oracle embedding.
This formalizes why re-elicitation helps — as the optimizer collects evidence about which properties distinguish high performers, the feature space adapts and representation error shrinks.
Experimental Results
ReElicit was evaluated on ten system prompt optimization tasks with a shared 30-evaluation budget and an aggregate-only feedback interface (one scalar score per prompt, no per-example labels or traces).
ReElicit achieved the strongest aggregate performance profile among representative aggregate-only APO baselines. The paper compares against methods including APE (LLM-sampled prompts), OPRO (conditioning on previous solutions and scores), PromptBreeder (evolutionary mutation and recombination), and BOPRO (BO over fixed embeddings).
Ablations confirmed that each component contributes: the GP surrogate, the acquisition-driven exploration, the realization-with-refinement step, and the re-elicitation mechanism all played measurable roles.
Practical Implications
When to use ReElicit. Aggregate feedback settings where you have access to scalar metrics like completion rates, safety incident rates, user satisfaction scores, or retention — but no per-example labels or error traces. Particularly relevant when evaluation is expensive or slow (online experiments, long-horizon tasks).
What it requires. An LLM capable of semantic feature definition and extraction, a mechanism to evaluate prompts against the target metric, and a modest budget of evaluations (the 30-evaluation setting in the paper reflects real constraints in batched online experimentation).
What it does not require. Per-example labels, error traces, textual critiques, or auxiliary trained encoders/decoders. The LLM serves as both representation builder and prompt generator.
Limitations. The method assumes task-relevant variation concentrates along a few interpretable axes — which holds for many but not all prompt optimization problems. The reachability bound depends on embedding quality, and re-elicitation adds overhead. Performance degrades if the feature space misses the dominant axes of variation.
Summary
ReElicit reframes system prompt optimization as Bayesian optimization in an LLM-elicited semantic feature space. The LLM builds a compact, interpretable representation from prompt-score history. A GP surrogate models performance across that space. Acquisition functions select target coordinates. The same LLM realizes those targets as deployable prompts and refines them through feature-gap feedback.
The key advance is dynamic representation construction — the feature space adapts as evidence accumulates about which prompt properties actually drive performance. This sidesteps the curse of dimensionality that plagues direct BO over raw text embeddings and avoids the need for trained encoder-decoder pairs.
For practitioners facing the aggregate feedback setting — where you see one number per prompt and nothing else — ReElicit offers a principled, sample-efficient path to better system prompts without requiring per-example labels or complex critique interfaces.
Reference: Lin, Z.J., Letham, B., Dooley, S., Balandat, M., and Bakshy, E. (2026). Embedding by Elicitation: Dynamic Representations for Bayesian Optimization of System Prompts. arXiv:2605.19093. Meta AI.