AI Engineer DojoAll lessons  Courses
Free lesson · The AI Evaluation Engineer · Lesson 1

Is the New Model Better, or Is It Noise?

Your product runs on Llama-2 13B. A teammate tested the 70B version on a standard benchmark and it scored higher: 6.86 against 6.65. The 70B model has more than five times as many parameters, so it costs several times as much to run. Your job is to decide whether that score difference is evidence or noise, and what you'd need to know to be sure.

How this lesson works

You'll commit to a judgment before you see the analysis, work through small numbers by hand, then run the full analysis yourself. You'll probably be surprised at least once. Plan on about an hour, with a calculator or phone for Steps 2 and 3.

The data

MT-Bench is a set of 80 questions in eight categories (writing, roleplay, reasoning, math, coding, extraction, STEM and humanities), each with a follow-up question, so 160 items in all. Researchers at LMSYS ran 34 chatbots on it and had GPT-4 score every answer from 1 to 10. Every model answered the same 160 items. The scores here are exactly as published.

One caution before you start: every score in this lesson comes from GPT-4 acting as a judge. Whether that judge can be trusted is a separate question, covered in the lesson Can You Trust an AI Judge? Here, take the scores as given and ask a different question: even if every score is fair, does the difference mean anything?

Source: Zheng et al., 2023, "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena." Grades published by LMSYS with FastChat (huggingface.co/spaces/lmsys/mt-bench).

Step 1

Your gut call

Here are the two numbers your teammate brought you, and, while you're at it, part of the MT-Bench leaderboard.

ModelAverage score (160 items)
Llama-2 70B chat6.86
Llama-2 13B chat (what you run today)6.65
Commit first
Is 70B's 0.21-point lead a real improvement?
How sure are you that 70B would score higher if you tested on more questions like these? %
How likely is it that tulu-30b, first on the leaderboard above, is truly the best of those seven? %

Data: MT-Bench single-answer GPT-4 grades, published by LMSYS with FastChat. Zheng, L. et al. (2023). Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. NeurIPS Datasets and Benchmarks.