Analogical Math Word Problems Solving with Enhanced Problem-Solution Association

Zhenwen Liang, Jipeng Zhang, Xiangliang Zhang
12/1/2022
cs.CLcs.AI

Official code: LZhenwen/Analogical_MWP (3 stars, Python, last commit 2023-01-22).

Abstract

Math word problem (MWP) solving is an important task in question answering which requires human-like reasoning ability. Analogical reasoning has long been used in mathematical education, as it enables students to apply common relational structures of mathematical situations to solve new problems.

Show full abstract

In this paper, we propose to build a novel MWP solver by leveraging analogical MWPs, which advance the solver's generalization ability across different kinds of MWPs. The key idea, named analogy identification, is to associate the analogical MWP pairs in a latent space, i.e., encoding an MWP close to another analogical MWP, while moving away from the non-analogical ones. Moreover, a solution discriminator is integrated into the MWP solver to enhance the association between the representations of MWPs and their true solutions. The evaluation results verify that our proposed analogical learning strategy promotes the performance of MWP-BERT on Math23k over the state-of-the-art model Generate2Rank, with 5 times fewer parameters in the encoder. We also find that our model has a stronger generalization ability in solving difficult MWPs due to the analogical learning from easy MWPs.

View on arXivView PDF

Code Implementations(1)

Codes and data for EMNLP 2022 paper: Analogical Math Word Problems Solving with Enhanced Problem-Solution Association

30PythonOct 13, 20223 years ago

Similar Papers

Cite this paper

@article{liang2022analogical,
  title  = {Analogical Math Word Problems Solving with Enhanced Problem-Solution Association},
  author = {Zhenwen Liang and Jipeng Zhang and Xiangliang Zhang},
  year   = {2022},
  eprint = {2212.00837},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00837}
}

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/2212.00837.svg)](https://codeofpaper.com/paper/2212.00837)

Discussion