Solving Math Word Problems Using Estimation Verification and Equation Generation
By: Mitchell Piehl , Dillon Wilson , Ananya Kalita and more
Potential Business Impact:
Helps computers solve tricky math word problems.
Large Language Models (LLMs) excel at various tasks, including problem-solving and question-answering. However, LLMs often find Math Word Problems (MWPs) challenging because solving them requires a range of reasoning and mathematical abilities with which LLMs seem to struggle. Recent efforts have helped LLMs solve more complex MWPs with improved prompts. This study proposes a novel method that initially prompts an LLM to create equations from a decomposition of the question, followed by using an external symbolic equation solver to produce an answer. To ensure the accuracy of the obtained answer, inspired by an established recommendation of math teachers, the LLM is instructed to solve the MWP a second time, but this time with the objective of estimating the correct answer instead of solving it exactly. The estimation is then compared to the generated answer to verify. If verification fails, an iterative rectification process is employed to ensure the correct answer is eventually found. This approach achieves new state-of-the-art results on datasets used by prior published research on numeric and algebraic MWPs, improving the previous best results by nearly two percent on average. In addition, the approach obtains satisfactory results on trigonometric MWPs, a task not previously attempted to the authors' best knowledge. This study also introduces two new datasets, SVAMPClean and Trig300, to further advance the testing of LLMs' reasoning abilities.
Similar Papers
Elementary Math Word Problem Generation using Large Language Models
Computation and Language
Makes math problems for students automatically.
Error Classification of Large Language Models on Math Word Problems: A Dynamically Adaptive Framework
Computation and Language
Helps computers solve math problems better.
EDUMATH: Generating Standards-aligned Educational Math Word Problems
Computation and Language
Makes math problems fun and personal for students.