Complex Reasoning over Logical Queries on Commonsense Knowledge Graphs

Tianqing Fang, Zeming Chen, Yangqiu Song, Antoine Bosselut
3/12/2024
cs.CLcs.AI

Official code: tqfang/complex-commonsense-reasoning (9 stars, last commit 2024-06-22).

Abstract

Event commonsense reasoning requires the ability to reason about the relationship between events, as well as infer implicit context underlying that relationship. However, data scarcity makes it challenging for language models to learn to generate commonsense inferences for contexts and questions involving interactions between complex events. To address this demand, we present COM2 (COMplex COMmonsense), a new dataset created by sampling multi-hop logical queries (e.g., the joint effect or cause of both event A and B, or the effect of the effect of event C) from an existing commonsense knowledge graph (CSKG), and verbalizing them using handcrafted rules and large language models into multiple-choice and text generation questions. Our experiments show that language models trained on COM2 exhibit significant improvements in complex reasoning ability, resulting in enhanced zero-shot performance in both in-domain and out-of-domain tasks for question answering and generative commonsense reasoning, without expensive human annotations. Code and data are available at https://github.com/tqfang/complex-commonsense-reasoning.

View on arXivView PDF

Code Implementations(1)

Official repo for the ACL'24 paper Complex Reasoning over Logical Queries on Commonsense Knowledge Graphs.

92Shell, PythonFeb 20, 20242 years ago

Similar Papers

Cite this paper

@article{fang2024complex,
  title  = {Complex Reasoning over Logical Queries on Commonsense Knowledge Graphs},
  author = {Tianqing Fang and Zeming Chen and Yangqiu Song and Antoine Bosselut},
  year   = {2024},
  eprint = {2403.07398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.07398v2}
}

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

Discussion