Abstract
While Pre-trained Language Models (PLMs) demonstrate exceptional performance in linguistic pattern matching, they often lack the implicit commonsense reasoning required for real-world understanding. This paper introduces Commonsense Knowledge Transfer (CKT), a novel framework designed to inject structured commonsense into PLMs using natural language context. By leveraging a neural commonsense teacher (COMET) to generate inferences from general text corpora, the framework employs two self-supervised objectives: Commonsense Text Infilling (CSTI) and Commonsense Relation Prediction (CSRP). Experimental results across six benchmarks demonstrate that CKT significantly improves reasoning capabilities, particularly in few-shot scenarios, without compromising general linguistic performance.
Introduction
Large Language Models (LLMs) like T5 and GPT excel at predicting the next word in a sequence or retrieving explicit facts. However, they frequently stumble on implicit commonsense—the underlying logic of everyday life that is rarely stated explicitly in text. For instance, while a model may know "water is wet," it may not inherently grasp that "cooking a meal implies a prior need to acquire ingredients" unless that specific sequence is overrepresented in its training data.
Existing approaches to this problem typically rely on static Knowledge Graphs (KGs) or synthetic tuples. These methods often fail because they lack natural language context or are limited by the fixed scope of the KG. The CKT framework addresses this by bridging the gap between structured commonsense (the "what") and natural language context (the "how"), ensuring models can reason about causes, effects, and intents within diverse, real-world sentences.
Methodology
The CKT framework operates in two distinct stages: extraction and injection.
1. Commonsense Knowledge Extraction
Rather than using a static database, the authors utilize COMET (a neural commonsense model) as a "teacher." The researchers feed COMET sentences from general corpora, such as Wikipedia and BookCorpus. COMET then generates inferences across various dimensions—such as xNeed (preconditions), xIntent (motivations), and xEffect (consequences). This process creates a massive, high-quality dataset of natural sentences paired with their underlying logical inferences.
2. Commonsense Knowledge Injection
The "student" model (e.g., T5) is then refined using two novel self-supervised tasks designed to align surface-level language with logical reasoning:
- Commonsense Text Infilling (CSTI): A generative task where the model must fill in missing spans of text within a "commonsense tuple" (Subject + Relation + Object). This forces the model to synthesize language that is logically consistent with the provided context.
- Commonsense Relation Prediction (CSRP): A discriminative task formulated as a multiple-choice question. The model must distinguish a valid commonsense inference from "distractors"—such as the same sentence paired with the wrong relation or an entirely unrelated sentence. This sharpens the model's ability to validate logical causality.
Experimental Setup
Training Data
The researchers sampled 10 million sentences from English Wikipedia and BookCorpus for pre-training. Knowledge was sourced from COMET-ATOMIC$_{20}^{20}$, a state-of-the-art neural commonsense repository.
Benchmarks
The framework was evaluated against six diverse commonsense reasoning tasks:
- CSQA (CommonsenseQA)
- OBQA (OpenBookQA)
- PIQA (Physical Interaction QA)
- aNLI (Abductive Natural Language Inference)
- SocialIQA (Social Interaction QA)
- COPA (Choice of Plausible Alternatives)
Additionally, the GLUE benchmark was monitored to ensure that the injection of commonsense knowledge did not result in "catastrophic forgetting" of general linguistic skills.
Key Results and Insights
Performance Gains
On the T5-base architecture, CKT improved performance across all six benchmarks, achieving absolute gains of up to 4.0 points over the standard T5 baseline. CKT-base also outperformed other knowledge-enhanced models, including ERNIE, KnowBERT, and CALM (the previous state-of-the-art for commonsense injection). These benefits scaled effectively to T5-large, which set competitive marks on CSQA (72.15) and PIQA (76.07).
Few-Shot Robustness
One of the most significant findings was the model's efficiency in data-scarce environments. CKT-refined models performed exceptionally well with very little labeled data, suggesting that commonsense knowledge is deeply integrated into the model's parameters rather than merely being a pattern learned during fine-tuning.
The Importance of Context and Negatives
The study highlights that using full natural sentences rather than isolated triplets (e.g., [Apple, Is, Red]) is vital for understanding when commonsense applies. Furthermore, the CSRP task proved essential; by forcing the model to reject plausible-sounding but logically incorrect distractors, the model developed a more granular understanding of human intent and causality.
Limitations and Future Work
While CKT shows great promise, the authors identified several areas for further exploration:
- Architecture Diversity: The current study focused on encoder-decoder models (T5, BART). Future research should evaluate CKT on decoder-only architectures like the GPT family.
- Teacher Bias: As the knowledge is derived from COMET, any inherent biases or errors in the teacher model may be transferred to the student.
- Scaling: Increasing the pre-training corpus beyond 10 million sentences and exploring ensemble methods with multiple knowledge sources could further enhance the model's reasoning depth.
Conclusion
The Commonsense Knowledge Transfer (CKT) framework provides a robust method for teaching language models the implicit logic of the human world. By combining neural knowledge extraction with generative and discriminative injection tasks, CKT creates models that are not only more knowledgeable but also more sample-efficient and capable of complex reasoning in natural language contexts.
Summary updated