arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.05442cs.LG
收藏

从人类的数天到机器的数秒:自动解答与生成机器学习期末考试题

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

MIT(麻省理工学院);Columbia University(哥伦比亚大学);Boston University(波士顿大学);Harvard University(哈佛大学);Cornell University(康奈尔大学)
Iddo Drori, Sarah J. Zhang, Reece Shuttleworth, Sarah Zhang, Keith Tyser, Zad Chin, Pedro Lantigua, Saisamrit Surbehera, Gregory Hunter, Derek Austin, Leonard T… 展开作者

Iddo Drori, Sarah J. Zhang, Reece Shuttleworth, Sarah Zhang, Keith Tyser, Zad Chin, Pedro Lantigua, Saisamrit Surbehera, Gregory Hunter, Derek Austin, Leonard Tang, Yann Hicke, Sage Simhon, Sathwik Karnik, Darnell Granberry, Madeleine Udell

AI总结:

本文展示了大型语言模型能以人类水平解答机器学习期末考试题并在数秒内生成新题,构建了相关数据集与基准,通过消融实验发现少样本学习方法表现最佳,并建议教师引导学生利用模型进行批判性思考。

摘要:

在MIT、Harvard或Cornell等顶尖机构,编写一门机器学习期末考试通常需要教职员工数天时间,而学生解答则需要数小时。我们展示了大型语言模型能够以人类水平通过机器学习期末考试,这些考试是在模型训练完成后才在网络上公开的,并且能在数秒内自动生成达到人类水平的新期末考试题。先前的工作已开发出程序合成和少样本学习方法,用于解答数学和STEM课程中的大学级别习题集问题。在本研究中,我们开发并比较了解答期末考试的方法,期末考试与习题集在几个方面有所不同:题目更长、包含多个部分、更复杂,并且涵盖更广泛的主题。我们整理了一个包含网络上公开的机器学习期末考试题目的数据集和基准,并编写了用于解答这些题目和生成新题目的代码。我们展示了如何从其他题目和课程笔记中生成新题目。为了确保可复现性以及未来在该期末考试基准上的研究,我们对选择题、数字题以及表达式答案题使用了自动检查器。我们进行了消融研究,比较了使用GPT-3、OPT、Codex和ChatGPT在机器学习各个主题上的零样本学习、少样本学习和思维链提示,发现少样本学习方法表现最佳。我们强调了语言模型在简化大规模评估的编写和解答方面的变革潜力,能将工作量从人类的数天显著减少到机器的数秒。我们的结果表明,与其在课堂上禁止使用诸如ChatGPT之类的大型语言模型,教师更应该教导学生驾驭它们,要求学生对所生成答案的正确性、完整性和原创性提出元问题,从而鼓励在学术研究中进行批判性思考。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑