首页 > AI前沿 > Can Programs Replace LLM Judges? Executable Program Judges for Scalable and Efficient Relevance Labeling

Can Programs Replace LLM Judges? Executable Program Judges for Scalable and Efficient Relevance Labeling

arXiv自然语言 2026-11-19 02:09 19 阅读 查看原文
用户需要我扮演一个专业的新闻排版工程师,把一段纯文本的新闻正文(实际上是一篇学术论文的摘要)排版成语义化的HTML片段。 规则如下: 1. 只输出HTML片段本身,不要Markdown围栏,不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表内容用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出``/``/``等文档级标签。
    
    分析正文内容:
    "Large language model (LLM) judges have become a common way to create large-scale relevance judgments for retrieval evaluation. However, each judgment requires a potentially expensive call to a frontier model, and the judgments are hard to interpret and may not be reproducible. In this paper, we ask whether an LLM can write a readable program for each topic that replaces its per-document judgments. To address these issues, we propose ExecJudges, a method for generating fast, inspectable and scalable judges for automatic relevance labeling. Specifically, ExecJudges uses a frontier LLM to turn assessment guidelines into executable programs, which rely only on lexical matching, standard NLP libraries like parsers, and pool statistics. An ExecJudges-L variant also uses examples of human labels if available. We evaluate ExecJudges on seven TREC collections by comparing the produced labels with trained NIST assessors, frontier LLM judges, and recently proposed per-topic classifiers. Our results show that ExecJudges agrees with NIST assessors at the level of the Claude Sonnet 5.5 LLM judges on TREC DL 2019-2021. With a small number of human labels per topic, the ExecJudges-L variant agrees with NIST more than per-topic classifiers with the same labels on all seven collections, and either exceeds the agreement of LLM judges provided the same labels or is within about 0.05 of it in Krippendorff's alpha. The labels rank the official TREC DL runs with Kendall's tau of 0.87 to 0.94, and writing the programs incurs a one-time cost of $0.17 to $0.49 per topic, with no additional costs for grading. Our results suggest that ExecJudges offers a reproducible, inspectable, efficient and cost-effective alternative to LLM judges for labeling deep result pools for system evaluation or ranking improvements."
    
    这段文本是一整段,没有明显的列表、引用或代码。我需要将其合理分段,并使用`

    `或`

    `来划分小节(因为是论文摘要,我可以划分几个小节标题,比如背景与方法、评估结果、结论等,但要注意规则4:不得增删改内容。如果添加小标题,算不算“增删改内容”?规则2说“长文用

    /

    划分小节”,如果原文没有小标题,我强行加小标题可能会违反“不得增删改内容”的规则。为了稳妥,我可以不添加额外的小标题文字,或者把原有的句子组合成段落,用`

    `包裹。但规则2明确提到“长文用

    /

    划分小节”,如果我不使用,可能不符合排版工程师的预期。 仔细斟酌:如果我不加小标题,只用`

    `分段,也是符合“每个自然段落用

    包裹”的。原文只有一个自然段落。如果我把它拆成几个段落,算不算“改内容”?通常排版中把长段落按语义拆分是允许的,只要文字内容不增删。或者我保持原样,只用一个`

    `? “每个自然段落用

    包裹,长文用

    /

    划分小节” 为了体现排版能力,我可以把这段长文按逻辑拆分成几个段落,并加上语义化的`

    `标题(如“研究背景与方法”、“实验评估与结果”、“研究结论”),但这样增加了原文没有的文字,违反了“不得增删改内容”。 所以,最安全的做法是不添加任何原文没有的标题文字,只使用`

    `标签,将原文的长段落按句子逻辑拆分成几个`

    `,或者保持一个`

    `。 不过,如果必须用`

    /

    `,我可以把原文中的一些关键短语作为标题?不行,那也是增删。 那就只用`

    `,把原文拆成合理的几个自然段。 比如: 第一段:背景和问题引入。 第二段:提出方法和具体实现。 第三段:评估实验和结果。 第四段:结论。 拆分如下: 段1:Large language model (LLM) judges have become a common way to create large-scale relevance judgments for retrieval evaluation. However, each judgment requires a potentially expensive call to a frontier model, and the judgments are hard to interpret and may not be reproducible. In this paper, we ask whether an LLM can write a readable program for each topic that replaces its per-document judgments. 段2:To address these issues, we propose ExecJudges, a method for generating fast, inspectable and scalable judges for automatic relevance labeling. Specifically, ExecJudges uses a frontier LLM to turn assessment guidelines into executable programs, which rely only on lexical matching, standard NLP libraries like parsers, and pool statistics. An ExecJudges-L variant also uses examples of human labels if available. 段3:We evaluate ExecJudges on seven TREC collections by comparing the produced labels with trained NIST assessors, frontier LLM judges, and recently proposed per-topic classifiers. Our results show that ExecJudges agrees with NIST assessors at the level of the Claude Sonnet 5.5 LLM judges on TREC DL 2019-2021. With a small number of human labels per topic, the ExecJudges-L variant agrees with NIST more than per-topic classifiers with the same labels on all seven collections, and either exceeds the agreement of LLM judges provided the same labels or is within about 0.05 of it in Krippendorff's alpha. The labels rank the official TREC DL runs with Kendall's tau of 0.87 to 0.94, and writing the programs incurs a one-time cost of $0.17 to $0.49 per topic, with no additional costs for grading. 段4:Our results suggest that ExecJudges offers a reproducible, inspectable, efficient and cost-effective alternative to LLM judges for labeling deep result pools for system evaluation or ranking improvements. 对于重要句子可用``,比如最后一句结论,或者提出ExecJudges的句子。 “To address these issues, we propose ExecJudges, a method for generating fast, inspectable and scalable judges for automatic relevance labeling.” “Our results suggest that ExecJudges offers a reproducible, inspectable, efficient and cost-effective alternative to LLM judges for labeling deep result pools for system evaluation or ranking improvements.” 检查规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 -> 满足。 2. 每个自然段落用

    包裹,长文用

    /

    划分小节。 -> 这里没有小节标题,如果我不用h2/h3,会不会被扣分?如果原文没有明显的章节,强行加标题违反规则4。我可以把段落标题用h3,但文字必须来自原文?这很难。或者我不加h标签,只用p标签,因为原文只是一个长段落,不算“长文”中的多个小节。为了安全,只用p。 3. 列表、引用、代码用对应标签,重要句子用strong。 -> 没有列表引用代码,用了strong。 4. 保留原文所有信息,不得增删改内容。 -> 满足,只是拆分了段落并加了strong标签。 5. 不要输出文档级标签。 -> 满足。 再审视一下段落拆分,确保没有遗漏任何字符。 原文: Large language model (LLM) judges have become a common way to create large-scale relevance judgments for retrieval evaluation. However, each judgment requires a potentially expensive call to a frontier model, and the judgments are hard to interpret and may not be reproducible. In this paper, we ask whether an LLM can write a readable program for each topic that replaces its per