DiffuCOMET: Contextual Commonsense Knowledge Diffusion

Silin Gao, Mete Ismayilzada, Mengjie Zhao, Hiromi Wakaki, Yuki Mitsufuji, Antoine Bosselut

Introduction

Generating contextual commonsense knowledge is a critical task for narrative understanding. Traditional models like COMET often struggle with contextual irrelevance and a lack of diversity, frequently producing generic or repetitive inferences. This paper introduces DIFFUCOMET, a novel framework that leverages diffusion models to refine latent fact representations, achieving a superior balance between inference diversity and narrative relevance.

Methodology

DIFFUCOMET departs from standard token-by-token autoregressive generation. Instead, it treats commonsense facts as points within a continuous embedding space and employs a diffusion process to generate them. The framework consists of three main components:

  1. Contextualization: A BART-based context encoder transforms the narrative input into a hidden state.
  2. Forward Diffusion: During training, Gaussian noise is incrementally added to the embeddings of ground-truth commonsense facts.
  3. Reverse Diffusion: The model learns to iteratively reconstruct the original fact embeddings from noise, conditioned on the narrative context.
Overview of the DiffuCOMET framework and its diffusion-based generation process.

The authors propose two variants: DIFFUCOMET-Fact, which reconstructs full (head, relation, tail) triple embeddings, and DIFFUCOMET-Entity, which diffuses head and tail entities separately before predicting their relationship.

Evaluation Metrics

Standard metrics like BLEU are often inadequate for evaluating commonsense knowledge due to their reliance on exact word overlap. To address this, the authors introduce RA-F1, a harmonic mean of Relevance (contextual fit) and Alignment (similarity to human references). This metric utilizes fact-clustering to ensure that diverse but valid inferences are not unfairly penalized.

Results and Discussion

Evaluation on the ComFact benchmark demonstrates the effectiveness of the diffusion approach. As shown in the quantitative results, DIFFUCOMET-Entity achieved an RA-F1 score of 70.16 on the ROCStories dataset, significantly outperforming both Greedy-COMET (55.51) and Beam-COMET (68.18) baselines.

Quantitative comparison of DIFFUCOMET against baseline models on the ROCStories benchmark.

Human evaluations further support these findings, with DIFFUCOMET models producing inferences judged as significantly more relevant (~54%) than those from Beam-COMET (~42%), while maintaining comparable validity. The model also demonstrated robust zero-shot generalization capabilities on out-of-distribution narratives and factual RDF generation tasks.

Conclusion

DIFFUCOMET represents a significant step forward in contextual commonsense generation. By shifting from autoregressive decoding to joint refinement via diffusion, the model produces more diverse and contextually grounded knowledge. Future work may explore scaling this approach to larger language models and longer narrative contexts.

Summary updated

BibTeX
@inproceedings{gao2024diffucomet,
  author = {Silin Gao and Mete Ismayilzada and Mengjie Zhao and Hiromi Wakaki and Yuki Mitsufuji and Antoine Bosselut},
  title = {{DiffuCOMET: Contextual Commonsense Knowledge Diffusion}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.264},
}
Figure