Abstract
Generative commonsense reasoning requires machines to generate sentences describing everyday scenarios given a set of concepts. Despite the success of large-scale language models, current systems often produce implausible or grammatically incorrect sentences. Inspired by the human writing process, we propose KGR^4, a novel Knowledge-enhanced Commonsense Generation framework consisting of four stages: Retrieval, Retrospect, Refine, and Rethink. By leveraging an external corpus for prototypes and employing a dedicated refinement stage, KGR^4 achieves state-of-the-art performance on the CommonGen benchmark, outperforming previous best results by 2.49 SPICE points.
Introduction
The CommonGen task challenges models to perform compositional generalization. Given a concept set such as {hand, sink, wash, soap}, a model must generate a coherent sentence like "A man is washing his hands with soap in a sink." While models like BART and GPT-2 show promise, they frequently suffer from two major issues: a lack of commonsense grounding (e.g., generating "a sink of soaps") and structural failures like repetitive phrases or tokenization-induced misspellings.
To address these, KGR^4 mimics the human workflow: searching for inspiration (Retrieval), drafting (Retrospect), proofreading (Refine), and final selection (Rethink).
The KGR^4 Framework
1. Retrieval
Rather than generating from scratch, KGR^4 searches an external corpus of 3 million image and video captions (aggregated from MSCOCO, SNLI, etc.) to find "prototypes." These are existing human-written sentences that contain some or all of the target concepts. A RoBERTa-based scorer ranks these prototypes to provide the most relevant starting points for the model.
2. Retrospect
In the drafting phase, a BART-based generator is trained to either edit these prototypes to incorporate missing concepts or copy them if they are already sufficient. This stage utilizes "Retrospective Augmentation" to teach the model the implicit relationships between concepts by forcing it to reconstruct prototypes during training.
3. Refine
To eliminate common transformer errors such as repetitive phrases ("in a sink a sink") or typos, a dedicated BART-based refiner acts as an autoencoder. It is specifically trained to denoise sentences that have been intentionally corrupted, ensuring the final output is grammatically sound and fluent.
4. Rethink
Finally, the framework generates multiple candidate sentences by varying hyper-parameters (specifically the balance between copying and editing). The model then re-evaluates these candidates using the scorer from the Retrieval stage to select the single most plausible and high-quality sentence.
Experimental Results
KGR^4 was evaluated on the CommonGen v1.0 and v1.1 benchmarks. Key findings include:
- State-of-the-Art Performance: KGR^4 achieved 33.56 SPICE points on the official v1.1 leaderboard, a significant 2.49-point improvement over the previous leader, RE-T5.
- Robustness: The model showed superior performance on "hard" concept sets—combinations rarely seen in knowledge graphs like ConceptNet—demonstrating better reasoning capabilities than vanilla BART models.
- Ablation Studies: Every stage of the pipeline contributes to the final score. The addition of the Refine and Rethink stages alone improved the SPICE score on the v1.0 test set from 39.20 to 39.70.
Conclusion
KGR^4 demonstrates that breaking down the generation process into human-like stages—retrieval, drafting, and proofreading—significantly enhances a model's ability to reason about everyday scenarios. While the pipeline is more computationally intensive than single-pass models, its ability to produce plausible, grammatically correct sentences sets a new standard for generative commonsense reasoning. Future work may explore more efficient variational models to further increase output diversity.
Summary updated