MMLU (Measuring Massive Multitask Language Understanding) is a benchmark of four-choice questions across 57 subjects, including mathematics, history, law, and medicine, that measures how broad a language model's knowledge is and how well it can use it. Hendrycks and colleagues at the University of California, Berkeley published it in 2020 (ICLR 2021). It contains about 16,000 questions, and the metric is accuracy.
It was created because models quickly reached human performance on sentence-understanding benchmarks such as GLUE and SuperGLUE. Meanwhile, how much specialized knowledge large models pretrained on Wikipedia and books had acquired went unmeasured. MMLU is therefore designed as follows.
- Cover a wide range of subjects people study: It includes subjects of varying difficulty, from elementary arithmetic up to graduate entrance exams and professional licensing exams for doctors and lawyers.
- Provide no training data: Only five example questions per subject are given, and models must answer using knowledge acquired during pretraining alone (zero-shot or few-shot). This resembles how people are evaluated with exams.
- Use four choices to simplify scoring: Scoring generated free-text answers is difficult, so models choose one of A–D and are compared by accuracy.
MMLU measures not "Can the model solve tasks it learned from training data?" but "Can it apply knowledge gained from text read during pretraining to unseen questions?" For this reason, it became a leading metric for comparing the performance of large language models with a single number from GPT-3 onward.

