WhoBuilt

Engineering Better Evals: Scalable LLM Evaluation Pipelines That Work

Jun 27, 2025· 25 min· 5.9K views·Watch on YouTube

Speakers

Dat Ngo, an AI architect at Arize AI, presents on scalable LLM and agent evaluation pipelines at AI Engineering World Fair; Aman Khan is named in the page title, but does not speak in the transcript.

Observability and evaluation signals

Dat distinguishes observability, which shows what a system is doing, from evals, which help teams identify what is working. Platform teams may focus on cost and latency, while application teams may focus on product quality. He describes evals as signals that make large volumes of traces easier to assess.

Choose the right evaluation methods

Dat says LLM-as-a-judge is only one tool. Teams can also use human feedback, golden datasets, smaller encoder models, and code checks such as keyword, regex, or JSON validation. A golden dataset can help measure and tune whether an LLM judge matches trusted human labels.

Build two feedback loops

One loop uses traces and eval results to find failures, annotate examples, and improve prompts, models, or orchestration. A second loop checks whether the evals themselves are accurate and tunes them when their judgments are wrong or too vague. Dat argues that faster iteration can improve product quality, giving four monthly iterations versus two as an example.

Evaluate workflows and agent paths

Evals can target a single model call, a larger workflow, control flow, or a full conversation session. Dat recommends conditional evals when a failed earlier step makes later checks wasteful. For agents, aggregate path graphs can reveal failure patterns across traces, while trajectory evals compare an expected route with the components the agent actually used.

Place guardrails and improve the system

Dat frames evals as either inside orchestration or outside it, with tradeoffs such as latency and complexity. Guardrails can reduce risk, but he says teams should also fix the underlying prompts and application logic; guardrails are not infallible. He describes OpenTelemetry propagation for tracing work across services and meta-prompting to use eval results and examples to suggest improved prompts.

Takeaways

  • Use multiple evaluation signals: combine code checks, human labels, golden datasets, and model judges according to the task and cost.
  • Validate model judges against trusted labeled examples, then tune them when their decisions diverge.
  • Review eval errors as well as application errors; unreliable evals can mislead product changes.
  • For agents, inspect path distributions across many traces and evaluate control flow before spending on downstream checks.
  • Treat guardrails as a risk control, and use observed failures to improve the prompt or orchestration that caused them.

Mentioned in this talk

Search inside this talk

What was claimed 6

Related talks