DISK: Domain-constrained Instance Sketch for Math Word Problem
Generation
- URL: http://arxiv.org/abs/2204.04686v1
- Date: Sun, 10 Apr 2022 13:54:23 GMT
- Title: DISK: Domain-constrained Instance Sketch for Math Word Problem
Generation
- Authors: Tianyang Cao, Shuang Zeng, Xiaodan Xu, Mairgup Mansur, Baobao Chang
- Abstract summary: A math word problem (MWP) is a coherent narrative which reflects the underlying logic of math equations.
Previous methods mainly generate MWP text based on inflexible pre-defined templates.
We propose a neural model for generating MWP text from math equations.
- Score: 16.045655800225436
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- Abstract: A math word problem (MWP) is a coherent narrative which reflects the
underlying logic of math equations. Successful MWP generation can automate the
writing of mathematics questions. Previous methods mainly generate MWP text
based on inflexible pre-defined templates. In this paper, we propose a neural
model for generating MWP text from math equations. Firstly, we incorporate a
matching model conditioned on the domain knowledge to retrieve a MWP instance
which is most consistent with the ground-truth, where the domain is a latent
variable extracted with a domain summarizer. Secondly, by constructing a
Quantity Cell Graph (QCG) from the retrieved MWP instance and reasoning over
it, we improve the model's comprehension of real-world scenarios and derive a
domain-constrained instance sketch to guide the generation. Besides, the QCG
also interacts with the equation encoder to enhance the alignment between math
tokens (e.g., quantities and variables) and MWP text. Experiments and empirical
analysis on educational MWP set show that our model achieves impressive
performance in both automatic evaluation metrics and human evaluation metrics.
Related papers
- MWPRanker: An Expression Similarity Based Math Word Problem Retriever [12.638925774492403]
Math Word Problems (MWPs) in online assessments help test the ability of the learner to make critical inferences.
We propose a tool in this work for MWP retrieval.
arXiv Detail & Related papers (2023-07-03T15:44:18Z) - Learning by Analogy: Diverse Questions Generation in Math Word Problem [21.211970350827183]
Solving math word problem (MWP) with AI techniques has recently made great progress with the success of deep neural networks (DNN)
We argue that the ability of learning by analogy is essential for an MWP solver to better understand same problems which may typically be formulated in diverse ways.
In this paper, we make a first attempt to solve MWPs by generating diverse yet consistent questions/equations.
arXiv Detail & Related papers (2023-06-15T11:47:07Z) - Dynamic Prompt Learning via Policy Gradient for Semi-structured
Mathematical Reasoning [150.17907456113537]
We present Tabular Math Word Problems (TabMWP), a new dataset containing 38,431 grade-level problems that require mathematical reasoning.
We evaluate different pre-trained models on TabMWP, including the GPT-3 model in a few-shot setting.
We propose a novel approach, PromptPG, which utilizes policy gradient to learn to select in-context examples from a small amount of training data.
arXiv Detail & Related papers (2022-09-29T08:01:04Z) - LogicSolver: Towards Interpretable Math Word Problem Solving with
Logical Prompt-enhanced Learning [135.8654475934613]
We first construct a high-quality MWP dataset named InterMWP which consists of 11,495 MWPs.
We propose a novel approach with logical prompt and interpretation, called Logicr.
With these improved semantic representations, our Logicr generates corresponding solution expressions and interpretable knowledge in accord with the generated solution expressions.
arXiv Detail & Related papers (2022-05-17T11:01:52Z) - Unbiased Math Word Problems Benchmark for Mitigating Solving Bias [72.8677805114825]
Current solvers exist solving bias which consists of data bias and learning bias due to biased dataset and improper training strategy.
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.
An MWP can be naturally solved by multiple equivalent equations while current datasets take only one of the equivalent equations as ground truth.
arXiv Detail & Related papers (2022-05-17T06:07:04Z) - Math Word Problem Generation with Mathematical Consistency and Problem
Context Constraints [37.493809561634386]
We study the problem of generating arithmetic math word problems (MWPs) given a math equation.
Existing approaches are prone to generating MWPs that are mathematically invalid or have unsatisfactory language quality.
arXiv Detail & Related papers (2021-09-09T20:24:25Z) - Generate & Rank: A Multi-task Framework for Math Word Problems [48.99880318686938]
Math word problem (MWP) is a challenging and critical task in natural language processing.
We propose Generate & Rank, a framework based on a generative pre-trained language model.
By joint training with generation and ranking, the model learns from its own mistakes and is able to distinguish between correct and incorrect expressions.
arXiv Detail & Related papers (2021-09-07T12:21:49Z) - MWP-BERT: A Strong Baseline for Math Word Problems [47.51572465676904]
Math word problem (MWP) solving is the task of transforming a sequence of natural language problem descriptions to executable math equations.
Although recent sequence modeling MWP solvers have gained credits on the math-text contextual understanding, pre-trained language models (PLM) have not been explored for solving MWP.
We introduce MWP-BERT to obtain pre-trained token representations that capture the alignment between text description and mathematical logic.
arXiv Detail & Related papers (2021-07-28T15:28:41Z) - Semantically-Aligned Universal Tree-Structured Solver for Math Word
Problems [129.90766822085132]
A practical automatic textual math word problems (MWPs) solver should be able to solve various textual MWPs.
We propose a simple but efficient method called Universal Expression Tree (UET) to make the first attempt to represent the equations of various MWPs uniformly.
Then a semantically-aligned universal tree-structured solver (SAU-r) based on an encoder-decoder framework is proposed to resolve multiple types of MWPs in a unified model.
arXiv Detail & Related papers (2020-10-14T06:27:07Z) - Mathematical Word Problem Generation from Commonsense Knowledge Graph
and Equations [27.063577644162358]
We develop an end-to-end neural model to generate diverse MWPs in real-world scenarios from commonsense knowledge graph and equations.
The proposed model learns both representations from edge-enhanced Levi graphs of symbolic equations and commonsense knowledge.
Experiments on an educational gold-standard set and a large-scale generated MWP set show that our approach is superior on the MWP generation task.
arXiv Detail & Related papers (2020-10-13T06:31:53Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.