From Human Days to Machine Seconds: Automatically Answering and Generating Machine Learning Final Exams
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 2.
6 papers.
- 2023ARB: Advanced Reasoning Benchmark for Large Language Modelscited by 60
- 2024T-RAG: Lessons from the LLM Trenchescited by 23
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
- 2023Exploring the MIT Mathematics and EECS Curriculum Using Large Language Modelscited by 10
- 2025HardML: A Benchmark For Evaluating Data Science And Machine Learning knowledge and reasoning in AIcited by 5
- 2025Chat-of-Thought: Collaborative Multi-Agent System for Generating Domain Specific Informationcited by 0
- 2025Chat-of-Thought: Collaborative Multi-Agent System for Generating Domain Specific Information11 Jun 2025
- 2025HardML: A Benchmark For Evaluating Data Science And Machine Learning knowledge and reasoning in AI26 Jan 2025
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024T-RAG: Lessons from the LLM Trenches12 Feb 2024
- 2023ARB: Advanced Reasoning Benchmark for Large Language Models25 Jul 2023
- 2023Exploring the MIT Mathematics and EECS Curriculum Using Large Language Models15 Jun 2023
Similar, not cited
Close in wording, no citation either way
- 2025EduVidQA: Generating and Evaluating Long-form Answers to Student Questions based on Lecture Videos
- 2025Socratic Students: Teaching Language Models to Learn by Asking Questions
- 2024The Future of Learning in the Age of Generative AI: Automated Question Generation and Assessment with Large Language Models
- 2024SceMQA: A Scientific College Entrance Level Multimodal Question Answering Benchmark
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Models
- 2022Successive Prompting for Decomposing Complex Questions
- 2023Modeling and Analyzing Scorer Preferences in Short-Answer Math Questions
- 2024Exploring the Capabilities of Prompted Large Language Models in Educational and Assessment Applications