Unbiased Math Word Problems Benchmark for Mitigating Solving Bias

Zhicheng Yang, Jinghui Qin, Jiaqi Chen, Xiaodan Liang
5/17/2022
14 citations
cs.AIcs.CL

Official code: yangzhch6/UnbiasedMWP (4 stars, Python, last commit 2022-12-05).

Abstract

In this paper, we revisit the solving bias when evaluating models on current Math Word Problem (MWP) benchmarks. However, current solvers exist solving bias which consists of data bias and learning bias due to biased dataset and improper training strategy.

Show full abstract

Our experiments verify MWP solvers are easy to be biased by the biased training datasets which do not cover diverse questions for each problem narrative of all MWPs, thus a solver can only learn shallow heuristics rather than deep semantics for understanding problems. Besides, an MWP can be naturally solved by multiple equivalent equations while current datasets take only one of the equivalent equations as ground truth, forcing the model to match the labeled ground truth and ignoring other equivalent equations. Here, we first introduce a novel MWP dataset named UnbiasedMWP which is constructed by varying the grounded expressions in our collected data and annotating them with corresponding multiple new questions manually. Then, to further mitigate learning bias, we propose a Dynamic Target Selection (DTS) Strategy to dynamically select more suitable target expressions according to the longest prefix match between the current model output and candidate equivalent equations which are obtained by applying commutative law during training. The results show that our UnbiasedMWP has significantly fewer biases than its original data and other datasets, posing a promising benchmark for fairly evaluating the solvers' reasoning skills rather than matching nearest neighbors. And the solvers trained with our DTS achieve higher accuracies on multiple MWP benchmarks. The source code is available at https://github.com/yangzhch6/UnbiasedMWP.

View on arXivView PDF

Code Implementations(1)

An unbiased dataset and an unbiased training strategy for Math Word Problem. Repo of "Unbiased Math Word Problems Benchmark for Mitigating Solving Bias"

41PythonNov 24, 20213 years ago

Similar Papers

Cite this paper

@article{yang2022unbiased,
  title  = {Unbiased Math Word Problems Benchmark for Mitigating Solving Bias},
  author = {Zhicheng Yang and Jinghui Qin and Jiaqi Chen and Xiaodan Liang},
  year   = {2022},
  eprint = {2205.08108},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.08108}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.08108.svg)](https://codeofpaper.com/paper/2205.08108)

Discussion