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
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.
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
The model calculates the probability of the next token for 'A', 'B', 'C', and 'D'. The highest probability token is selected as the prediction.
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
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
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}
}