Commonsense on Demand: Generating and Selectively Integrating Commonsense Knowledge for Natural Language Inference. Jayaweera, C., Yanqui, B., & Dorr, B. J. August, 2026. arXiv:2507.15100 [cs.CL]
Paper doi abstract bibtex Natural Language Inference (NLI) determines whether a premise entails, contradicts, or is neutral with respect to a hypothesis. The task is often framed as emulating human inference, in which commonsense knowledge plays a major role. This study examines whether Large Language Models (LLMs) can reliably generate factual commonsense axioms for NLI, and evaluates their utility on the SNLI and ANLI benchmarks using Llama-3.1-70B and gpt-oss-120b. Because commonsense axioms lack explicit textual references, standard factuality metrics are ill-suited to their evaluation. We therefore introduce a reference-free method using an LLM-as-Judge framework. The evaluation reveals a substantial gap between models: gpt-oss-120b generates predominantly accurate axioms, whereas Llama produces more incorrect than correct ones. We further evaluate three prompting pipelines: direct inference, inference augmented with generated commonsense axioms, and a hybrid approach that selectively incorporates highly factual axioms based on judged factuality. The hybrid approach yields consistent accuracy gains of 3.87%-8.5% across tested configurations. Targeted commonsense knowledge also helps models overcome a bias toward the Neutral class by providing essential real-world context.
@misc{jayaweera_commonsense_2026,
title = {Commonsense on {Demand}: {Generating} and {Selectively} {Integrating} {Commonsense} {Knowledge} for {Natural} {Language} {Inference}},
shorttitle = {Commonsense on {Demand}},
url = {http://arxiv.org/abs/2507.15100},
doi = {10.48550/arXiv.2507.15100},
abstract = {Natural Language Inference (NLI) determines whether a premise entails, contradicts, or is neutral with respect to a hypothesis. The task is often framed as emulating human inference, in which commonsense knowledge plays a major role. This study examines whether Large Language Models (LLMs) can reliably generate factual commonsense axioms for NLI, and evaluates their utility on the SNLI and ANLI benchmarks using Llama-3.1-70B and gpt-oss-120b. Because commonsense axioms lack explicit textual references, standard factuality metrics are ill-suited to their evaluation. We therefore introduce a reference-free method using an LLM-as-Judge framework. The evaluation reveals a substantial gap between models: gpt-oss-120b generates predominantly accurate axioms, whereas Llama produces more incorrect than correct ones. We further evaluate three prompting pipelines: direct inference, inference augmented with generated commonsense axioms, and a hybrid approach that selectively incorporates highly factual axioms based on judged factuality. The hybrid approach yields consistent accuracy gains of 3.87\%-8.5\% across tested configurations. Targeted commonsense knowledge also helps models overcome a bias toward the Neutral class by providing essential real-world context.},
urldate = {2026-11-02},
publisher = {arXiv},
author = {Jayaweera, Chathuri and Yanqui, Brianna and Dorr, Bonnie J.},
month = aug,
year = {2026},
note = {arXiv:2507.15100 [cs.CL]},
keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},
}
Downloads: 0
{"_id":"oa79Gn8fnkLCAdHou","bibbaseid":"jayaweera-yanqui-dorr-commonsenseondemandgeneratingandselectivelyintegratingcommonsenseknowledgefornaturallanguageinference-2026","author_short":["Jayaweera, C.","Yanqui, B.","Dorr, B. J."],"bibdata":{"bibtype":"misc","type":"misc","title":"Commonsense on Demand: Generating and Selectively Integrating Commonsense Knowledge for Natural Language Inference","shorttitle":"Commonsense on Demand","url":"http://arxiv.org/abs/2507.15100","doi":"10.48550/arXiv.2507.15100","abstract":"Natural Language Inference (NLI) determines whether a premise entails, contradicts, or is neutral with respect to a hypothesis. The task is often framed as emulating human inference, in which commonsense knowledge plays a major role. This study examines whether Large Language Models (LLMs) can reliably generate factual commonsense axioms for NLI, and evaluates their utility on the SNLI and ANLI benchmarks using Llama-3.1-70B and gpt-oss-120b. Because commonsense axioms lack explicit textual references, standard factuality metrics are ill-suited to their evaluation. We therefore introduce a reference-free method using an LLM-as-Judge framework. The evaluation reveals a substantial gap between models: gpt-oss-120b generates predominantly accurate axioms, whereas Llama produces more incorrect than correct ones. We further evaluate three prompting pipelines: direct inference, inference augmented with generated commonsense axioms, and a hybrid approach that selectively incorporates highly factual axioms based on judged factuality. The hybrid approach yields consistent accuracy gains of 3.87%-8.5% across tested configurations. Targeted commonsense knowledge also helps models overcome a bias toward the Neutral class by providing essential real-world context.","urldate":"2026-11-02","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Jayaweera"],"firstnames":["Chathuri"],"suffixes":[]},{"propositions":[],"lastnames":["Yanqui"],"firstnames":["Brianna"],"suffixes":[]},{"propositions":[],"lastnames":["Dorr"],"firstnames":["Bonnie","J."],"suffixes":[]}],"month":"August","year":"2026","note":"arXiv:2507.15100 [cs.CL]","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computation and Language","bibtex":"@misc{jayaweera_commonsense_2026,\n\ttitle = {Commonsense on {Demand}: {Generating} and {Selectively} {Integrating} {Commonsense} {Knowledge} for {Natural} {Language} {Inference}},\n\tshorttitle = {Commonsense on {Demand}},\n\turl = {http://arxiv.org/abs/2507.15100},\n\tdoi = {10.48550/arXiv.2507.15100},\n\tabstract = {Natural Language Inference (NLI) determines whether a premise entails, contradicts, or is neutral with respect to a hypothesis. The task is often framed as emulating human inference, in which commonsense knowledge plays a major role. This study examines whether Large Language Models (LLMs) can reliably generate factual commonsense axioms for NLI, and evaluates their utility on the SNLI and ANLI benchmarks using Llama-3.1-70B and gpt-oss-120b. Because commonsense axioms lack explicit textual references, standard factuality metrics are ill-suited to their evaluation. We therefore introduce a reference-free method using an LLM-as-Judge framework. The evaluation reveals a substantial gap between models: gpt-oss-120b generates predominantly accurate axioms, whereas Llama produces more incorrect than correct ones. We further evaluate three prompting pipelines: direct inference, inference augmented with generated commonsense axioms, and a hybrid approach that selectively incorporates highly factual axioms based on judged factuality. The hybrid approach yields consistent accuracy gains of 3.87\\%-8.5\\% across tested configurations. Targeted commonsense knowledge also helps models overcome a bias toward the Neutral class by providing essential real-world context.},\n\turldate = {2026-11-02},\n\tpublisher = {arXiv},\n\tauthor = {Jayaweera, Chathuri and Yanqui, Brianna and Dorr, Bonnie J.},\n\tmonth = aug,\n\tyear = {2026},\n\tnote = {arXiv:2507.15100 [cs.CL]},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},\n}\n\n\n\n\n\n\n\n","author_short":["Jayaweera, C.","Yanqui, B.","Dorr, B. J."],"key":"jayaweera_commonsense_2026","id":"jayaweera_commonsense_2026","bibbaseid":"jayaweera-yanqui-dorr-commonsenseondemandgeneratingandselectivelyintegratingcommonsenseknowledgefornaturallanguageinference-2026","role":"author","urls":{"Paper":"http://arxiv.org/abs/2507.15100"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computation and Language"],"metadata":{"authorlinks":{}},"downloads":0},"bibtype":"misc","biburl":"https://bibbase.org/zotero-group/chathurijayaweera/5270774","dataSources":["8XXxjqviMibkkceFn"],"keywords":["computer science - artificial intelligence","computer science - computation and language"],"search_terms":["commonsense","demand","generating","selectively","integrating","commonsense","knowledge","natural","language","inference","jayaweera","yanqui","dorr"],"title":"Commonsense on Demand: Generating and Selectively Integrating Commonsense Knowledge for Natural Language Inference","year":2026}