Solving math word problems requires deductive reasoning over the quantities in the text. Various recent research efforts mostly relied on sequence-to-sequence or sequence-to-tree models to generate mathematical expressions without explicitly performing relational reasoning between quantities in the given context. While empirically effective, such approaches typically do not provide explanations for the generated expressions. In this work, we view the task as a complex relation extraction problem, proposing a novel approach that presents explainable deductive reasoning steps to iteratively construct target expressions, where each step involves a primitive operation over two quantities defining their relation. Through extensive experiments on four benchmark datasets, we show that the proposed model significantly outperforms existing strong baselines. We further demonstrate that the deductive procedure not only presents more explainable steps but also enables us to make more accurate predictions on questions that require more complex reasoning.
翻译:解决数学词汇问题需要从数量上进行推理。最近的各种研究工作主要依靠从顺序到顺序或从顺序到树木的模型来生成数学表达方式,而没有在特定情况下对数量进行明确的相关推理。虽然从经验上讲,这些方法通常不会为生成的表达方式提供解释。在这项工作中,我们将此任务视为一个复杂的关系提取问题,提出一种新的方法,为迭接构建目标表达方式提供可解释的推理步骤,其中每个步骤都涉及两个数量以上的原始操作来界定其关系。我们通过对四个基准数据集的广泛试验,表明拟议的模型大大超越了现有强有力的基线。我们进一步表明,推理程序不仅提出了更能解释的步骤,而且还使我们能够对需要更复杂推理的问题作出更准确的预测。