[Paper Review] Teaching Pretrained Models with Commonsense Reasoning: A Preliminary KB-Based Approach
This paper proposes a KB-based method to explicitly teach pretrained language models commonsense reasoning by generating 167 million multiple-choice questions from ConceptNet's structured knowledge. By refining models on these questions, performance on commonsense tasks improves significantly, especially in few-shot settings, with up to 18% absolute gain on CommonsenseQA.
Recently, pretrained language models (e.g., BERT) have achieved great success on many downstream natural language understanding tasks and exhibit a certain level of commonsense reasoning ability. However, their performance on commonsense tasks is still far from that of humans. As a preliminary attempt, we propose a simple yet effective method to teach pretrained models with commonsense reasoning by leveraging the structured knowledge in ConceptNet, the largest commonsense knowledge base (KB). Specifically, the structured knowledge in KB allows us to construct various logical forms, and then generate multiple-choice questions requiring commonsense logical reasoning. Experimental results demonstrate that, when refined on these training examples, the pretrained models consistently improve their performance on tasks that require commonsense reasoning, especially in the few-shot learning setting. Besides, we also perform analysis to understand which logical relations are more relevant to commonsense reasoning.
Motivation & Objective
- To explicitly enhance pretrained language models' commonsense reasoning abilities, which are currently underdeveloped despite their success in NLU tasks.
- To address the challenge of lacking direct supervision for commonsense reasoning in unstructured text by leveraging structured knowledge from ConceptNet.
- To develop a scalable, automated method for generating diverse, natural language multiple-choice questions that require logical commonsense reasoning.
- To evaluate whether refining pretrained models on these synthetic questions improves performance on downstream commonsense reasoning benchmarks.
- To identify which logical relations in knowledge bases are most relevant to human-like commonsense reasoning.
Proposed method
- Sampling subgraphs from ConceptNet in the form (A →R₁ B →R₂ C) to generate logical reasoning patterns.
- Constructing two sets: R₁ = {X : A →R₁ X} and R₂ = {X : X →R₂ C} to define the reasoning task around entity B.
- Using text templates to convert logical forms into natural language multiple-choice questions with one correct answer and three distractors.
- Employing candidate answer sampling strategies such as random and nearest-neighbor sampling to generate diverse distractors.
- Refining pretrained models (e.g., BERT, XLNet) on the generated synthetic dataset to fine-tune their commonsense reasoning capabilities.
- Systematically evaluating the impact of different logical forms and relation types on model performance.
Experimental results
Research questions
- RQ1Can structured knowledge from ConceptNet be effectively used to generate synthetic training data that improves commonsense reasoning in pretrained models?
- RQ2How does the performance of pretrained models change when refined on KB-generated multiple-choice questions, especially in low-data (few-shot) scenarios?
- RQ3Which types of logical relations in ConceptNet are most relevant to commonsense reasoning, and do they contribute more to model improvement?
- RQ4Is the performance gain from refinement robust across different model architectures and datasets?
- RQ5How sensitive is the method to different candidate answer sampling strategies?
Key findings
- Refining BERT on the generated synthetic dataset led to an 18% absolute improvement in few-shot learning on CommonsenseQA, with 53.43% accuracy using only 16.4% of the full training data.
- The method achieved a 2% accuracy gain on full fine-tuning data, demonstrating consistent improvement across training data scales.
- The model refined on only three simple logical forms (#1, #2, #5)—such as single-relation and logical AND reasoning—achieved near-full performance, indicating high relevance to commonsense.
- Logical forms involving complex compositions or negations (#4, #7, #9) contributed little to performance gains, suggesting they are less aligned with intuitive commonsense reasoning.
- The method showed robustness to different candidate answer sampling strategies, with minimal performance variation across random and nearest-neighbor sampling.
- The performance gains were transferable to larger models, as shown by similar improvements on RoBERTa and XLNet in ablation studies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.