arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.11694cs.CLcs.AIcs.LG
收藏

多视图推理:面向数学应用题的一致性对比学习

Multi-View Reasoning: Consistent Contrastive Learning for Math Word Problem

Zhejiang University(浙江大学);University of Shanghai for Science and Technology(上海理工大学);Zhongxing Telecommunication Equipment Corporation(中兴通讯股份有限公司)

Wenqi Zhang, Yongliang Shen, Yanna Ma, Xiaoxia Cheng, Zeqi Tan, Qingpeng Nong, Weiming Lu

AI总结:

针对现有数学应用题求解方法难兼顾复杂语义与多样方程的问题,提出多视图一致性对比学习方法,解耦为上下两种推理视图并多粒度对齐,在多语言数据集上显著优于基线,复杂问题提升更明显。

摘要:

数学应用题求解器既需要对文本中的数量关系进行精确推理,又要能可靠生成多样化的方程。当前的序列到树或关系抽取方法仅从固定视角处理该问题,难以同时应对复杂语义与多样方程的挑战。而人类解题时天然存在两种一致的推理视角:自上而下与自下而上,正如数学方程也可以表示为多种等价形式:前缀序和后缀序。我们提出一种多视图一致性对比学习方法,以实现更完整的语义到方程的映射。整个过程被解耦为两个独立但一致的视图:自上而下分解与自下而上构建,并通过多粒度对齐两种推理视图以保证一致性,从而增强全局生成能力与精确推理能力。在两种语言的多个数据集上的实验表明,我们的方法显著优于现有基线模型,尤其是在复杂问题上表现更突出。我们还发现,经过一致性对齐后,多视图能够融合两种视图的优势,生成符合数学规律且更具多样性的结果。

英文摘要:

Math word problem solver requires both precise relation reasoning about quantities in the text and reliable generation for the diverse equation. Current sequence-to-tree or relation extraction methods regard this only from a fixed view, struggling to simultaneously handle complex semantics and diverse equations. However, human solving naturally involves two consistent reasoning views: top-down and bottom-up, just as math equations also can be expressed in multiple equivalent forms: pre-order and post-order. We propose a multi-view consistent contrastive learning for a more complete semantics-to-equation mapping. The entire process is decoupled into two independent but consistent views: top-down decomposition and bottom-up construction, and the two reasoning views are aligned in multi-granularity for consistency, enhancing global generation and precise reasoning. Experiments on multiple datasets across two languages show our approach significantly outperforms the existing baselines, especially on complex problems. We also show after consistent alignment, multi-view can absorb the merits of both views and generate more diverse results consistent with the mathematical laws.

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

↑