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

Chenxu Wang, Ping Jian, Zhen Yang
9/22/2024
5 citations
cs.CLcs.AI
contrastive-ssl

Official code: lalalamdbf/TPReasoner (4 stars, Python, last commit 2025-06-11).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

This repository contains the code and dataset for the AAAI 2025 paper: "Thought-Path Contrastive Learning via Premise-Oriented Data Augmentation for Logical Reading Comprehension"

40Python, ShellSep 22, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024thoughtpath,
  title  = {Thought-Path Contrastive Learning via Premise-Oriented Data Augmentation for Logical Reading Comprehension},
  author = {Chenxu Wang and Ping Jian and Zhen Yang},
  year   = {2024},
  eprint = {2409.14495},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.14495v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.14495.svg)](https://codeofpaper.com/paper/2409.14495)

Discussion