利用Transformer和非对称表示自动求解算术应用题
Solving Arithmetic Word Problems Automatically Using Transformer and Unambiguous Representations
摘要:
构建精确和自动的数学应用题求解器已被证明是相当具有挑战性的。使用机器学习的先前尝试已经在特定于数学单词问题的语料库上进行了训练,以在答案计算之前产生中缀符号的算术表达式。我们发现定制的神经网络很难很好地推广。本文概述了Transformer网络的使用,该网络经过训练,可以将数学应用题转换为中缀、前缀和后缀表示法中的等效算术表达式。除了直接在特定领域的语料库上进行训练外,我们还使用了一种在一般文本语料库上进行预训练的方法,以提供基本的语言能力来探索它是否能提高性能。我们比较了大量神经配置产生的结果,发现大多数配置在四个数据集中的三个数据集上的性能优于先前报道的方法,准确性显著提高了20个百分点以上。与以前的技术水平相比,最好的神经方法平均将准确率提高了近10%。
英文摘要:
Constructing accurate and automatic solvers of math word problems has proven to be quite challenging. Prior attempts using machine learning have been trained on corpora specific to math word problems to produce arithmetic expressions in infix notation before answer computation. We find that custom-built neural networks have struggled to generalize well. This paper outlines the use of Transformer networks trained to translate math word problems to equivalent arithmetic expressions in infix, prefix, and postfix notations. In addition to training directly on domain-specific corpora, we use an approach that pre-trains on a general text corpus to provide foundational language abilities to explore if it improves performance. We compare results produced by a large number of neural configurations and find that most configurations outperform previously reported approaches on three of four datasets with significant increases in accuracy of over 20 percentage points. The best neural approaches boost accuracy by almost 10% on average when compared to the previous state of the art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。