FoundationsChecking saved investigationReading browser-local route memory before showing a continuation.

Foundation Lab

Model-Graded Evaluations

Enables scalable safety testing without human bottleneck

Concept 92 of 100Scaling & AlignmentPhase 12
#92LLM-as-JudgeScaling & Alignment
key equation\hat{\mu} = \frac{1}{n} \sum_i E(x_i, y_i; R)

Selected Foundation Object

Keep the equation fixed; move through the evidence.

Concept 92 of 100LLM-as-JudgeScaling & Alignment / Phase 12: Advanced alignment & safety research
Current question

Rubric defines what "good" means: helpfulness, truthfulness, safety

\hat{\mu} = \frac{1}{n} \sum_i E(x_i, y_i; R)
PredictionCommit before the demo.

Ask what should change when the equation is manipulated, then let the visualization test that expectation.

EvidenceCompare local witness and source.

Use the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.

InvariantName what survives notation changes.

The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.

Next moveContinue through the atlas.

Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.

Why It Matters for Modern Models

  • Enables scalable safety testing without human bottleneck
  • Fast iteration loops for alignment research
  • Powers modern benchmarks: Chatbot Arena, AlpacaEval

What Tutorials Skip

What is still poorly explained in textbooks and papers:

  • Rubric defines what "good" means: helpfulness, truthfulness, safety
  • Calibration: does model-graded score match human judgment?
  • Position bias: models prefer first option—randomize order

Interactive Visualization

Core Math (Optional Deep Dive)

If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.

Key Equation
μ^=1niE(xi,yi;R)\hat{\mu} = \frac{1}{n} \sum_i E(x_i, y_i; R)

Evaluator model EE scores outputs against rubric RR:

s=E(x,y;R)s = E(x, y; R)

Aggregate:

μ^=1ni=1nsi\hat{\mu} = \frac{1}{n} \sum_{i=1}^n s_i

Validate by correlating sis_i with human ratings. Track regressions across model versions.

Canonical Papers

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

Zheng et al.2023NeurIPS
Read paper →

Connections

Next Moves

Choose the next question to carry this object forward.