ICLR 2021

Measuring Massive Multitask Language Understanding (MMLU)

By Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, Jacob Steinhardt

UC Berkeley • Columbia University • UChicago • UIUC

TL;DR

The authors introduce MMLU, a massive multitask benchmark spanning 57 subjects across STEM, humanities, and social sciences. It shifts evaluation from simple linguistic tasks to comprehensive academic and professional knowledge, exposing critical gaps in model reasoning and self-calibration.

57 Academic Subjects 15,908 MCQ Questions 24% Calibration Gap Emergent Capability Evaluation

Why This Matters

In 2020, Natural Language Processing (NLP) was experiencing a crisis of success. Benchmarks like GLUE and SuperGLUE, which were designed to measure linguistic capabilities, were being "solved" by transformer models almost as fast as they were being introduced.

However, these models remained fundamentally brittle. They excelled at exploiting statistical shortcuts but struggled to apply real-world knowledge or logical reasoning. There was a profound disconnect: models trained on massive internet corpora had read about everything, but existing benchmarks only tested them on simple reading comprehension or basic grammar.

To bridge this gap, the authors proposed a pivot from testing linguistic toys to measuring the breadth and depth of a model's academic and professional understanding.

The Big Idea

Instead of fine-tuning models on specific datasets—which often teaches them to exploit spurious cues—the authors designed MMLU to evaluate models exclusively in zero-shot and few-shot settings. This mirrors how we test humans: we don't give a student 10,000 practice questions right before an exam; we expect them to apply prior knowledge to novel questions.

The benchmark comprises 57 subjects across four major domains:

STEM

Physics, College Math, Computer Security, etc.

Humanities

Philosophy, US History, Jurisprudence, World Religions, etc.

Social Sciences

Psychology, Sociology, US Foreign Policy, Macroeconomics, etc.

Other (Professional)

Professional Medicine, Accounting, Business Ethics, etc.

How It Works

To evaluate a model, the benchmark formats multiple-choice questions as a text prompt. For few-shot evaluation, the context is prepended with up to 5 complete examples of questions and answers from the same subject. The model's task is to output the correct token: A, B, C, or D.

Interactive Prompt Builder

See what the model actually receives
How inference is measured:

The model calculates the probability of the next token for 'A', 'B', 'C', and 'D'. The highest probability token is selected as the prediction.

Prompt Input Context zero-shot

Benchmark Results

When the paper was released in early 2021, the results were a wake-up call. Most language models of the era performed at or near random-chance accuracy (25%) across the benchmark.

Only the very largest models, such as GPT-3 (175B), showed signs of life, achieving an average of 43.9%. While this was a massive leap over random chance, it remained far below the estimated human expert performance of 89.8%.

Model Performance Explorer

100% (Expert Limit)
75%
50%
25% (Random Chance)
25.0%
Random Chance
27.9%
RoBERTa
32.4%
GPT-2
43.9%
GPT-3 (175B)
48.9%
UnifiedQA
89.8%
Human Expert
Note: GPT-3 is evaluated in a 5-shot setting, while UnifiedQA is fine-tuned and tested under distribution shift.

Model Calibration

A critical finding of the paper is that models are highly miscalibrated. In an ideal world, if a model outputs an answer with 90% confidence, it should be correct 90% of the time.

On MMLU, GPT-3's confidence was only weakly related to its actual accuracy. In the zero-shot setting, the difference between its accuracy and confidence reached up to 24% on some subjects. The model "doesn't know what it doesn't know."

Calibration Simulator

Simulate overconfidence drift
Perfectly Calibrated Highly Overconfident
Current Simulation Metrics:
Max Calibration Gap: 24%
RMS Calibration Error: 19.4%
Notice how increasing the overconfidence factor moves the subjects horizontally to the right (high confidence) while their actual accuracy (vertical position) remains low.
Perfect Calibration (y = x) Confidence (%) → ↑ Accuracy (%)
Formal Logic (Acc: 35%, Conf: 59%)
Elementary Math (Acc: 29.9%, Conf: 53.9%)
Marketing (Acc: 58%, Conf: 72%)
Formal Logic Elementary Math Marketing

Limitations & Open Questions

While MMLU remains a golden standard for LLM evaluation, the authors explicitly outlined several core limitations:

  • Lack of Multimodal Understanding: Many academic disciplines rely heavily on diagrams, charts, and spatial reasoning (e.g., cell pathways in biology, geometric proofs). MMLU is strictly text-only.
  • Data Contamination: Because models are trained on raw internet scrapes, there is an ongoing risk that the test questions are leaked into the pretraining corpus.
  • Declarative vs. Procedural Knowledge: Models are highly capable of reciting facts (declarative), but fail at applying step-by-step logic (procedural), such as long-form mathematics or coding tasks.

Glossary

Zero-Shot Evaluation

Evaluating a model's performance on a task without giving it any prior examples of the task within the prompt context. The model must rely entirely on its pre-existing parameters.

Few-Shot Evaluation

Providing a small number of complete input-output pairs (usually 1 to 5) directly inside the prompt context before the target question, allowing the model to adapt to the format and task on the fly.

Calibration

The alignment between a model's self-reported probability of correctness (confidence) and its actual accuracy rate. Well-calibrated models are highly confident when right and uncertain when wrong.

Cite this Paper

@article{hendrycks2020measuring,
  title={Measuring Massive Multitask Language Understanding},
  author={Hendrycks, Dan and Burns, Collin and Basart, Steven and Zou, Andy and Mazeika, Mantas and Song, Dawn and Steinhardt, Jacob},
  journal={arXiv preprint arXiv:2009.03300},
  year={2020}
}
Made with Flash Papers — make your own