Counterfactual Samples Constructing and Training for Commonsense Statements Estimation

Chong Liu, Zaiwen Feng, Lin Liu, Zhenyun Deng, Jiuyong Li +3 more
12/29/2024
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Plausibility Estimation (PE) plays a crucial role for enabling language models to objectively comprehend the real world. While large language models (LLMs) demonstrate remarkable capabilities in PE tasks but sometimes produce trivial commonsense errors due to the complexity of commonsense knowledge. They lack two key traits of an ideal PE model: a) Language-explainable: relying on critical word segments for decisions, and b) Commonsense-sensitive: detecting subtle linguistic variations in commonsense. To address these issues, we propose a novel model-agnostic method, referred to as Commonsense Counterfactual Samples Generating (CCSG). By training PE models with CCSG, we encourage them to focus on critical words, thereby enhancing both their language-explainable and commonsense-sensitive capabilities. Specifically, CCSG generates counterfactual samples by strategically replacing key words and introducing low-level dropout within sentences. These counterfactual samples are then incorporated into a sentence-level contrastive training framework to further enhance the model's learning process. Experimental results across nine diverse datasets demonstrate the effectiveness of CCSG in addressing commonsense reasoning challenges, with our CCSG method showing 3.07% improvement against the SOTA methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2024counterfactual,
  title  = {Counterfactual Samples Constructing and Training for Commonsense Statements Estimation},
  author = {Chong Liu and Zaiwen Feng and Lin Liu and Zhenyun Deng and Jiuyong Li and Ruifang Zhai and Debo Cheng and Li Qin},
  year   = {2024},
  eprint = {2412.20563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20563v1}
}

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/2412.20563.svg)](https://codeofpaper.com/paper/2412.20563)

Discussion