Hi everyone. Today we are going to talk about AI evaluation. We are living through the greatest technological paradox of this decade. On one hand, we have built artificial intelligence that can pass a bar exam, write production grade code or clear medical licensing exams. That's a knowledge. On the other hand, inside the boardrooms of the world's largest tech and financial companies, there is real hesitation about letting that same model talk directly to a customer without supervision. That's a life.
Why this hesitation? Because in the real world, being mostly right is not the same as being reliable. When an AI hallucinates a refund policy, miscalculates a transaction, or quietly biases a recommendation, the damage doesn't stay small. It scales the moment that output reaches a customer, and that's in e-commerce. The stakes only climb from there.
For the past decade, people in my field, product data science, relied on a gold standard called A/B testing to protect users. We lived in a deterministic world. A user clicks A, and consequence B happens every single time. Generative AI broke that. It's not deterministic, it's probabilistic. Ask it the same question twice, get two different answers. So, how do you measure the truth of a machine that changes its mind?
The industry's current answer is fascinating and a little dangerous. We are asking the AI to grade its own homework. We call it LLM as a judge: one model evaluating another model's output. But when an AI evaluates another AI with no independent ground truth, we haven't solved the trust problem. We have automated our blind spots.
Here is how absurd this is. Imagine asking a student to write a final essay, then asking that same student to grade it. They'll give themselves an A. AI models do exactly this. They favor their own writing style. They miss their own hallucinations because they don't know they are hallucinations. We keep doing it anyway because human review alone doesn't scale. We need automation, but we need automation that can prove it's creating value, not just automation that's fast.
This is the problem I have spent the last stretch of my career working on. Specifically, the question of what happens when you hand an AI the most consequential job in a company: writing the queries that executives use to make million and billion dollar decisions.
Here is what I have learned building and evaluating these systems. The AI already knows how to write. It knows the syntax and the code. What it doesn't know is your business logic. Your definition of an active user probably changed last week, and nobody told the model about the change. And that is where the true danger lies. It's what I call the semantic gap. The AI speaks the language of data perfectly, but it doesn't understand the culture of your business.
Imagine a CEO asking an AI agent, "What was our revenue last month?" The AI writes a flawless query and returns a number, 50 million. The CEO makes a hiring plan based on that. But what the AI didn't know is that the finance team excludes international refunds from that specific table, while the marketing team includes them. The AI didn't make a syntax error. It made a semantic error. It lacked context.
This isn't hypothetical. It's the exact problem that the largest data organizations in the world are fighting right now. Meta's internal data science team published a blog where they talked about building something called analytics agent, and their own numbers are striking: 88% of a data scientist's queries touch tables they have already queried in the last 90 days. Data work isn't infinite. It's bounded. Meta's fix for that boundedness is a layered context system they call cookbook, recipes, and ingredients: a living, structured account of what the company's data actually means, not just what it contains.
That result from one of the most sophisticated data organizations on earth confirmed something I had already been building toward from the other direction. You cannot evaluate an AI's output in a vacuum. You have to evaluate it against a business context layer first, and only then ask whether the output is any good.
But there is a trap in relying on a business context layer at all. It's only as good as its last update. In most organizations, that update happens because a human remembers to make it, which means it usually happens after something has already gone wrong. The definition of active user didn't change in a backlog. Someone proposed it in a Slack thread. Someone merged that change into a metrics report using a pull request. Someone edited a wiki page nobody else reads. The signal that the ground truth shifted already exists. It's just scattered across tools that don't really talk to each other, and the AI has no way to know how any of it happened.
So I built automated context sensing to close that first gap: watching the places where business logic actually changes, such as the metric codebase, documentation, data structure, and discussion threads, and treating a change there as a signal the moment it happens, instead of waiting for a human to notice and manually update the AI or until something breaks. The idea is not asking a human to remember to teach the AI. It's having the AI notice when the business has already changed.
On top of that foundation sits a framework I want to walk you through: the tri-layer evaluation architecture.
Layer one is the LLM as a judge filter. This is where LLM as a judge actually belongs, not as a final word of truth but as a fast automated filter. The secondary model checks the generated query against the business context layer and assigns a confidence score. High score, it passes. Low score, it's blocked. Score in the ambiguous middle, it escalates.
Layer two is calibrated human validation. When the machine is unsure, it escalates the query to a human data scientist. But here is a critical engineering challenge. If you ask an engineer to fill out a five-point evaluation rubric every time the AI makes a mistake, they will not do it. They just want to fix the code, run the query, and move on. So we don't ask them to grade it. We automate the human evaluation. We let the human fix the AI's query in their own workspace. When they finally hit execute, our system captures the final working code. We then calculate the delta, the exact gap between the AI's broken query and the human's successful one. That delta isn't just logged. It is fed back into the business context layer as a labeled training example. Over enough cycles, that delta shrinks. The human is in a sense tech support for the AI. They are the calibration mechanism that upgrades it.
Layer three is distal telemetry. This is the layer everyone skips, and it's the hardest one to build, which is exactly why it's where I am focused right now. Layers one and two are already built and running at many companies. Layer three is different. It asks not only whether the query was correct, but whether it actually moved the human decision forward. Did it end an investigation or lead to a decision, or did it send the person back into a prompt box, re-asking, stuck in a loop?
The approach I'm working toward captures that in two ways. The first is behavioral signals: follow-up queries, abandoned threads, and whether a dashboard made it into the decision meeting. The second is outcome-link signals: whether a metric actually led to a decision downstream. But correlation is not causation. Just because an executive looked at an AI dashboard and then made a profitable decision doesn't mean the AI caused it. To truly close this loop, we have to treat the AI itself as an experiment. We apply the same causal inference math that we use to test new product features, but we apply it to the AI's output. We compare baseline human decision-making speed with AI-assisted decision-making speed, and we isolate the variables mathematically so we can show that the AI was a catalyst for the outcome, not just a bystander.
Neither layer alone is enough. Together, they tell you whether the AI's output worked in the world, not just whether it was correct on paper. The reason this layer matters isn't measurement for its own sake. It's the piece that lets the whole architecture close the loop, feeding real-world outcomes back into how confidently layer one judges and what credit layer two's human reviewers receive. That's the direction I'm building. We stop asking whether the AI returned a table of numbers, and we start asking whether it moved a decision forward.
Knowledge versus life is the core reason any of this matters. Knowledge is the raw power of a model that has ingested most of the internet. It can write poetry, code, and financial models in seconds. Life is friction. Life is edge cases. Life is a customer trying to fix a billing error at 2 a.m., or a clinician trusting an automated tool with a diagnosis. Raw knowledge doesn't cross that gap on its own. Evaluation is the bridge. Without it, AI is an extremely capable party trick. With it, it becomes something you can actually build a business, a hospital, or a bank around.
We are moving fast toward a future where AI mediates our finances, our healthcare, and our daily decisions. The industry's instinct is to deploy first and patch later. But as we build systems that generate infinite knowledge, the most important thing we can build alongside them is an architecture that holds that knowledge accountable to reality. We can't let the machine judge the machine and then just call it a day.
Trust isn't a feature you prompt into a model. Trust is infrastructure: a mathematical and causal structure we deliberately build around the AI to protect the humans on the other end of it. When we stop treating AI as an oracle and start requiring it to prove its value every single day, that's when knowledge actually becomes life.
Thank you.
