YouTube2Text

Your LLM Judge Is Hallucinating Too — Brian Kennedy, ZoomInfo — Transcript

by AI Engineer · 1,870 words · 303 segments · language en · Watch on YouTube

Full transcript

  1. 0:01[music]
  2. 0:12>> Good afternoon, everybody. I am Brian
  3. 0:14Kennedy. I'm an engineer on ZoomInfo's
  4. 0:17agentic platform.
  5. 0:20Now,
  6. 0:21I want to start with showing you
  7. 0:23something one of our agents wrote.
  8. 0:25This is a real output from our product.
  9. 0:27The agent's job was to schedule an email
  10. 0:30for a customer.
  11. 0:32And this is what it reported back.
  12. 0:34[clears throat] It said it scheduled the
  13. 0:36email, it queued it up, and that it was
  14. 0:37going to go out on Tuesday.
  15. 0:39We don't just trust the agent, though. A
  16. 0:41second model checks the agent's work.
  17. 0:44I'm going to call this one the judge.
  18. 0:46The judge read this and it accepted it.
  19. 0:49Great.
  20. 0:51Now, here's the problem.
  21. 0:53And this is what it actually happened.
  22. 0:55Their uh these are the tool results, the
  23. 0:57record of what actually ran when the
  24. 0:59agent called the tools. I'm going to
  25. 1:01call these the receipts.
  26. 1:03The agent tried to create a record in
  27. 1:04Salesforce and it failed. The error
  28. 1:06message that came back says the record
  29. 1:08was not created and it tells the agent
  30. 1:10not to report a success or even make up
  31. 1:13a record.
  32. 1:14We wrote this message ourselves for
  33. 1:15exactly this situation.
  34. 1:18The agent tried again. It created a
  35. 1:20task, which is a to-do.
  36. 1:23No email was ever scheduled. The agent
  37. 1:25doesn't even have a tool that can send
  38. 1:27an email. The agent made it up and the
  39. 1:29judge approved it.
  40. 1:31So that's two failures.
  41. 1:33The agent fabricated a send
  42. 1:35and the judge rubber stamped it,
  43. 1:37approved uh a claim that never actually
  44. 1:39checked.
  45. 1:41So if you build agents, you probably
  46. 1:42have run into this and you probably have
  47. 1:44a judge like this. It might be a code
  48. 1:46reviewer or a grader of your evals or a
  49. 1:48supervisor in your loop.
  50. 1:50Anytime a model decides whether another
  51. 1:52model's work is good, this can happen.
  52. 1:55About for the next 10 minutes, I'll show
  53. 1:57you how we caught this and we did about
  54. 1:59it.
  55. 2:01First, some quick background.
  56. 2:03My team at Zoom Info
  57. 2:06is called Agent Teams. We announced this
  58. 2:08last week. It's a multi-agent
  59. 2:10orchestration layer that lives in Zoom
  60. 2:12Info's GTM Studio.
  61. 2:14It coordinates a team of specialized
  62. 2:16agents across the company's systems to
  63. 2:18run GTM workflows. For example, find
  64. 2:21companies, research them, write an
  65. 2:23email, log it into their CRM. Each agent
  66. 2:25has its own roles and instructions like
  67. 2:28and tools like Salesforce, HubSpot,
  68. 2:30Slack.
  69. 2:31These agents make real decisions and
  70. 2:34take real actions in the customer's
  71. 2:36systems. They write records and they
  72. 2:37send messages.
  73. 2:40Every team and every agent finishes a
  74. 2:43step. A second model checks its work.
  75. 2:46That's the judge and it has three
  76. 2:48options to move on, to redo the step or
  77. 2:52to stop the job altogether.
  78. 2:54You probably heard this called LLM as a
  79. 2:55judge. It's the same idea as a code
  80. 2:57reviewer or an eval grader.
  81. 3:01Now, the hard part for us is that it's
  82. 3:03one model and it has to grade every kind
  83. 3:05of agent that we're running through it.
  84. 3:08Our customers build their own workflows
  85. 3:10with any agent and any tool in any
  86. 3:12order. So the permutations are almost
  87. 3:14infinite.
  88. 3:15So the list of jobs for the judge has to
  89. 3:17grow with it.
  90. 3:19The judge can tell whether the work
  91. 3:21looks finished, but what it can't tell
  92. 3:23is whether the work was right
  93. 3:25because that depends on what right means
  94. 3:27for each job and we're asking it the
  95. 3:30same question for all of them.
  96. 3:34So here's where we're going.
  97. 3:36First, I'll talk about what we found
  98. 3:38when we checked the judge.
  99. 3:40Then what we chose instead
  100. 3:43and what you can do today with your own
  101. 3:45agents.
  102. 3:49To start, we ran offline evals. We took
  103. 3:51500 real steps from production,
  104. 3:54each with a decision that the judge had
  105. 3:56made.
  106. 3:57Then we took a larger frontier model and
  107. 3:59regraded every one of those to come back
  108. 4:01with an accept or send back.
  109. 4:04Then we hand checked each of those
  110. 4:06samples and we checked the grades. Where
  111. 4:08we disagreed with the model, we went
  112. 4:10with our call.
  113. 4:11This gave us a reference label for all
  114. 4:13500 steps.
  115. 4:17And it turned out the judge was right
  116. 4:1965% of the time, so more or less a coin
  117. 4:21flip.
  118. 4:23It accepted 118 steps that it should
  119. 4:26have sent back. That's more than one in
  120. 4:28four of everything that it accepted.
  121. 4:32Pretty bad.
  122. 4:33And when we read through those, the most
  123. 4:35common problem was that
  124. 4:37similar to the email at the start, the
  125. 4:39agent reported that it did something
  126. 4:41like send a message and no tool call had
  127. 4:44ever done that.
  128. 4:47So to see why the judge had accepted it,
  129. 4:49let's go back to the email example and
  130. 4:51look at what the judge was given.
  131. 4:53On the left, you have what the agent's
  132. 4:56own summary Think of it as like a story.
  133. 4:58It's confident, it's well written. It
  134. 5:00says the email was scheduled.
  135. 5:03Now on the right, you have the receipts.
  136. 5:04This is the actual tool results. There
  137. 5:06are errors, failed to create messages
  138. 5:10telling the agent not to make up the
  139. 5:12record.
  140. 5:13Now the judge had both of these and it
  141. 5:15went with the story. The work looked
  142. 5:17fine on the surface, so it accepted it.
  143. 5:22Now this isn't only our judge. You can
  144. 5:24think of a code review agent that reads
  145. 5:26the PR description before it looks at
  146. 5:28the diff. It's a similar kind of
  147. 5:30problem. If the description says I fixed
  148. 5:32the bug, added tests, the agent is going
  149. 5:34to lean on that when it reads the code.
  150. 5:38So the obvious fix at the start was to
  151. 5:40tune the judge and write a better
  152. 5:42prompt. For us, that was going to be a
  153. 5:43significant amount of work. Our agents
  154. 5:46write sales emails, update CRMs, do
  155. 5:48research,
  156. 5:49and to judge each of these well, we'd
  157. 5:51have to figure out what it was that the
  158. 5:53user was asking. Give the judge the
  159. 5:55right rules for every kind of work and
  160. 5:58keep it all up to date.
  161. 6:00That's basically a custom judge for
  162. 6:01every use case.
  163. 6:04What we went with, we went a different
  164. 6:05direction. We stopped asking one big
  165. 6:08general question, is this good? And we
  166. 6:10started asking a short list of small yes
  167. 6:13or no questions.
  168. 6:15They're the same questions for every
  169. 6:16step and each one is small enough to
  170. 6:19answer by looking at the receipts.
  171. 6:22The first option here is basically a
  172. 6:24prompt tuning project that never ends,
  173. 6:26whereas the second one is a small
  174. 6:28handful of small checks.
  175. 6:31Now to answer those questions, we used
  176. 6:33Jev. You've heard a lot about Jev today,
  177. 6:35so I'll skip that and keep that short.
  178. 6:37It's a type decision model, not a
  179. 6:39generative model.
  180. 6:41Uh for mom at home watching, just ask
  181. 6:42Claude.
  182. 6:44And we'll send it structured facts, you
  183. 6:46know, about the step and listed a type
  184. 6:49of questions. A type question is a yes
  185. 6:51or no question or a choice with from a
  186. 6:54fixed list of options. It sends back a
  187. 6:56probability for each answer and it
  188. 6:59answers all the questions in one call.
  189. 7:03We gave it four things, the
  190. 7:05instructions, the uh input, the
  191. 7:08receipts, uh meaning every tool call,
  192. 7:10and whether it was successful or failed,
  193. 7:13and the agent's report.
  194. 7:15Then we asked for one choice, which was
  195. 7:17accept, redo, or stop.
  196. 7:20And that choice makes the decision.
  197. 7:23But then we also asked seven yes or no
  198. 7:25questions. Those seven questions tell us
  199. 7:27the why.
  200. 7:28They decide between a redo and a stop.
  201. 7:31And they go into the feedback that the
  202. 7:34agent gets when it actually has to redo
  203. 7:36a step.
  204. 7:39Now back to the email. The LLM judge
  205. 7:42accepted it and it took about two and a
  206. 7:44half seconds.
  207. 7:45Jev gave us a probability for each
  208. 7:47option.
  209. 7:48For this step, it accepted 0%, redo 97%
  210. 7:53and stop at 3%. And it took about a
  211. 7:56fifth of a second.
  212. 7:59We make the decision from the
  213. 8:00probability of accept. At 30% or higher,
  214. 8:04we accept that. At 5% or lower, we redo
  215. 8:07or stop.
  216. 8:08And anything in between means Jev isn't
  217. 8:10sure, so we kick it to an LLM judge.
  218. 8:13We pick those cutoffs from testing the
  219. 8:15500 labels that we had at the beginning.
  220. 8:19Now, to test whether what whether or not
  221. 8:22this works better, we took two different
  222. 8:24routes. The first test used the same 500
  223. 8:27production steps from the offline eval.
  224. 8:30Jev was confident enough in about seven
  225. 8:32out of 10 of them.
  226. 8:34One of those steps,
  227. 8:35uh the LLM judge had accepted 82 that
  228. 8:38should have been sent back. Each red
  229. 8:41square here is one of those.
  230. 8:43Jev successfully caught 74 of those. The
  231. 8:46blue squares are the ones that Jev would
  232. 8:48have sent back.
  233. 8:53Now, the second test is what we called
  234. 8:54shadow mode.
  235. 8:56Both judges look at every step, but only
  236. 8:59the LLM judge uh that decision counts.
  237. 9:02So we saved Jev what would have done,
  238. 9:04and we don't let it affect the actual
  239. 9:06run. That gave us 37,000 decisions to
  240. 9:09mine for insights.
  241. 9:11And in that time, there were 728 steps
  242. 9:15where a tool had clearly failed.
  243. 9:18The LLM caught
  244. 9:19294 of them. Jev caught 623.
  245. 9:24And the fake email from the beginning,
  246. 9:26it wasn't a one-off thing either. The
  247. 9:28same step ran 1,081 times, and almost
  248. 9:31every time the agent said it had
  249. 9:33scheduled an email, the LLM judge only
  250. 9:35caught it once. Jev caught that 876
  251. 9:38times.
  252. 9:42And when you have a judge, every step
  253. 9:43waits.
  254. 9:44Jev was 10 times faster and 40 times
  255. 9:47cheaper.
  256. 9:48At this scale, it is massive.
  257. 9:52[snorts]
  258. 9:53So what's next?
  259. 9:55Right now, every step goes with the same
  260. 9:58seven questions. They go into Jev along
  261. 10:00with the facts, and Jev gives us an
  262. 10:02accept, redo, or stop.
  263. 10:04But next, we're adding post-condition
  264. 10:06checks, which are questions that depend
  265. 10:09on which tool called uh was within the
  266. 10:11step.
  267. 10:12So we don't have to guess. Uh we know
  268. 10:14the step upfront because the tool tells
  269. 10:16us.
  270. 10:17If a step called let's say a send tool,
  271. 10:19we also ask whether the message was
  272. 10:21delivered.
  273. 10:22If it wrote a record, we ask whether the
  274. 10:24record exists.
  275. 10:26And those go into Jev with the same
  276. 10:27seven questions in the same call.
  277. 10:32Now what can you do today with your
  278. 10:33agents?
  279. 10:36First, pick one judgment. Somewhere in
  280. 10:38your systems there is an LLM deciding
  281. 10:40whether or not something is good. It
  282. 10:42might be reviewing code, grading an
  283. 10:43eval. Pick one of those and rewrite it
  284. 10:46as a few simple yes or no questions that
  285. 10:48can be answered from the evidence.
  286. 10:50Second is build it.
  287. 10:52This is the easy part honestly. We used
  288. 10:54Jev and ours was seven questions.
  289. 10:57Then the third, ship it in shadow mode.
  290. 10:59Run it next to what you already have,
  291. 11:01but don't let it make the decisions yet.
  292. 11:03Just save it uh and then you can analyze
  293. 11:05it later.
  294. 11:07Then read the cases and see where the
  295. 11:09two disagree. And don't overthink it,
  296. 11:11just start small.
  297. 11:14We had trusted our judge until we
  298. 11:16measured it.
  299. 11:17Measure yours. Run a second check. Run
  300. 11:20it in shadow mode and see where it
  301. 11:21disagrees. You may be surprised with
  302. 11:23what you find.
  303. 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.