Filling the Gap: Is Commonsense Knowledge Generation useful for Natural Language Inference?

Chathuri Jayaweera, Brianna Yanqui, Bonnie Dorr
7/20/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Natural Language Inference (NLI) is the task of determining whether a premise entails, contradicts, or is neutral with respect to a given hypothesis. The task is often framed as emulating human inferential processes, in which commonsense knowledge plays a major role. This study examines whether Large Language Models (LLMs) can generate useful commonsense axioms for Natural Language Inference, and evaluates their impact on performance using the SNLI and ANLI benchmarks with the Llama-3.1-70B and gpt-oss-120b models. We show that a hybrid approach, which selectively provides highly factual axioms based on judged helpfulness, yields consistent accuracy improvements of 1.99% to 6.88% across tested configurations, demonstrating the effectiveness of selective knowledge access for NLI. We also find that this targeted use of commonsense knowledge helps models overcome a bias toward the Neutral class by providing essential real-world context.

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. Any repos shown below are weak matches — 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{jayaweera2025filling,
  title  = {Filling the Gap: Is Commonsense Knowledge Generation useful for Natural Language Inference?},
  author = {Chathuri Jayaweera and Brianna Yanqui and Bonnie Dorr},
  year   = {2025},
  eprint = {2507.15100},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.15100v2}
}

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

Discussion