Improving Compositional Generalization in Math Word Problem Solving

Yunshi Lan, Lei Wang, Jing Jiang, Ee-Peng Lim
9/3/2022
cs.CL

Official code: demoleiwang/CGMWP (1 star, last commit 2023-08-07).

Abstract

Compositional generalization refers to a model's capability to generalize to newly composed input data based on the data components observed during training. It has triggered a series of compositional generalization analysis on different tasks as generalization is an important aspect of language and problem solving skills.

Show full abstract

However, the similar discussion on math word problems (MWPs) is limited. In this manuscript, we study compositional generalization in MWP solving. Specifically, we first introduce a data splitting method to create compositional splits from existing MWP datasets. Meanwhile, we synthesize data to isolate the effect of compositions. To improve the compositional generalization in MWP solving, we propose an iterative data augmentation method that includes diverse compositional variation into training data and could collaborate with MWP methods. During the evaluation, we examine a set of methods and find all of them encounter severe performance loss on the evaluated datasets. We also find our data augmentation method could significantly improve the compositional generalization of general MWP methods. Code is available at https://github.com/demoleiwang/CGMWP.

View on arXivView PDF

Code Implementations(1)

demoleiwang/CGMWPOfficial100%

Our new paper: Improving Compositional Generalization in Math Word Problem Solving

10Sep 3, 20223 years ago

Similar Papers

Cite this paper

@article{lan2022improving,
  title  = {Improving Compositional Generalization in Math Word Problem Solving},
  author = {Yunshi Lan and Lei Wang and Jing Jiang and Ee-Peng Lim},
  year   = {2022},
  eprint = {2209.01352},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01352}
}

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

Discussion