KGR^4: Retrieval, Retrospect, Refine and Rethink for Commonsense Generation

Xin Liu, Dayiheng Liu, Baosong Yang, Haibo Zhang, Junwei Ding +4 more
12/15/2021
cs.CL

Official code: XMUDeepLIT/KGR-4 (0 stars, last commit 2023-06-27).

Abstract

Generative commonsense reasoning requires machines to generate sentences describing an everyday scenario given several concepts, which has attracted much attention recently. However, existing models cannot perform as well as humans, since sentences they produce are often implausible and grammatically incorrect.

Show full abstract

In this paper, inspired by the process of humans creating sentences, we propose a novel Knowledge-enhanced Commonsense Generation framework, termed KGR^4, consisting of four stages: Retrieval, Retrospect, Refine, Rethink. Under this framework, we first perform retrieval to search for relevant sentences from external corpus as the prototypes. Then, we train the generator that either edits or copies these prototypes to generate candidate sentences, of which potential errors will be fixed by an autoencoder-based refiner. Finally, we select the output sentence from candidate sentences produced by generators with different hyper-parameters. Experimental results and in-depth analysis on the CommonGen benchmark strongly demonstrate the effectiveness of our framework. Particularly, KGR^4 obtains 33.56 SPICE points in the official leaderboard, outperforming the previously-reported best result by 2.49 SPICE points and achieving state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

XMUDeepLIT/KGR-4Official100%

Codes for "KGR^4: Retrieval, Retrospect, Refine and Rethink for Commonsense Generation (AAAI2022)"

00Dec 12, 20213 years ago

Similar Papers

Cite this paper

@article{liu2021kgr,
  title  = {KGR^4: Retrieval, Retrospect, Refine and Rethink for Commonsense Generation},
  author = {Xin Liu and Dayiheng Liu and Baosong Yang and Haibo Zhang and Junwei Ding and Wenqing Yao and Weihua Luo and Haiying Zhang and Jinsong Su},
  year   = {2021},
  eprint = {2112.08266},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.08266}
}

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

Discussion