Commonsense Knowledge-Augmented Pretrained Language Models for Causal Reasoning Classification

Pedram Hosseini, David A. Broniatowski, Mona T. Diab

Abstract

Previous studies have shown the efficacy of knowledge augmentation methods in pretrained language models. However, these methods behave differently across domains and downstream tasks. In this work, we investigate the augmentation of pretrained language models with commonsense knowledge in the cause-effect relation classification and commonsense causal reasoning tasks. After automatically verbalizing ATOMIC2020, a wide coverage commonsense reasoning knowledge graph, and GLUCOSE, a dataset of implicit commonsense causal knowledge, we continually pretrain BERT and RoBERTa with the verbalized data. Then we evaluate the resulting models on cause-effect pair classification and answering commonsense causal reasoning questions. Our results show that continually pretrained language models augmented with commonsense knowledge outperform our baselines on two commonsense causal reasoning benchmarks, COPA and BCOPA-CE, and the Temporal and Causal Reasoning (TCR) dataset, without additional improvement in model architecture or using quality-enhanced data for fine-tuning.

Introduction: The Causal Gap in Language Models

While Pretrained Language Models (PLMs) like BERT and RoBERTa have revolutionized natural language processing through their ability to predict context, they often lack a fundamental grasp of causality. For instance, a model might know that "glass" and "break" often appear together, but it may not inherently understand that "dropping a glass" causes it to "break."

Existing attempts to bridge this gap often rely on complex architectural modifications or domain-specific data. This research explores a simpler, more scalable approach: feeding structured commonsense knowledge to models in a format they already understand—natural language. By "verbalizing" structured knowledge graphs, the authors aim to bridge the gap between rigid Knowledge Graphs (KGs) and the fluid text PLMs are trained on.

Methodology: A Framework for Knowledge Injection

The proposed framework involves a multi-step pipeline to augment PLMs with commonsense reasoning capabilities.

The proposed framework for data preparation, continual pretraining, and evaluation.

1. Verbalization and Data Preparation

The core of the approach is converting structured "triples" from knowledge bases into natural-sounding sentences. For example, a triple like [PersonX accidentally fell, xEffect, PersonX breaks an arm] is transformed using human-readable templates into "Tracy accidentally fell. As a result, Tracy breaks an arm."

Examples of the verbalization process using templates and name replacement.

To ensure linguistic quality, an automated grammar checker (LanguageTool) was employed to fix spelling and grammatical errors in the generated sentences before they were used for training.

2. Continual Pretraining

The authors performed additional Masked Language Modeling (MLM) on standard bert-large-cased and roberta-large models using this new verbalized dataset. This "continual pretraining" phase allows the models to internalize causal relationships without losing their general linguistic capabilities.

Datasets and Evaluation Benchmarks

The study leveraged two primary knowledge sources for injection:

  • ATOMIC2020: A comprehensive knowledge graph covering social, physical, and event-centric commonsense relations.
  • GLUCOSE: A dataset focused on implicit commonsense causal explanations, such as the motivations and emotions behind actions.

The augmented models were evaluated on three key benchmarks:

  • COPA (Choice of Plausible Alternatives): Selecting the most likely cause or effect for a premise.
  • BCOPA-CE: A challenging, "unbiased" version of COPA designed to eliminate superficial statistical shortcuts.
  • TCR (Temporal and Causal Reasoning): Identifying causal relations between events in news-style text.

Key Insights and Results

The results demonstrate that knowledge augmentation significantly boosts performance across all tasks:

  • Efficiency vs. Scale: The augmented BERT and RoBERTa models (approx. 340M parameters) remained competitive with or even outperformed much larger models like Google’s T5-11B (11B parameters). This suggests that high-quality, targeted data injection can be more effective than simply increasing model size.
  • Quality of Knowledge: Models trained on GLUCOSE often outperformed those trained on the much larger ATOMIC2020. This indicates that the causal density of the training data is more important than the sheer volume of triples.
  • Event-Centric Advantage: Within ATOMIC2020, event-centric relations proved most beneficial, likely because they provide longer, more contextual token sequences for the model to learn from.
  • Benchmark Performance: On the TCR dataset, the GLUCOSE-BERT-Large model achieved 83.9% accuracy, a significant improvement over the 79.1% baseline. Similarly, on COPA-test, the GLUCOSE-RoBERTa-Large model reached 85.7% accuracy, up from the 74.1% baseline.

Conclusion

This work demonstrates that simple, template-based verbalization of commonsense knowledge graphs is a powerful tool for improving the causal reasoning of language models. By transforming structured data into natural language, researchers can leverage the existing pretraining objectives of PLMs to inject deep logic and "common sense" without the need for complex new architectures. Future work may explore more sophisticated "Data-To-Text" generation methods and the impact of prompting strategies to further unlock these models' reasoning potential.

Summary updated

BibTeX
@inproceedings{hosseini2022commonsense,
  author = {Pedram Hosseini and David A. Broniatowski and Mona T. Diab},
  title = {{Commonsense Knowledge-Augmented Pretrained Language Models for Causal Reasoning Classification}},
  booktitle = {CSRR @ ACL},
  year = {2022},
  url = {https://openreview.net/forum?id=ShMlIzKgOW9},
}
Figure