mlsanityData to 7 Oct 2026

From Human Days to Machine Seconds: Automatically Answering and Generating Machine Learning Final Exams

arXiv 2206.05442 ↗First posted 11 Jun 2022cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

A final exam in machine learning at a top institution such as MIT, Harvard, or Cornell typically takes faculty days to write, and students hours to solve. We demonstrate that large language models pass machine learning finals at a human level, on finals available online after the models were trained, and automatically generate new human-quality final exam questions in seconds. Previous work has developed program synthesis and few-shot learning methods to solve university-level problem set questions in mathematics and STEM courses. In this work, we develop and compare methods that solve final exams, which differ from problem sets in several ways: the questions are longer, have multiple parts, are more complicated, and span a broader set of topics. We curate a dataset and benchmark of questions from machine learning final exams available online and code for answering these questions and generating new questions. We show how to generate new questions from other questions and course notes. For reproducibility and future research on this final exam benchmark, we use automatic checkers for multiple-choice, numeric, and questions with expression answers. We perform ablation studies comparing zero-shot learning with few-shot learning and chain-of-thought prompting using GPT-3, OPT, Codex, and ChatGPT across machine learning topics and find that few-shot learning methods perform best. We highlight the transformative potential of language models to streamline the writing and solution of large-scale assessments, significantly reducing the workload from human days to mere machine seconds. Our results suggest that rather than banning large language models such as ChatGPT in class, instructors should teach students to harness them by asking students meta-questions about correctness, completeness, and originality of the responses generated, encouraging critical thinking in academic studies.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 14 of its 24 references that are in the map. First posted on arXiv 11 Jun 2022.

Builds on

14 of 24 references.

References · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  8. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  9. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  10. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  12. 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
2 more
  1. 2021Solving Machine Learning Problemscited by 4
  2. 2021Asking Questions Like Educational Experts: Automatically Generating Question-Answer Pairs on Real-World Examination Datacited by 4

Built on by

Cited by year

Citing papers per year: 2023: 2; 2024: 2; 2025: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025EduVidQA: Generating and Evaluating Long-form Answers to Student Questions based on Lecture Videos
  2. 2025Socratic Students: Teaching Language Models to Learn by Asking Questions
  3. 2024The Future of Learning in the Age of Generative AI: Automated Question Generation and Assessment with Large Language Models
  4. 2024SceMQA: A Scientific College Entrance Level Multimodal Question Answering Benchmark
  5. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Models
  6. 2022Successive Prompting for Decomposing Complex Questions
  7. 2023Modeling and Analyzing Scorer Preferences in Short-Answer Math Questions
  8. 2024Exploring the Capabilities of Prompted Large Language Models in Educational and Assessment Applications