Generating Math Word Problems from Equations with Topic Controlling and Commonsense Enforcement.

Tianyang Cao,Shuang Zeng,Songge Zhao,Mairgup Mansur,Baobao Chang
DOI: https://doi.org/10.1007/978-3-030-86365-4_6
2021-01-01
Abstract:Data-to-text generation task aims at generating text from structured data. In this work, we focus on a relatively new and challenging equation-to-text generation task - generating math word problems from equations and propose a novel equation-to-problem text generation model. Our model first utilizes a template-aware equation encoder and a Variational AutoEncoder (VAE) model to bridge the gap between abstract math tokens and text. We then introduce a topic selector and a topic controller to prevent topic drifting problems. To avoid the commonsense violation issues, we design a pre-training stage together with a commonsense enforcement mechanism. We construct a dataset to evaluate our model through both automatic metrics and human evaluation. Experiments show that our model significantly outperforms baseline models. Further analysis shows our model is effective in tackling topic drifting and commonsense violation problems.
What problem does this paper attempt to address?