WhoBuilt

Build a Prompt Learning Loop

Jan 6, 2026· 52 min· 13K views·Watch on YouTube

Speakers

SallyAnn DeLucia, director of RISE at Arize, and Arize product manager Fuad Ali explain prompt learning and lead a hands-on workshop at an AI Engineer event.

Why agents fail

SallyAnn says agent problems often come from weak environments and instructions rather than weak models. She points to missing planning, tools, tool guidance, and context, and says technical teams and domain experts both need to contribute.

How prompt learning uses feedback

SallyAnn contrasts prompt learning with reinforcement learning and basic metaprompting. The approach combines evaluation scores with explanations from human reviewers or an LLM judge, then uses that feedback to revise instructions. She describes this as an ongoing cycle as new failures appear.

Benchmarks and eval quality

SallyAnn describes a coding-agent case study where adding rules to a system prompt improved SWE-bench Lite performance by 15%, without changing the model, tools, or architecture. She also compares prompt learning with GEPA and MIPRO, stressing that optimization depends on reliable, well-engineered evaluations.

Designing useful evaluations

In discussion, SallyAnn recommends starting with stakeholder definitions of success and turning them into task-level evaluations, such as checking data retrieval, tool choice, call order, or planning. Fuad adds a subjective example from Booking.com property listings, where a simple good-or-bad judgment can be refined into more specific criteria.

Building the optimization loop

The workshop uses a JSON webpage task, a dataset with feedback, two evaluators, and a train-test split. Participants generate outputs, collect correctness labels and explanations, optimize the system prompt over repeated loops, and compare results. SallyAnn says the best prompt can be saved for production, while Arize also offers managed optimization tasks through Prompt Hub.

Takeaways

  • Pair evaluation scores with explanations so prompt revisions address why outputs failed.
  • Define success with domain stakeholders, then translate it into task-level evaluations.
  • Validate and refine evaluator prompts because optimization is only as reliable as its feedback.
  • Use a train-test split to check whether learned instructions generalize beyond the examples used to create them.
  • Treat prompt optimization as a recurring workflow that incorporates newly observed failures.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks