arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.14495cs.CLcs.AI

基于前提导向数据增强的思维路径对比学习用于逻辑阅读理解

Thought-Path Contrastive Learning via Premise-Oriented Data Augmentation for Logical Reading Comprehension

School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);Beijing Engineering Research Center of High Volume Language Information Processing and Cloud Computing Applications, Beijing Institute of Technology(北京理工大学海量语言信息处理与云计算应用北京工程研究中心)

Chenxu Wang, Ping Jian, Zhen Yang

AI总结:

针对逻辑阅读理解中CoT推理依据忽视错误选项及数据增强缺乏多样性的问题,提出前提导向数据增强框架PODA,并结合思维路径对比学习方法,在ReClor和LogiQA 2.0上显著提升多个大语言模型的推理性能。

摘要:

逻辑阅读理解是一项具有挑战性的任务,需要把握文本的深层语义并运用推理来推导出正确答案。以往的研究主要集中在通过思维链(Chain-of-Thought,CoT)或数据增强来提升逻辑推理能力。然而,先前构建思维链推理依据的工作只关注分析正确选项,忽视了错误选项。此外,早期通过改变上下文进行数据增强的工作依赖基于规则的方法,导致生成的上下文缺乏多样性和连贯性。为解决这些问题,我们提出了前提导向数据增强(Premise-Oriented Data Augmentation,PODA)框架。该框架能够生成包含正确选项和错误选项分析的CoT推理依据,同时从错误候选选项中构建多样且高质量的反事实上下文。我们将概括前提和识别每个选项的前提整合到推理依据中。随后,我们利用识别出的前提通过多步提示来构建反事实上下文。为了使模型能够更好地区分与每个选项相关的推理过程,我们引入了一种新颖的思维路径对比学习方法,该方法比较原始样本和反事实样本之间的推理路径。在三个代表性大语言模型(LLM)上的实验结果表明,我们的方法能够在两个具有挑战性的逻辑推理基准(ReClor和LogiQA 2.0)上显著提升基线模型的表现。数据和代码已在 https://github.com/lalalamdbf/TPReasoner 发布。

英文摘要:

Logical reading comprehension is a challenging task that entails grasping the underlying semantics of text and applying reasoning to deduce the correct answer. Prior researches have primarily focused on enhancing logical reasoning capabilities through Chain-of-Thought (CoT) or data augmentation. However, previous work constructing chain-of-thought rationales concentrates solely on analyzing correct options, neglecting the incorrect alternatives. Addtionally, earlier efforts on data augmentation by altering contexts rely on rule-based methods, which result in generated contexts that lack diversity and coherence. To address these issues, we propose a Premise-Oriented Data Augmentation (PODA) framework. This framework can generate CoT rationales including analyses for both correct and incorrect options, while constructing diverse and high-quality counterfactual contexts from incorrect candidate options. We integrate summarizing premises and identifying premises for each option into rationales. Subsequently, we employ multi-step prompts with identified premises to construct counterfactual context. To facilitate the model's capabilities to better differentiate the reasoning process associated with each option, we introduce a novel thought-path contrastive learning method that compares reasoning paths between the original and counterfactual samples. Experimental results on three representative LLMs demonstrate that our method can improve the baselines substantially across two challenging logical reasoning benchmarks (ReClor and LogiQA 2.0). The data and code are released at https://github.com/lalalamdbf/TPReasoner.

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

↑