Litcius/Paper detail

Generate & Rank: A Multi-task Framework for Math Word Problems

Ji Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, Qun Li

2021Greater South Information System25 citationsDOIOpen Access PDF

Abstract

Math word problem (MWP) is a challenging and critical task in natural language processing.Many recent studies formalize MWP as a generation task and have adopted sequence-tosequence models to transform problem descriptions to mathematical expressions.However, mathematical expressions are prone to minor mistakes while the generation objective does not explicitly handle such mistakes.To address this limitation, we devise a new ranking task for MWP and propose Generate & Rank, a multi-task 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.Meanwhile, we perform tree-based disturbance specially designed for MWP and an online update to boost the ranker.We demonstrate the effectiveness of our proposed method on the benchmark and the results show that our method consistently outperforms baselines in all datasets.Particularly, in the classical Math23k, our method is 7% (78.4% → 85.4%) higher than the state-of-the-art 1 .

Topics & Concepts

Computer scienceBenchmark (surveying)Task (project management)Rank (graph theory)Ranking (information retrieval)Word (group theory)Artificial intelligenceCode (set theory)Tree (set theory)Sequence (biology)Natural language processingSequence labelingGenerative grammarLearning to rankLanguage modelMachine learningSource codeProgramming languageMathematicsGeodesyGeographyGeneticsMathematical analysisCombinatoricsBiologyEconomicsGeometrySet (abstract data type)ManagementTopic ModelingNatural Language Processing TechniquesMathematics, Computing, and Information Processing
Generate & Rank: A Multi-task Framework for Math Word Problems | Litcius