SOTAVerified

Math Word Problem Solving by Generating Linguistic Variants of Problem Statements

2023-06-24Code Available0· sign in to hype

Syed Rifat Raiyan, Md. Nafis Faiyaz, Shah Md. Jawad Kabir, Mohsinul Kabir, Hasan Mahmud, Md Kamrul Hasan

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

The art of mathematical reasoning stands as a fundamental pillar of intellectual progress and is a central catalyst in cultivating human ingenuity. Researchers have recently published a plethora of works centered around the task of solving Math Word Problems (MWP) - a crucial stride towards general AI. These existing models are susceptible to dependency on shallow heuristics and spurious correlations to derive the solution expressions. In order to ameliorate this issue, in this paper, we propose a framework for MWP solvers based on the generation of linguistic variants of the problem text. The approach involves solving each of the variant problems and electing the predicted expression with the majority of the votes. We use DeBERTa (Decoding-enhanced BERT with disentangled attention) as the encoder to leverage its rich textual representations and enhanced mask decoder to construct the solution expressions. Furthermore, we introduce a challenging dataset, PARAMAWPS, consisting of paraphrased, adversarial, and inverse variants of selectively sampled MWPs from the benchmark MAWPS dataset. We extensively experiment on this dataset along with other benchmark datasets using some baseline MWP solver models. We show that training on linguistic variants of problem statements and voting on candidate predictions improve the mathematical reasoning and robustness of the model. We make our code and data publicly available.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
MAWPSDeBERTa (PM + VM)Accuracy (%)91Unverified
MAWPSGPT-3.5 turbo (175B)Accuracy (%)80.3Unverified
MAWPSGPT-JAccuracy (%)9.9Unverified
MAWPSGPT-3 text-curie-001 (13B)Accuracy (%)4.09Unverified
MAWPSGPT-3 text-babbage-001 (6.7B)Accuracy (%)2.76Unverified
ParaMAWPSDeBERTa (VM)Accuracy (%)79.1Unverified
ParaMAWPSGPT-3.5 Turbo (175B)Accuracy (%)73Unverified
ParaMAWPSGPT-J (6B)Accuracy (%)5.9Unverified
ParaMAWPSGPT-3 text-curie-001 (13B)Accuracy (%)4.2Unverified
ParaMAWPSGPT-3 text-babbage-001 (6.7B)Accuracy (%)3.21Unverified
SVAMPDeBERTaExecution Accuracy63.5Unverified

Reproductions