MMLU

MMLU

A multiple-choice benchmark measuring a model's knowledge across 57 subjects in the humanities, social sciences, STEM, and professional domains. Roughly 16,000 exam-sourced questions in a consistent four-option format, the field's common reference for general-knowledge evaluation.

MIT
100K – 1M
Question Answering
English
by @AIOZAI
5

Last updated: 15 days ago


MMLU

Summary

Introduction

Measuring Massive Multitask Language Understanding by Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt (ICLR 2021).

This is a massive multitask test consisting of multiple-choice questions from various branches of knowledge. The test spans subjects in the humanities, social sciences, hard sciences, and other areas that are important for some people to learn. This covers 57 tasks including elementary mathematics, US history, computer science, law, and more. To attain high accuracy on this test, models must possess extensive world knowledge and problem solving ability.

A complete list of tasks:

{'abstract_algebra', 'anatomy', 'astronomy', 'business_ethics', 'clinical_knowledge', 'college_biology', 'college_chemistry', 'college_computer_science', 'college_mathematics', 'college_medicine', 'college_physics', 'computer_security', 'conceptual_physics', 'econometrics', 'electrical_engineering', 'elementary_mathematics', 'formal_logic', 'global_facts', 'high_school_biology', 'high_school_chemistry', 'high_school_computer_science', 'high_school_european_history', 'high_school_geography', 'high_school_government_and_politics', 'high_school_macroeconomics', 'high_school_mathematics', 'high_school_microeconomics', 'high_school_physics', 'high_school_psychology', 'high_school_statistics', 'high_school_us_history', 'high_school_world_history', 'human_aging', 'human_sexuality', 'international_law', 'jurisprudence', 'logical_fallacies', 'machine_learning', 'management', 'marketing', 'medical_genetics', 'miscellaneous', 'moral_disputes', 'moral_scenarios', 'nutrition', 'philosophy', 'prehistory', 'professional_accounting', 'professional_law', 'professional_medicine', 'professional_psychology', 'public_relations', 'security_studies', 'sociology', 'us_foreign_policy', 'virology', 'world_religions' }

Supported Tasks and Leaderboards

ModelAuthorsHumanitiesSocial ScienceSTEMOtherAverage
Chinchilla (70B, few-shot)Hoffmann et al., 202263.679.354.973.967.5
Gopher (280B, few-shot)Rae et al., 202156.271.947.466.160.0
GPT-3 (175B, fine-tuned)Brown et al., 202052.563.941.457.953.9
flan-T5-xlChung et al., 202246.357.739.055.149.3
UnifiedQAKhashabi et al., 202045.656.640.254.648.9
GPT-3 (175B, few-shot)Brown et al., 202040.850.436.748.843.9
GPT-3 (6.7B, fine-tuned)Brown et al., 202042.149.235.146.943.2
flan-T5-largeChung et al., 202239.149.133.247.441.9
flan-T5-baseChung et al., 202234.038.127.637.034.2
GPT-2Radford et al., 201932.833.330.233.132.4
flan-T5-smallChung et al., 202229.930.927.529.729.5
Random BaselineN/A25.025.025.025.025.0

Dataset Structure

Data Instances

An example of a data instance is:

{
    "question": "What is the embryological origin of the hyoid bone?",
    "choices": ["The first pharyngeal arch", "The first and second pharyngeal arches", "The second pharyngeal arch", "The second and third pharyngeal arches"],
    "answer": "D"
}

Data Fields

The dataset has the following fields:

  • question: a string feature.
  • choices: a list of 4 string features.
  • answer: a ClassLabel feature.

Data Splits

  • auxiliary_train: auxiliary multiple-choice training questions from ARC, MC_TEST, OBQA, RACE, etc.
  • dev: 5 examples per subtask, meant for the few-shot setting.
  • val: validation examples drawn from the same subtasks.
  • test: there are at least 100 examples per subtask.
auxiliary_traindevvaltest
TOTAL99842285153114042

Reference

We would like to acknowledge Dan Hendrycks et al. for creating and maintaining the MMLU dataset as a valuable resource for the natural language processing and machine learning research community. For more information about the MMLU dataset and its creators, please visit the MMLU repository.

License

The dataset has been released under the MIT License.

Citation

    @article{hendryckstest2021,
      title={Measuring Massive Multitask Language Understanding},
      author={Dan Hendrycks and Collin Burns and Steven Basart and Andy Zou and Mantas Mazeika and Dawn Song and Jacob Steinhardt},
      journal={Proceedings of the International Conference on Learning Representations (ICLR)},
      year={2021}
    }

    @article{hendrycks2021ethics,
      title={Aligning AI With Shared Human Values},
      author={Dan Hendrycks and Collin Burns and Steven Basart and Andrew Critch and Jerry Li and Dawn Song and Jacob Steinhardt},
      journal={Proceedings of the International Conference on Learning Representations (ICLR)},
      year={2021}
    }