---
title: "LLM-as-a-Judge — 由LLM担当评判者"
source: "https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85"
wiki: "systems-analysis.info/int"
article: "LLM-as-a-Judge_—_由LLM担当评判者"
language: "zh"
categories:
  - "Category:Chinese"
  - "Category:Large language models"
  - "Category:LLM evaluation"
  - "Category:Machine learning"
revision_id: 3568
wiki_created_at: 2026-09-06T23:22:45Z
wiki_modified_at: 2026-09-06T23:22:45Z
downloaded_at: 2026-09-07T22:57:38Z
---

# LLM-as-a-Judge — 由LLM担当评判者

**LLM-as-a-Judge** (意为“**由LLM担当评判者**”) 是一种机器学习方法，即利用一个大型语言模型 (LLM) 根据预设标准来评估另一个人工智能模型生成的文本质量<sup>[\[1\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-evidentlyai_guide-1)</sup>。其核心思想是让AI本身扮演“评判者”的角色，依据特定参数来评价模型的回答。

该方法自2023年起开始流行，成为一种用于评估开放式文本生成任务的实用替代方案，取代了成本高昂的人工评估。传统指标（如 BLEU 或 ROUGE）难以有效评估自由形式的文本回答，而为大规模任务聘请人类评估员又不可行。LLM-as-a-Judge 解决了这一问题：语言模型自身取代了人类，通过接收待评估的回答以及包含评估标准的提示词指令来评估文本质量<sup>[\[2\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-zheng2023_judging-2)</sup>。

## 使用LLM的评估方法

LLM-as-a-Judge 方法可应用于多种评估场景和形式。

- **配对比较** (*pairwise comparison*): 这是最常用的方法。评判模型会收到针对同一查询的两个回答（回答A，回答B），并需要根据给定的标准判断哪个更好，或者宣布平局。
- **基于标准的直接评分**: LLM评估器审阅单个生成的回答，并根据特定属性（如“准确性”、“清晰度”、“礼貌程度”）按评分标准（例如1到10分）为其打分。
- **基于参考信息的评估**: 在评判模型的提示词中加入原始上下文或“黄金”标准答案，并要求其检查生成的文本是否与之相符，例如用于检测幻觉<sup>[\[2\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-zheng2023_judging-2)</sup>。

## 与人类评估的有效性及可比性

为验证LLM-as-a-Judge方法本身的质量，其评判结果会与人类专家的评估进行比较。 2023年，加州大学伯克利分校的LMSYS团队在其论文《Judging LLM-as-a-Judge》中对此方法进行了最全面的分析。研究者们系统地比较了GPT-4模型（作为评判者）的决策与人类在MT-Bench基准测试中的大量对话任务上的偏好。

该研究的主要结论是：强大的LLM（如GPT-4）作为评判者，其评估结果与人类评估的**符合率达到约80%**，这与人类评估员之间的一致性水平相当。换言之，在两位人类专家意见一致的情况下，GPT-4评判模型在80%的情况下会做出相同的决定。这一结果实际上将LLM评估的一致性提升到了“人类”水平，并证明了其在规模化评估中的实用性<sup>[\[2\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-zheng2023_judging-2)</sup>。

## 该方法的优势

与传统方法相比，LLM-as-a-Judge 方法具有多项重要优势。

- **与人类评估相当**: 在正确配置下，LLM评估的结果接近人类专家的水平，使其成为一种可靠的替代方案。
- **可扩展性与速度**: 一个配置好的LLM评判者能够全天候评估数千个回答，几乎瞬时给出结果，这比人工标注快得多，成本也低得多。
- **灵活性与可配置性**: 只需在提示词中更改标准的文本描述，就可以让LLM学会评估文本的几乎任何方面——从事实准确性到情感色彩。
- **不依赖参考答案**: 与ROUGE或BLEU等指标不同，LLM评估器不需要预先设定的“正确答案”进行比较。它可以在没有参考文本的情况下工作，这对于开放式对话任务非常有价值。
- **可解释性**: 可以要求评判模型以文本形式解释其决策，与自动指标的“黑箱”相比，这提供了更高的透明度<sup>[\[3\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-survey_2024-3)</sup>。

## 该方法的局限与问题

尽管LLM-as-a-Judge方法取得了成功，但它也存在一些不足之处。

- **可靠性不足**: LLM的评估质量很高，但并非完美。如果指令不够清晰，或者模型遇到未曾考虑过的情况，其判断可能会出错或不一致。
- **偏见风险** (*bias*):
  - **位置效应**: 模型可能无意识地偏好列表中第一个或最后一个回答。
  - **偏向冗长**: 模型倾向于认为更长、更详细的回答更好，即使其中只是重复信息。
  - **自我偏爱** (*self-enhancement bias*): 评判模型可能会给由其自身或同系列模型生成的回答打出更高的分数（例如，GPT-4会更高地评价GPT-3.5的回答）<sup>[\[2\]](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_note-zheng2023_judging-2)</sup>。

<!-- -->

- **评估事实与逻辑的困难**: LLM评判者有时会错误地评估数学或逻辑问题，即使它自己有能力解决这些问题。这种情况发生于模型被提供给它的答案中的错误所“感染”，无法客观地看待任务。
- **数据隐私与安全**: 使用第三方API（如GPT-4）进行评估意味着机密文本会被发送给外部服务提供商，这带来了数据泄露的风险。

为缓解这些问题，开发者们采用多种技术：如随机化回答顺序、利用包含人类评估的数据集进行校准，以及采用混合策略，即结合使用LLM评判者和其他方法。

## 替代及混合方法

LLM-as-a-Judge 常与其他评估方法结合使用。

- **人工评估**: 这仍然是“黄金标准”，用于校准和定期验证LLM评判者。
- **自动指标**: 经典指标（ROUGE、BLEU、BERTScore）对于有明确参考答案的任务仍然很有用。
- **专门的评估模型**: 训练小型、快速且成本低廉的模型来执行常规评估任务，而强大的LLM评判者则作为复杂情况下的“最高仲裁者”（即 *trust or escalate* 方法）。

## 外部链接

- <a href="https://lmsys.org/blog/2023-06-22-llm-judge/" class="external text" rel="nofollow">LMSYS 发布的文章《Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena》</a>
- <a href="https://www.evidentlyai.com/llm-guide/llm-as-a-judge" class="external text" rel="nofollow">Evidently AI 发布的 LLM-as-a-Judge 详细使用指南</a>

## 参考文献

- Zheng, L. et al. (2023). *Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena*. <a href="https://arxiv.org/abs/2306.05685" class="external text" rel="nofollow">arXiv:2306.05685</a>.
- Chiang, W.-L. et al. (2024). *Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preference*. <a href="https://arxiv.org/abs/2403.04132" class="external text" rel="nofollow">arXiv:2403.04132</a>.
- Huang, H. et al. (2024). *An Empirical Study of LLM-as-a-Judge for LLM Evaluation: Fine-Tuned Judge Model Is Not a General Substitute for GPT-4*. <a href="https://arxiv.org/abs/2403.02839" class="external text" rel="nofollow">arXiv:2403.02839</a>.
- Jung, J. et al. (2024). *Trust or Escalate: LLM Judges with Provable Guarantees for Human Agreement*. <a href="https://arxiv.org/abs/2407.18370" class="external text" rel="nofollow">arXiv:2407.18370</a>.
- Shi, L. et al. (2024). *Judging the Judges: A Systematic Study of Position Bias in LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2406.07791" class="external text" rel="nofollow">arXiv:2406.07791</a>.
- Wataoka, K. et al. (2024). *Self-Preference Bias in LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2410.21819" class="external text" rel="nofollow">arXiv:2410.21819</a>.
- Chen, G. H. et al. (2024). *Humans or LLMs as the Judge? A Study on Judgement Bias*. <a href="https://aclanthology.org/2024.emnlp-main.474" class="external text" rel="nofollow">EMNLP 2024</a>.
- Li, X. et al. (2024). *LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methods*. <a href="https://arxiv.org/abs/2412.05579" class="external text" rel="nofollow">arXiv:2412.05579</a>.
- Wang, Y. et al. (2024). *Evaluating Alignment and Vulnerabilities in LLMs-as-Judges*. <a href="https://arxiv.org/abs/2406.12624" class="external text" rel="nofollow">arXiv:2406.12624</a>.
- Li, S. et al. (2025). *LLMs Cannot Reliably Judge (Yet?): A Comprehensive Assessment on the Robustness of LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2506.09443" class="external text" rel="nofollow">arXiv:2506.09443</a>.
- Wang, T. et al. (2025). *Evaluating Scoring Bias in LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2506.22316" class="external text" rel="nofollow">arXiv:2506.22316</a>.
- Li, Y. et al. (2024). *Justice or Prejudice? Quantifying Biases in LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2410.02736" class="external text" rel="nofollow">arXiv:2410.02736</a>.
- Xu, Y. et al. (2024). *Opportunities and Challenges of LLM-as-a-Judge*. <a href="https://arxiv.org/abs/2411.16594" class="external text" rel="nofollow">arXiv:2411.16594</a>.
- Zhuang, S. et al. (2024). *MT-Bench-101: A Fine-Grained Benchmark for Evaluating Large Language Models in Multi-Turn Dialogues*. <a href="https://arxiv.org/abs/2402.14762" class="external text" rel="nofollow">arXiv:2402.14762</a>.
- Li, C. et al. (2025). *RobustJudge: A Fully Automated Framework for Assessing the Robustness of LLM-as-a-Judge Systems*. <a href="https://arxiv.org/abs/2506.09443" class="external text" rel="nofollow">arXiv:2506.09443</a>.

## 注释

1.  <span id="cite_note-evidentlyai_guide-1">[↑](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-evidentlyai_guide_1-0) “LLM-as-a-judge: a complete guide to using LLMs for evaluations”. *Evidently AI*. <a href="https://www.evidentlyai.com/llm-guide/llm-as-a-judge" class="external autonumber" rel="nofollow">[1]</a></span>
2.  <span id="cite_note-zheng2023_judging-2">↑ <sup>[2.0](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-zheng2023_judging_2-0)</sup> <sup>[2.1](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-zheng2023_judging_2-1)</sup> <sup>[2.2](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-zheng2023_judging_2-2)</sup> <sup>[2.3](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-zheng2023_judging_2-3)</sup> Zheng, L. et al. “Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena”. *arXiv:2306.05685*, 2023. <a href="https://ar5iv.labs.arxiv.org/html/2306.05685" class="external autonumber" rel="nofollow">[2]</a></span>
3.  <span id="cite_note-survey_2024-3">[↑](https://systems-analysis.info/int/LLM-as-a-Judge_%E2%80%94_%E7%94%B1LLM%E6%8B%85%E5%BD%93%E8%AF%84%E5%88%A4%E8%80%85#cite_ref-survey_2024_3-0) Li, X. et al. “LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methods”. *arXiv:2412.05579*, 2024. <a href="https://arxiv.org/abs/2412.05579" class="external autonumber" rel="nofollow">[3]</a></span>
