Skip to content

< CollectionsPaper

LLM-as-a-Judge.

Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena

Zheng et al. · 2023 · arXiv 2306.05685

Read the paper (opens in a new tab)

A strong model can grade answers about as well as people agree with each other.

5 sections · 5 problems · 1 project

0 of 6 done

Start Next: 01 Score an Answer with an LLM Judge

Fig. 1. The judge sees each pair of answers twice, the second time swapped. A verdict that holds both ways is kept; one that follows the order is position bias, and counts as a tie.

Section 01

A model as the grader

0 of 1

The paper: A strong model can grade an answer on its own, or compare two answers to the same question.

  1. 01Score an Answer with an LLM Judgeimplement · medium

Section 02

Position bias

0 of 1

The paper: Judges favour the answer they read first, so each pair is judged twice with the order swapped, and a verdict that flips is a tie.

  1. 02Swap the Answers Before You Trust the Judgeimplement · medium

Section 03

Agreement with people

0 of 1

The paper: GPT-4 agreed with expert votes 66% of the time, 85% with ties left out, against 63% and 81% between two experts.

  1. 03Measure the Judge Against Peopleimplement · medium

Section 04

A fixed set of questions

0 of 2

Beyond the paper: A judge is one grader. Most evals also need questions with known answers, run again on every version.

  1. 04Score a Model Against a Golden Setimplement · medium
  2. 05Catch the Regression Between Two Versionsimplement · medium

Section 05

Build it

0 of 1

Beyond the paper: An eval harness of your own.

  1. 06eval-harnessproject
All collections