- Concepts
- Keeping up with ML innovation
- Natural language processing
- Prompt engineering
- Prompt optimization
- GEPA
GEPA
MethodReflective prompt search using rollout feedback and instance-wise candidate selection, with model weights frozen.
In plain terms: A way to improve prompts without touching model weights, by running the model, reading where it failed, and writing better prompt candidates from that feedback.
For example: GEPA runs a question-answering pipeline on 300 examples, reads the traces of the wrong answers, proposes a revised instruction, and keeps the candidate that wins on more examples.
Why it matters
Separate the model being used from the instructions being searched. Choose success criteria and a search budget before treating an improved prompt as evidence.
- Prompt edits leave underlying model weights fixed in the inspected algorithm.
- A selection dataset is repeatedly used by search; an untouched test set serves a different purpose.
- Reported comparisons have task, model and budget boundaries. They do not establish universal superiority over reinforcement learning.
Common trap: Natural-language reflection is not a gradient of model weights.
Read
Papers
- GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning (opens in a new tab)arXiv / original manuscript authors · 2025
About this resource
Uses execution feedback and reflective language-model analysis to evolve prompts, with candidate selection based on performance across individual task instances.
Where to read: GEPA reflective prompt evolution and instance-wise Pareto selection
Checked 2026-10-08
Authority for this purpose: Existing scholarly source independently inspected against this concept; publication category is kept distinct from preprint and instruction.
Destination inspection: Bounded GET; public DNS/IP pinned; redirect-by-redirect validation; destination text inspection required; reviewed destination title, provenance and concept-specific subject
Useful destination; no explanatory claim is asserted from this link.
- Useful scoped source; attaching it does not establish historical priority or independent superiority. Author/archive copy; publication status is not inferred from the hosting URL. Verification covers the source record, abstract or official chapter routing; full linked text was not independently inspected unless separately noted in the receipt.
Attached reference
Original reference type: research preprint
Original reference verification scope: Bibliographic eligibility only; see scoped relationship evidence.
Introduction attribution in the ontology
Relationship: introducedIn · outgoing
Relationship scope: The named GEPA prompt optimizer, not the invention of reflection or evolutionary optimization.
Relationship review status: reviewed source-role attribution
Where to read: Section 2; Section 3, Figure 4 Algorithms 1–2; Appendix E.4
Open the cited evidence (opens in a new tab)
Original reference type: research preprint
Original reference verification scope: Bibliographic eligibility only; see scoped relationship evidence.
A selected publication link does not by itself establish original invention or verify every claim.
Reviewed authoritative resource
Where to read: GEPA reflective prompt evolution and instance-wise Pareto selection
A first-party destination supports its documented scope; it does not establish independent performance validation or historical priority.
Related concepts
Broader
- Prompt optimizationMethod
Narrower
Related
- Agent trajectoryArtifact
- Select success metricsSkill
- Model-search budgetArtifact
- Design a valid model-selection protocolSkill
- Agent trajectory analysisMethod
- LLM-as-judge evaluationMethod
- DSPyTool
Books to go deeper
AI Engineering
Chip Huyen · 1st edition
Evaluate and build applications around foundation models, retrieval and agents.
View on Amazon (affiliate link) ↗Natural Language Processing with Transformers
Lewis Tunstall, Leandro von Werra and Thomas Wolf · Revised edition
Transformer architectures, tokenization, training and practical NLP workflows.
View on Amazon (affiliate link) ↗As an Amazon Associate I earn from qualifying purchases.
Loading discussion…
