Your LLM Judge Is Hallucinating Too — Brian Kennedy, ZoomInfo — Transcript
Full transcript
- 0:01[music]
- 0:12>> Good afternoon, everybody. I am Brian
- 0:14Kennedy. I'm an engineer on ZoomInfo's
- 0:17agentic platform.
- 0:20Now,
- 0:21I want to start with showing you
- 0:23something one of our agents wrote.
- 0:25This is a real output from our product.
- 0:27The agent's job was to schedule an email
- 0:30for a customer.
- 0:32And this is what it reported back.
- 0:34[clears throat] It said it scheduled the
- 0:36email, it queued it up, and that it was
- 0:37going to go out on Tuesday.
- 0:39We don't just trust the agent, though. A
- 0:41second model checks the agent's work.
- 0:44I'm going to call this one the judge.
- 0:46The judge read this and it accepted it.
- 0:49Great.
- 0:51Now, here's the problem.
- 0:53And this is what it actually happened.
- 0:55Their uh these are the tool results, the
- 0:57record of what actually ran when the
- 0:59agent called the tools. I'm going to
- 1:01call these the receipts.
- 1:03The agent tried to create a record in
- 1:04Salesforce and it failed. The error
- 1:06message that came back says the record
- 1:08was not created and it tells the agent
- 1:10not to report a success or even make up
- 1:13a record.
- 1:14We wrote this message ourselves for
- 1:15exactly this situation.
- 1:18The agent tried again. It created a
- 1:20task, which is a to-do.
- 1:23No email was ever scheduled. The agent
- 1:25doesn't even have a tool that can send
- 1:27an email. The agent made it up and the
- 1:29judge approved it.
- 1:31So that's two failures.
- 1:33The agent fabricated a send
- 1:35and the judge rubber stamped it,
- 1:37approved uh a claim that never actually
- 1:39checked.
- 1:41So if you build agents, you probably
- 1:42have run into this and you probably have
- 1:44a judge like this. It might be a code
- 1:46reviewer or a grader of your evals or a
- 1:48supervisor in your loop.
- 1:50Anytime a model decides whether another
- 1:52model's work is good, this can happen.
- 1:55About for the next 10 minutes, I'll show
- 1:57you how we caught this and we did about
- 1:59it.
- 2:01First, some quick background.
- 2:03My team at Zoom Info
- 2:06is called Agent Teams. We announced this
- 2:08last week. It's a multi-agent
- 2:10orchestration layer that lives in Zoom
- 2:12Info's GTM Studio.
- 2:14It coordinates a team of specialized
- 2:16agents across the company's systems to
- 2:18run GTM workflows. For example, find
- 2:21companies, research them, write an
- 2:23email, log it into their CRM. Each agent
- 2:25has its own roles and instructions like
- 2:28and tools like Salesforce, HubSpot,
- 2:30Slack.
- 2:31These agents make real decisions and
- 2:34take real actions in the customer's
- 2:36systems. They write records and they
- 2:37send messages.
- 2:40Every team and every agent finishes a
- 2:43step. A second model checks its work.
- 2:46That's the judge and it has three
- 2:48options to move on, to redo the step or
- 2:52to stop the job altogether.
- 2:54You probably heard this called LLM as a
- 2:55judge. It's the same idea as a code
- 2:57reviewer or an eval grader.
- 3:01Now, the hard part for us is that it's
- 3:03one model and it has to grade every kind
- 3:05of agent that we're running through it.
- 3:08Our customers build their own workflows
- 3:10with any agent and any tool in any
- 3:12order. So the permutations are almost
- 3:14infinite.
- 3:15So the list of jobs for the judge has to
- 3:17grow with it.
- 3:19The judge can tell whether the work
- 3:21looks finished, but what it can't tell
- 3:23is whether the work was right
- 3:25because that depends on what right means
- 3:27for each job and we're asking it the
- 3:30same question for all of them.
- 3:34So here's where we're going.
- 3:36First, I'll talk about what we found
- 3:38when we checked the judge.
- 3:40Then what we chose instead
- 3:43and what you can do today with your own
- 3:45agents.
- 3:49To start, we ran offline evals. We took
- 3:51500 real steps from production,
- 3:54each with a decision that the judge had
- 3:56made.
- 3:57Then we took a larger frontier model and
- 3:59regraded every one of those to come back
- 4:01with an accept or send back.
- 4:04Then we hand checked each of those
- 4:06samples and we checked the grades. Where
- 4:08we disagreed with the model, we went
- 4:10with our call.
- 4:11This gave us a reference label for all
- 4:13500 steps.
- 4:17And it turned out the judge was right
- 4:1965% of the time, so more or less a coin
- 4:21flip.
- 4:23It accepted 118 steps that it should
- 4:26have sent back. That's more than one in
- 4:28four of everything that it accepted.
- 4:32Pretty bad.
- 4:33And when we read through those, the most
- 4:35common problem was that
- 4:37similar to the email at the start, the
- 4:39agent reported that it did something
- 4:41like send a message and no tool call had
- 4:44ever done that.
- 4:47So to see why the judge had accepted it,
- 4:49let's go back to the email example and
- 4:51look at what the judge was given.
- 4:53On the left, you have what the agent's
- 4:56own summary Think of it as like a story.
- 4:58It's confident, it's well written. It
- 5:00says the email was scheduled.
- 5:03Now on the right, you have the receipts.
- 5:04This is the actual tool results. There
- 5:06are errors, failed to create messages
- 5:10telling the agent not to make up the
- 5:12record.
- 5:13Now the judge had both of these and it
- 5:15went with the story. The work looked
- 5:17fine on the surface, so it accepted it.
- 5:22Now this isn't only our judge. You can
- 5:24think of a code review agent that reads
- 5:26the PR description before it looks at
- 5:28the diff. It's a similar kind of
- 5:30problem. If the description says I fixed
- 5:32the bug, added tests, the agent is going
- 5:34to lean on that when it reads the code.
- 5:38So the obvious fix at the start was to
- 5:40tune the judge and write a better
- 5:42prompt. For us, that was going to be a
- 5:43significant amount of work. Our agents
- 5:46write sales emails, update CRMs, do
- 5:48research,
- 5:49and to judge each of these well, we'd
- 5:51have to figure out what it was that the
- 5:53user was asking. Give the judge the
- 5:55right rules for every kind of work and
- 5:58keep it all up to date.
- 6:00That's basically a custom judge for
- 6:01every use case.
- 6:04What we went with, we went a different
- 6:05direction. We stopped asking one big
- 6:08general question, is this good? And we
- 6:10started asking a short list of small yes
- 6:13or no questions.
- 6:15They're the same questions for every
- 6:16step and each one is small enough to
- 6:19answer by looking at the receipts.
- 6:22The first option here is basically a
- 6:24prompt tuning project that never ends,
- 6:26whereas the second one is a small
- 6:28handful of small checks.
- 6:31Now to answer those questions, we used
- 6:33Jev. You've heard a lot about Jev today,
- 6:35so I'll skip that and keep that short.
- 6:37It's a type decision model, not a
- 6:39generative model.
- 6:41Uh for mom at home watching, just ask
- 6:42Claude.
- 6:44And we'll send it structured facts, you
- 6:46know, about the step and listed a type
- 6:49of questions. A type question is a yes
- 6:51or no question or a choice with from a
- 6:54fixed list of options. It sends back a
- 6:56probability for each answer and it
- 6:59answers all the questions in one call.
- 7:03We gave it four things, the
- 7:05instructions, the uh input, the
- 7:08receipts, uh meaning every tool call,
- 7:10and whether it was successful or failed,
- 7:13and the agent's report.
- 7:15Then we asked for one choice, which was
- 7:17accept, redo, or stop.
- 7:20And that choice makes the decision.
- 7:23But then we also asked seven yes or no
- 7:25questions. Those seven questions tell us
- 7:27the why.
- 7:28They decide between a redo and a stop.
- 7:31And they go into the feedback that the
- 7:34agent gets when it actually has to redo
- 7:36a step.
- 7:39Now back to the email. The LLM judge
- 7:42accepted it and it took about two and a
- 7:44half seconds.
- 7:45Jev gave us a probability for each
- 7:47option.
- 7:48For this step, it accepted 0%, redo 97%
- 7:53and stop at 3%. And it took about a
- 7:56fifth of a second.
- 7:59We make the decision from the
- 8:00probability of accept. At 30% or higher,
- 8:04we accept that. At 5% or lower, we redo
- 8:07or stop.
- 8:08And anything in between means Jev isn't
- 8:10sure, so we kick it to an LLM judge.
- 8:13We pick those cutoffs from testing the
- 8:15500 labels that we had at the beginning.
- 8:19Now, to test whether what whether or not
- 8:22this works better, we took two different
- 8:24routes. The first test used the same 500
- 8:27production steps from the offline eval.
- 8:30Jev was confident enough in about seven
- 8:32out of 10 of them.
- 8:34One of those steps,
- 8:35uh the LLM judge had accepted 82 that
- 8:38should have been sent back. Each red
- 8:41square here is one of those.
- 8:43Jev successfully caught 74 of those. The
- 8:46blue squares are the ones that Jev would
- 8:48have sent back.
- 8:53Now, the second test is what we called
- 8:54shadow mode.
- 8:56Both judges look at every step, but only
- 8:59the LLM judge uh that decision counts.
- 9:02So we saved Jev what would have done,
- 9:04and we don't let it affect the actual
- 9:06run. That gave us 37,000 decisions to
- 9:09mine for insights.
- 9:11And in that time, there were 728 steps
- 9:15where a tool had clearly failed.
- 9:18The LLM caught
- 9:19294 of them. Jev caught 623.
- 9:24And the fake email from the beginning,
- 9:26it wasn't a one-off thing either. The
- 9:28same step ran 1,081 times, and almost
- 9:31every time the agent said it had
- 9:33scheduled an email, the LLM judge only
- 9:35caught it once. Jev caught that 876
- 9:38times.
- 9:42And when you have a judge, every step
- 9:43waits.
- 9:44Jev was 10 times faster and 40 times
- 9:47cheaper.
- 9:48At this scale, it is massive.
- 9:52[snorts]
- 9:53So what's next?
- 9:55Right now, every step goes with the same
- 9:58seven questions. They go into Jev along
- 10:00with the facts, and Jev gives us an
- 10:02accept, redo, or stop.
- 10:04But next, we're adding post-condition
- 10:06checks, which are questions that depend
- 10:09on which tool called uh was within the
- 10:11step.
- 10:12So we don't have to guess. Uh we know
- 10:14the step upfront because the tool tells
- 10:16us.
- 10:17If a step called let's say a send tool,
- 10:19we also ask whether the message was
- 10:21delivered.
- 10:22If it wrote a record, we ask whether the
- 10:24record exists.
- 10:26And those go into Jev with the same
- 10:27seven questions in the same call.
- 10:32Now what can you do today with your
- 10:33agents?
- 10:36First, pick one judgment. Somewhere in
- 10:38your systems there is an LLM deciding
- 10:40whether or not something is good. It
- 10:42might be reviewing code, grading an
- 10:43eval. Pick one of those and rewrite it
- 10:46as a few simple yes or no questions that
- 10:48can be answered from the evidence.
- 10:50Second is build it.
- 10:52This is the easy part honestly. We used
- 10:54Jev and ours was seven questions.
- 10:57Then the third, ship it in shadow mode.
- 10:59Run it next to what you already have,
- 11:01but don't let it make the decisions yet.
- 11:03Just save it uh and then you can analyze
- 11:05it later.
- 11:07Then read the cases and see where the
- 11:09two disagree. And don't overthink it,
- 11:11just start small.
- 11:14We had trusted our judge until we
- 11:16measured it.
- 11:17Measure yours. Run a second check. Run
- 11:20it in shadow mode and see where it
- 11:21disagrees. You may be surprised with
- 11:23what you find.
- 11:25Thank you.
About this transcript
This page contains the full transcript of Your LLM Judge Is Hallucinating Too — Brian Kennedy, ZoomInfo by AI Engineer, generated from the public captions YouTube serves with the video. The transcript has 1,870 words across 303 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.