产品精选

DeepEval 团队发布 JevEval:用 Jev 替代生成式 LLM 当评估裁判

DeepEval 团队发布 JevEval:用 Jev 替代生成式 LLM 来当评估裁判,把 LLM 评估从“生成判定”改为“结构化决策” 博客地址: https://t.co/CCLaEMmLFz...

精选理由

DeepEval 把 LLM 评估裁判从生成文本换成了 Jev 返回概率,分数可解释还稳定,做 Agent 评估的可以看看。

DeepEval 团队发布 JevEval,用 Jev 替代生成式 LLM 充当 LLM-as-a-judge,把评估拆成三个环节:人负责定义评估逻辑,Jev 返回概率分布做语义判断,DeepEval 用固定公式计算分数。它支持 Noul 命题真假、Score 有序等级、Choice 无序选择三种决策类型,例如评估 Agent 的 Tool Faithfulness 时可把幻觉检查权重设为 2,权重显式写在代码里而非提示词中。相比传统生成式裁判,0.71 这类分数不再不可解释,同一输入两次运行也能得到稳定结果。

原文 · shao__meng

DeepEval 团队发布 JevEval:用 Jev 替代生成式 LLM 来当评估裁判,把 LLM 评估从“生成判定”改为“结构化决策” 博客地址: https://t.co/CCLaEMmLFz...

DeepEval 团队发布 JevEval:用 Jev 替代生成式 LLM 来当评估裁判,把 LLM 评估从“生成判定”改为“结构化决策” 博客地址: deepeval.com/blog/introduci… 传统 LLM-as-a-judge 让一个生成式模型在一次调用里同时干三件事:定义评估逻辑、做出判断、算出分数。这带来两个问题: · 不可解释:0.71 和 0.66 的差异从何而来,无人能说清 · 不稳定:同一输入两次运行可能给出不同分数,更别提让 LLM 凭空编一个“1 到 10 的打分” JevEval 的解法:三者分离 · 评估逻辑环节:人负责,显式、可审查 · 语义判断环节:Jev 负责,返回概率分布,不生成文本 · 分数计算环节:DeepEval 固定公式负责,有确定性 三种决策类型 · Noul(命题真假):二元命题返回 P(true),适合清单式检查,如“回答中每个事实都来自工具输出”; · Score(有序等级):如“全编造 → 大部分编造 → 大部分有据 → 全部有据”,返回各等级概率后取期望位置归一化,保留相邻等级间的不确定性; · Choice(无序行为选择):给每个选项赋 0–1 的 credit,支持“不适用”(概率 ≥50% 时该题不计分),这是很实用的设计,避免因问题不适用而惩罚被评对象。 典型应用:Agent 评估 以 Tool Faithfulness 举例:天气工具返回 18°C、晴天,但 agent 的回答额外编造了“微风、湿度 40%”。传统裁判只能给个含糊的总分;JevEval 把它拆成四个显式问题,事实是否都来自工具(权重 2,因为幻觉是最重要的失败模式)、数值是否转述准确、整体有据程度、如何处理工具未提供的信息。权重和优先级写在代码里,而不是隐含在提示词中,这正是它最大的工程价值。 Sumanth @Sumanth_077 Jev as a judge for LLM evals! JevEval uses Jev as the judge for custom LLM evals instead of relying on another generative LLM for every evaluation. The idea is pretty simple. You define the exact decisions you want the evaluator to make, Jev evaluates each one and returns probabilities, and DeepEval uses those results to calculate the final score. For example, with an AI agent you can evaluate the trace itself, checking whether the agent selected the right tools, followed the expected sequence of actions, and actually completed the task. Jev handles those semantic judgments, while the scoring logic stays outside the model. That is the main difference from a normal LLM-as-a-judge setup. With a generative judge, the model often has to interpret the rubric, reason about the response, and generate the evaluation itself. With JevEval, you define the decision structure upfront. You can also assign different weights to different checks or use `strict_mode` when every requirement needs to pass. So if one part of the agent workflow matters more than another, you can reflect that directly in the scoring logic instead of leaving the entire evaluation to the judge model. Key capabilities: - Evaluate agent outputs and traces with Jev - Define custom checks as bounded decisions - Use yes/no, score, and closed-choice questions - Weight different checks or require all of them to pass - Evaluate both single-turn outputs and multi-turn conversations This is where Jev makes a lot of sense for evals. If you already know what needs to be checked, you can define those decisions upfront, let Jev handle the semantic judgment, and keep the final scoring deterministic. I’ve shared the DeepEval post in the comments. 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 8 👀 383 📊 1 ⚡