WhoBuilt

Evals in AI: A Deep Dive

Oct 5, 2026· 1 h 0 min· 7.8K views·Watch on YouTube

Speaker

Tejas Kumar, an AI engineer at IBM, explains how to design and use AI evaluations, with a live coding workshop and examples from customer support and enterprise policy retrieval.

Why evaluations matter

Kumar describes evaluations as a way to catch reliability and security problems before deployment, while harnesses handle problems at runtime. He uses an Instagram support chatbot example in which attackers reportedly changed account details for 20,225 accounts, arguing that evaluations and runtime safeguards could help prevent such failures.

Evaluations as fuzzy tests

Kumar defines an evaluation as reliability instrumentation for nondeterministic systems, comparable to a fuzzy unit test. A useful evaluation set includes scenarios, expected behavior, a judge, and an aggregate score. Tool calls can often be checked deterministically, while broader questions such as whether an agent resolved a request may need judgment.

Choosing and checking evaluation methods

Kumar recommends starting with exact matches, schema validation, and checks on tool calls before using an LLM judge. He cautions that pairwise comparisons and LLM judges can show position bias, sycophancy, self-preference, and a preference for verbose answers. He suggests testing for these biases, including by swapping answer order.

Calibrating a judge with policy

Kumar builds a customer support example around a 14-day return policy and a customer seeking a refund after 20 days. He recommends comparing judge verdicts against a human-scored dataset, starting with about 30 examples and aiming for roughly 80 to 85 percent agreement. When the judge disagrees, add missing policy context or consider a stronger model; use an agreement threshold in CI and keep the dataset current with reviewed production traffic or synthetic examples.

Keeping policy and evaluations current

Kumar says policies change and should be retrieved from current sources when possible. He describes IBM's Open RAG and Docling as tools for converting varied company documents into searchable knowledge, which can supply policy to agents and judges. In the coding demonstration, he adds refund rules to the judge's context and shows it correctly rejecting a return outside the window.

Takeaways

  • Start with deterministic checks for tool calls and schemas, then add an LLM judge only where outputs need interpretation.
  • Score the judge against human-reviewed examples; investigate disagreements and add the missing policy context.
  • Test judges for position bias, sycophancy, self-preference, and verbosity bias before relying on their scores.
  • Gate releases on an agreement range, and refresh evaluation examples as policies and user traffic change.
  • Keep the agent and judge aligned on the same current policy so CI results better reflect production behavior.

Mentioned in this talk

Search inside this talk

What was claimed 9

Show all 9 facts

Related talks