A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Level
Not on the map. Why?
Cited by 22 in LLM reasoning, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
We demonstrate that a neural network pre-trained on text and fine-tuned on code solves mathematics course problems, explains solutions, and generates new questions at a human level. We automatically synthesize programs using few-shot learning and OpenAI's Codex transformer and execute them to solve course problems at 81% automatic accuracy. We curate a new dataset of questions from MIT's largest mathematics courses (Single Variable and Multivariable Calculus, Differential Equations, Introduction to Probability and Statistics, Linear Algebra, and Mathematics for Computer Science) and Columbia University's Computational Linear Algebra. We solve questions from a MATH dataset (on Prealgebra, Algebra, Counting and Probability, Intermediate Algebra, Number Theory, and Precalculus), the latest benchmark of advanced mathematics problems designed to assess mathematical reasoning. We randomly sample questions and generate solutions with multiple modalities, including numbers, equations, and plots. The latest GPT-3 language model pre-trained on text automatically solves only 18.8% of these university questions using zero-shot learning and 30.8% using few-shot learning and the most recent chain of thought prompting. In contrast, program synthesis with few-shot learning using Codex fine-tuned on code generates programs that automatically solve 81% of these questions. Our approach improves the previous state-of-the-art automatic solution accuracy on the benchmark topics from 8.8% to 81.1%. We perform a survey to evaluate the quality and difficulty of generated questions. This work is the first to automatically solve university-level mathematics course questions at a human level and the first work to explain and generate university-level mathematics course questions at scale, a milestone for higher education.
Key facts. Cited by 96 papers in the map (data through 14 Oct 2026). Builds on 4 of its 19 references that are in the map. First posted on arXiv 31 Dec 2021.
Builds on
4 of 19 references.
References · 4
- 2021Generate & Rank: A Multi-task Framework for Math Word Problemscited by 82
- 2020Semantically-Aligned Universal Tree-Structured Solver for Math Word Problemscited by 35
- 2021MWP-BERT: Numeracy-Augmented Pre-training for Math Word Problem Solvingcited by 32
- 2020Graph-to-Tree Neural Networks for Learning Structured Input-Output Translation with Applications to Semantic Parsing and Math Word Problemcited by 31
Built on by
Citing papers per year: 2022: 17; 2023: 40; 2024: 20; 2025: 16; 2026: 3.
96 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023Augmented Language Models: a Surveycited by 403
- 2022Using cognitive psychology to understand GPT-3cited by 398
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 284
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 240
38 more
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 168
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 136
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 132
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 129
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
- 2023Practical and Ethical Challenges of Large Language Models in Education: A Systematic Scoping Reviewcited by 83
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learningcited by 83
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 79
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2023MathChat: Converse to Tackle Challenging Math Problems with LLM Agentscited by 68
- 2023Are Large Language Models Really Good Logical Reasoners? A Comprehensive Evaluation and Beyondcited by 65
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 60
- 2023Meta-in-context learning in large language modelscited by 59
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPTcited by 38
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoningcited by 34
- 2024AutoVFX: Physically Realistic Video Editing from Natural Language Instructionscited by 27
- 2023Lyra: Orchestrating Dual Correction in Automated Theorem Provingcited by 25
- 2022Are Deep Neural Networks SMARTer than Second Graders?cited by 24
- 2023Mathematical Language Models: A Surveycited by 24
- 2023Can ChatGPT be used to generate scientific hypotheses?cited by 21
- 2023ChatGPT Participates in a Computer Science Examcited by 19
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2023Exploring the Robustness of Large Language Models for Solving Programming Problemscited by 16
- 2023Using Large Language Model to Solve and Explain Physics Word Problems Approaching Human Levelcited by 16
- 2025ORFS-agent: Tool-Using Agents for Chip Design Optimizationcited by 14
- 2023When Automated Assessment Meets Automated Content Generation: Examining Text Quality in the Era of GPTscited by 13
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentivescited by 13
- 2023Mathematics, word problems, common sense, and artificial intelligencecited by 12
- 2023Design of Chain-of-Thought in Math Problem Solvingcited by 12
- 2024Mathify: Evaluating Large Language Models on Mathematical Problem Solving Taskscited by 12
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Modelscited by 12
- 2023World Models for Math Story Problemscited by 11
- 2023OlaGPT: Empowering LLMs With Human-like Problem-Solving Abilitiescited by 10
50 most cited of 96 All 96 (JSON)
- 2026Position: Ideas Should be the Center of Machine Learning Research14 May 2026
- 2026Measuring Representation Robustness in Large Language Models for Geometry3 Apr 2026
- 2026Exploring the Meta-level Reasoning of Large Language Models via a Tool-based Multi-hop Tabular Question Answering Task12 Jan 2026
- 2025PhysTalk: Language-driven Real-time Physics in 3D Gaussian Scenes31 Dec 2025
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaboration27 Nov 2025
- 2025Computational Blueprints: Generating Isomorphic Mathematics Problems with Large Language Models11 Nov 2025
- 2025Understanding the Effects of Domain Finetuning on LLMs10 Oct 2025
- 2025REAMS: Reasoning Enhanced Algorithm for Maths Solving16 Sep 2025
- 2025Discovering New Theorems via LLMs with In-Context Proof Learning in Lean16 Sep 2025
- 2025Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO21 Aug 2025
- 2025Can LLMs Generate High-Quality Task-Specific Conversations?4 Aug 2025
- 2025A Survey of Large Language Models in Discipline-specific Research: Challenges, Methods and Opportunities11 Jul 2025
38 more
- 2025ORFS-agent: Tool-Using Agents for Chip Design Optimization10 Jun 2025
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Models4 Jun 2025
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives27 May 2025
- 2025Counting Cycles with AI: Counting Cycles with AI: Computationally Efficient Equivalent Forms with Applications23 May 2025
- 2025LogicLearner: A Tool for the Guided Practice of Propositional Logic Proofs25 Mar 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learning20 Mar 2025
- 2024AutoVFX: Physically Realistic Video Editing from Natural Language Instructions4 Nov 2024
- 2024Transformers to Predict the Applicability of Symbolic Integration Routines31 Oct 2024
- 2024AI Meets the Classroom: When Do Large Language Models Harm Learning?29 Aug 2024
- 2024Decomposed Prompting to Answer Questions on a Course Discussion Board30 Jul 2024
- 2024Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought18 Jul 2024
- 2024COMET: "Cone of experience" enhanced large multimodal model for mathematical problem generation16 Jul 2024
- 2024The Rise of Artificial Intelligence in Educational Measurement: Opportunities and Ethical Challenges27 Jun 2024
- 2024The Liouville Generator for Producing Integrable Expressions17 Jun 2024
- 2024Automating Code Adaptation for MLOps -- A Benchmarking Study on LLMs10 May 2024
- 2024Exploring the Limits of Fine-grained LLM-based Physics Inference via Premise Removal Interventions29 Apr 2024
- 2024Mathify: Evaluating Large Language Models on Mathematical Problem Solving Tasks19 Apr 2024
- 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graph29 Feb 2024
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning27 Feb 2024
- 2024FGeo-TP: A Language Model-Enhanced Solver for Geometry Problems14 Feb 2024
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challenges31 Jan 2024
- 2024Symbolic Equation Solving via Reinforcement Learning24 Jan 2024
- 2024NeuroSynt: A Neuro-symbolic Portfolio Solver for Reactive Synthesis22 Jan 2024
- 2024Visual Enumeration Remains Challenging for Multimodal Generative AI9 Jan 2024
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects7 Jan 2024
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents1 Jan 2024
- 2023Mathematical Language Models: A Survey12 Dec 2023
- 2023Context Matters: Data-Efficient Augmentation of Large Language Models for Scientific Applications12 Dec 2023
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulator7 Dec 2023
- 2023How should the advent of large language models affect the practice of science?5 Dec 2023
- 2023Understanding the Countably Infinite: Neural Network Models of the Successor Function and its Acquisition26 Nov 2023
- 2023Conversational AI Threads for Visualizing Multidimensional Datasets9 Nov 2023
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct 2023
- 2023SEGO: Sequential Subgoal Optimization for Mathematical Problem-Solving19 Oct 2023
- 2023Autonomous Tree-search Ability of Large Language Models14 Oct 2023
- 2023Progressive reduced order modeling: empowering data-driven modeling with selective knowledge transfer4 Oct 2023
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets29 Sep 2023
50 newest of 96 All 96 (JSON)
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2023Augmented Language Models: a Surveycited by 403
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challengescited by 284
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 168
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learningcited by 83
- 2023Are Large Language Models Really Good Logical Reasoners? A Comprehensive Evaluation and Beyondcited by 65
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoningcited by 34
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2023Mathematics, word problems, common sense, and artificial intelligencecited by 12
12 most cited of 22 All 22 (JSON)
- 2026Measuring Representation Robustness in Large Language Models for Geometry3 Apr 2026
- 2026Exploring the Meta-level Reasoning of Large Language Models via a Tool-based Multi-hop Tabular Question Answering Task12 Jan 2026
- 2025Discovering Hidden Algebraic Structures via Transformers with Rank-Aware Beam GRPO21 Aug 2025
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models22 Mar 2025
- 2025Fin-R1: A Large Language Model for Financial Reasoning through Reinforcement Learning20 Mar 2025
- 2024Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thought18 Jul 2024
- 2024Exploring the Limits of Fine-grained LLM-based Physics Inference via Premise Removal Interventions29 Apr 2024
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning27 Feb 2024
- 2024Large Language Models for Mathematical Reasoning: Progresses and Challenges31 Jan 2024
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulator7 Dec 2023
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct 2023
- 2023Autonomous Tree-search Ability of Large Language Models14 Oct 2023
12 newest of 22 All 22 (JSON)
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddingscited by 240
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospectscited by 132
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 79
- 2023MathChat: Converse to Tackle Challenging Math Problems with LLM Agentscited by 68
- 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPTcited by 38
- 2025ORFS-agent: Tool-Using Agents for Chip Design Optimizationcited by 14
- 2025ORFS-agent: Tool-Using Agents for Chip Design Optimization10 Jun 2025
- 2024Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects7 Jan 2024
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents1 Jan 2024
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedback19 Sep 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2023MathChat: Converse to Tackle Challenging Math Problems with LLM Agents2 Jun 2023
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May 2023
- 2023Blind Judgement: Agent-Based Supreme Court Modelling With GPT12 Jan 2023
- 2024Symbolic Equation Solving via Reinforcement Learningcited by 4
- 2024Symbolic Equation Solving via Reinforcement Learning24 Jan 2024
- 2022Using cognitive psychology to understand GPT-3cited by 398
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2022Large Language Models Meet NL2Code: A Surveycited by 138
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 136
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 129
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
- 2023Practical and Ethical Challenges of Large Language Models in Education: A Systematic Scoping Reviewcited by 83
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
12 most cited of 65 All 65 (JSON)
- 2026Position: Ideas Should be the Center of Machine Learning Research14 May 2026
- 2025PhysTalk: Language-driven Real-time Physics in 3D Gaussian Scenes31 Dec 2025
- 2025PRISM: Privacy-Aware Routing for Adaptive Cloud-Edge LLM Inference via Semantic Sketch Collaboration27 Nov 2025
- 2025Computational Blueprints: Generating Isomorphic Mathematics Problems with Large Language Models11 Nov 2025
- 2025Understanding the Effects of Domain Finetuning on LLMs10 Oct 2025
- 2025REAMS: Reasoning Enhanced Algorithm for Maths Solving16 Sep 2025
- 2025Discovering New Theorems via LLMs with In-Context Proof Learning in Lean16 Sep 2025
- 2025Can LLMs Generate High-Quality Task-Specific Conversations?4 Aug 2025
- 2025A Survey of Large Language Models in Discipline-specific Research: Challenges, Methods and Opportunities11 Jul 2025
- 2025Generating Pedagogically Meaningful Visuals for Math Word Problems: A New Benchmark and Analysis of Text-to-Image Models4 Jun 2025
- 2025Is Your LLM Overcharging You? Tokenization, Transparency, and Incentives27 May 2025
- 2025Counting Cycles with AI: Counting Cycles with AI: Computationally Efficient Equivalent Forms with Applications23 May 2025
12 newest of 65 All 65 (JSON)