Semantic Scholar Open Access 2023 150 sitasi

Solving Math Word Problems by Combining Language Models With Symbolic Solvers

Joy He-Yueya Gabriel Poesia Rose E. Wang Noah D. Goodman

Abstrak

Automatically generating high-quality step-by-step solutions to math word problems has many applications in education. Recently, combining large language models (LLMs) with external tools to perform complex reasoning and calculation has emerged as a promising direction for solving math word problems, but prior approaches such as Program-Aided Language model (PAL) are biased towards simple procedural problems and less effective for problems that require declarative reasoning. We propose an approach that combines an LLM that can incrementally formalize word problems as a set of variables and equations with an external symbolic solver that can solve the equations. Our approach achieves comparable accuracy to the original PAL on the GSM8K benchmark of math word problems and outperforms PAL by an absolute 20% on ALGEBRA, a new dataset of more challenging word problems extracted from Algebra textbooks. Our work highlights the benefits of using declarative and incremental representations when interfacing with an external tool for solving complex math word problems. Our data and prompts are publicly available at https://github.com/joyheyueya/declarative-math-word-problem.

Topik & Kata Kunci

Penulis (4)

J

Joy He-Yueya

G

Gabriel Poesia

R

Rose E. Wang

N

Noah D. Goodman

Format Sitasi

He-Yueya, J., Poesia, G., Wang, R.E., Goodman, N.D. (2023). Solving Math Word Problems by Combining Language Models With Symbolic Solvers. https://doi.org/10.48550/arXiv.2304.09102

Akses Cepat

Lihat di Sumber doi.org/10.48550/arXiv.2304.09102
Informasi Jurnal
Tahun Terbit
2023
Bahasa
en
Total Sitasi
150×
Sumber Database
Semantic Scholar
DOI
10.48550/arXiv.2304.09102
Akses
Open Access ✓