arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.16022cs.CL
收藏

文本增强的数学应用题对比学习

Textual Enhanced Contrastive Learning for Solving Math Word Problems

Meituan(美团);Graduate School of Informatics, Kyoto University(京都大学信息学研究科)

Yibin Shen, Qianying Liu, Zhuoyuan Mao, Fei Cheng, Sadao Kurohashi

摘要:

数学应用题的求解是一项分析量之间关系的任务,需要准确理解上下文自然语言信息。最近的研究表明,目前的模型依赖于浅层次的几何学来预测解决方案,很容易被小的文本扰动所误导。为了解决这个问题,我们提出了一个文本增强的对比学习框架,该框架强制模型区分语义相似的例子,同时保持不同的数学逻辑。我们采用自我监督的方式策略,通过文本重新排序或问题重构来丰富具有细微文本差异的示例。然后,我们从等式和文本的角度检索最难区分的样本,并引导模型学习它们的表示。实验结果表明,我们的方法在广泛使用的基准数据集和精心设计的中英文挑战数据集上都达到了最先进的水平。\footnote {我们的代码和数据可在\url{https://github.com/yiyunya/Textual_CL_MWP}获得

英文摘要:

Solving math word problems is the task that analyses the relation of quantities and requires an accurate understanding of contextual natural language information. Recent studies show that current models rely on shallow heuristics to predict solutions and could be easily misled by small textual perturbations. To address this problem, we propose a Textual Enhanced Contrastive Learning framework, which enforces the models to distinguish semantically similar examples while holding different mathematical logic. We adopt a self-supervised manner strategy to enrich examples with subtle textual variance by textual reordering or problem re-construction. We then retrieve the hardest to differentiate samples from both equation and textual perspectives and guide the model to learn their representations. Experimental results show that our method achieves state-of-the-art on both widely used benchmark datasets and also exquisitely designed challenge datasets in English and Chinese. \footnote{Our code and data is available at \url{https://github.com/yiyunya/Textual_CL_MWP}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑