The Research Report
Meta ReElicit: Teaching LLMs to Build Their Own Search Spaces
Bayesian optimization meets semantic embedding for system prompt tuning
Most AI teams still tune system prompts the old way. A developer writes a draft, deploys it to a fraction of traffic, checks the dashboard, tweaks a phrase, and repeats. The process is slow, expensive, and deeply manual. Meta's new paper, "Embedding by Elicitation," offers a fundamentally different path. It treats prompt optimization as a mathematical search problem and hands the heavy lifting to the model itself.
The result is ReElicit, a framework that achieved the best overall performance across ten benchmark tasks while using only thirty prompt evaluations. For teams running production LLM systems, that number matters. Each evaluation might represent hours of real user traffic or thousands of dollars in API calls. Getting strong results with thirty shots changes the economics entirely.
The Real Problem Is Feedback, Not Prompts
The paper opens with a sharp observation about where most automatic prompt optimization research goes wrong. Most existing methods assume you get rich feedback: per-example labels, error traces, or textual critiques on every interaction. A/B testing does not work that way. In production, you get one number: completion rate, satisfaction score, safety incident rate, or retention. That scalar is the entire signal.
This aggregate feedback setting strips away the usual tools. You cannot tell the model which specific examples it got wrong because you do not have per-example data. You cannot generate targeted revisions because there are no error traces to learn from. What remains is a pure black-box optimization problem over discrete, variable-length text.
Bayesian optimization is the natural fit here. It models uncertainty, balances exploration against exploitation, and is designed for expensive evaluations. But BO needs a continuous, compact space to search. System prompts live in the space of all possible English sentences. That is not compact, and it is not continuous.
Elicitation: The LLM Builds the Map
Meta's answer is to let the LLM build the search space.
Here is how ReElicit works in practice. The system receives three inputs: a task description, a set of previously tested prompts, and the scalar scores each prompt received. From this history, the LLM proposes a small set of performance-relevant feature axes. These are not surface features like length or token overlap. They are semantic directions: answer-format control, calibrated uncertainty, explicit reasoning structure, numerical consistency, ambiguity resolution.
The LLM then maps every evaluated prompt into this low-dimensional feature space. Now you have a compact, continuous representation. BO can run. The Gaussian process surrogate models the relationship between feature vectors and scores. The acquisition function picks a promising target in feature space. Then the LLM realizes that target, turning the abstract feature vector back into a concrete, deployable system prompt.
The representation is not static. As new evaluations arrive, the system re-elicits the feature space. The axes adapt to what the evidence says matters. Early in the search, the relevant dimensions might be broad. As high-performing regions emerge, the feature space sharpens to distinguish subtler variations within those regions.
How It Differs from Manual and Automatic Tuning
Manual prompt tuning relies on developer intuition. The developer guesses which words matter, tests a variant, and iterates. The search space is implicit and unexamined. The developer never sees the structure of prompt variation; they stumble through it one phrase at a time.
Automatic prompt optimization methods like APE or OPRO improve on this by using the LLM to generate candidates. But they search directly in text space. Without a structured representation, the search is undirected. The system cannot know whether a newly generated prompt explores genuinely new territory or merely rephrases something already tested.
ReElicit splits the difference. It keeps the LLM in the loop for generation and interpretation, but adds a formal optimization layer. The feature space gives the search direction. The surrogate model remembers what worked. The acquisition function decides where to look next. The LLM translates between the abstract search and real prompts. Each component does what it does best.
The Thirty-Evaluation Result
Across ten benchmark tasks under a strict thirty-evaluation budget, ReElicit achieved the strongest aggregate performance among all tested baselines. The tasks covered reasoning, coding, safety, and instruction following. The baselines included established methods for aggregate-feedback prompt optimization.
Thirty evaluations is aggressive. In many BO settings, that is barely enough to warm up the surrogate model. ReElicit succeeds because the elicited feature space is interpretable and task-relevant from the start. The LLM is not just generating prompts. It is building a coordinate system for prompt quality. That semantic head start compresses what would otherwise require hundreds of random evaluations.
The paper also includes a reachability analysis. Under reasonable smoothness assumptions, optimization in the elicited embedding stays close to optimal in the true prompt space. The feature space does not have to be perfect. It only needs to be good enough to guide search.
What This Means for Production Teams
For teams running LLM applications, ReElicit points to a future where prompt tuning is less artisanal and more automated. The key requirement is aggregate feedback. If you can assign a single quality score to a deployed prompt variant, ReElicit can optimize it. You do not need labeled datasets, per-example logs, or error traces.
The framework also suggests a broader shift in how we think about LLM capabilities. We are used to treating language models as prompt generators or text processors. Meta's work treats them as semantic representation builders. The LLM is not just writing prompts. It is constructing the conceptual axes along which prompts vary. That is a different kind of reasoning, and it opens possibilities beyond prompt tuning.
There are practical questions still to answer. How does performance scale with evaluation budget? How sensitive is the method to the choice of base model for elicitation? How does it behave when feedback is noisy or delayed? The paper establishes the core framework and initial results. Follow-up work will need to stress-test these boundaries.
The Bottom Line
Meta ReElicit reframes system prompt optimization from a text-generation problem into a representation-learning problem. By having the LLM elicit its own feature space, then running Bayesian optimization inside that space, it achieves strong results with minimal evaluations. The aggregate-feedback setting matches how production teams actually measure prompt quality. For anyone shipping LLM systems at scale, this is a direction worth watching closely.
Paper: "Embedding by Elicitation: Dynamic Representations for Bayesian Optimization of System Prompts" (arXiv:2605.19093)
Authors: Zhiyuan Jerry Lin, Benjamin Letham, Samuel Dooley, Maximilian Balandat, Eytan Bakshy (Meta)
Key number: Best aggregate performance across 10 tasks with only 30 evaluations
Published: May 2026