A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Level

Significance We demonstrate that a neural network automatically solves, explains, and generates university-level problems from the largest Massachusetts Institute of Technology (MIT) mathematics courses at a human level. Our methods combine three innovations: 1) using recent neural networks pretrained on text and fine-tuned on code rather than pretrained on text; 2) few-shot learning synthesizing programs that correctly solve course problems automatically; and 3) a pipeline to solve questions, explain solutions, and generate new questions indistinguishable by students from course questions. Our work solves university-level mathematics courses and improves upon state-of-the-art, increasing automatic accuracy on randomly sampled questions on a benchmark by order of magnitude. Implications for higher education include roles of artificial intelligence (AI) in automated course evaluation and content generation.

Paper

References (19)

09Evaluatinglargelanguagemodelstrainedoncode2021 · arXiv e-prints
10Scalinglanguagemodels:Methods,analysis&insightsfromtrainingGopher2021 · arXiv e-prints
117revealingwaysAIsfail:Neuralnetworkscanbedisastrouslybrittle,forgetful,andsurprisinglybadatmath2021 · IEEESpectr
12Languagemodelsarefew-shotlearners2020 · ProceedingsofAdvancesinNeural InformationProcessingSystems (

Scroll for more · 7 remaining

Similar papers

© 2026 NYSGPT2525 LLC