AI Video

The Scrutiny of AI: Building Evals That Actually Work

StartupHub.ai Staff

By StartupHub.ai Staff, reviewed by Daniel Singer, Editor

3 min read

The Scrutiny of AI: Building Evals That Actually Work

The very nature of AI, particularly large language models (LLMs), introduces a profound challenge to traditional software development: how do you reliably measure goodness? This fundamental question underpinned the workshop led by David Karam, Product Director at Pi Labs and former Google Search veteran, at the recent AI Engineer World's Fair in San Francisco.

https://www.youtube.com/watch?v=jxrGodnopHo

A common refrain from attendees echoed the sentiment that "evals can be labor-intensive," making them "painful to get started with." Unlike deterministic software, LLMs are stochastic; their outputs can vary widely, making objective performance measurement difficult. One attendee highlighted the struggle to "define the metrics" for text generation, where the "correct answer" can manifest in myriad ways. This inherent ambiguity means that "each case is so unique that you just can't reuse some previous works." Consequently, the time spent on evaluation in AI development has skyrocketed, with one participant estimating it consumes "80% of feature development time," a stark increase from typical software development.

Karam and his co-founder, drawing from their decade at Google building Search's core AI, posit that evaluating LLMs isn't merely about testing, but about a holistic approach to "quality engineering." They argue that finding errors and measuring quality are paramount, necessitating a shift from "vibe testing" to a more structured, iterative process: "measure, learn, build iteratively." The key, they contend, lies in dissecting a seemingly subjective "goodness" into a "tree of signals." This architectural approach breaks down complex, abstract quality notions into granular, objective components.

By decomposing a subjective metric like "goodness" into a hierarchy of objective signals, such as content score, title score, or even specific elements like "action item clarity" or "due date inclusion" within a meeting summary, developers gain precise insights into *why* an output is good or bad. This granularity is crucial for debugging and for enabling sophisticated optimization techniques like Reinforcement Learning, which rely on nuanced feedback. The objective signals, being "more objective," exhibit "low variance," meaning they consistently provide the same score for the same input, which is vital for the stability and convergence of optimization algorithms. This allows for a more reliable feedback loop, ensuring that engineering efforts directly translate into tangible improvements in model performance and user satisfaction.

The proliferation of LLMs means that "everyone has to do evals," even if "best practices don't exist."

While automated evaluation using LLM-as-a-judge models offers scalability, it often suffers from clunkiness and inaccuracy. Pi Labs advocates for a scoring system where individual, objective signals are combined and then rigorously calibrated against "ground truth" data, typically derived from human preferences or user behavior (like clicks or thumbs-up data). This calibration ensures the scoring system truly reflects desired product behavior, making improvements in development directly impactful for users. Their product aims to simplify this process, providing tools for designing custom metrics, identifying optimal signal types, and integrating scoring models into both online and offline workflows. The goal is not merely to provide a shortcut, but to empower AI engineers with the methodologies and technology to rigorously measure and improve their applications.

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsAIAI Testing and EvaluationDavid KaramGoogleLarge Language Models (LLMs)Pi LabsProduct DevelopmentQuality Engineering

StartupHub.ai Staff

Written by

StartupHub.ai Staff

Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Daniel Singer

Written by

Daniel Singer

Editor, reviewed this article

Daniel Singer is an AI expert who has been writing about, covering and building AI technology since 2018.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.