[Paper Review] Commonsense Knowledge Mining from Pretrained Models
The paper proposes an unsupervised method to extract commonsense knowledge by converting triples into sentences and scoring them with a fixed pretrained language model, showing competitive generalization to new data and Wikipedia mining despite lower in-database benchmarks.
Inferring commonsense knowledge is a key challenge in natural language processing, but due to the sparsity of training data, previous work has shown that supervised methods for commonsense knowledge mining underperform when evaluated on novel data. In this work, we develop a method for generating commonsense knowledge using a large, pre-trained bidirectional language model. By transforming relational triples into masked sentences, we can use this model to rank a triple's validity by the estimated pointwise mutual information between the two entities. Since we do not update the weights of the bidirectional model, our approach is not biased by the coverage of any one commonsense knowledge base. Though this method performs worse on a test set than models explicitly trained on a corresponding training set, it outperforms these methods when mining commonsense knowledge from new sources, suggesting that unsupervised techniques may generalize better than current supervised approaches.
Motivation & Objective
- Motivate the need for commonsense knowledge beyond graph-based KBs with limited coverage.
- Develop an unsupervised approach that leverages pretrained language models without fine-tuning on a specific KB.
- Test whether sentence-derived representations and PMI-based scoring can distinguish valid triples from invalid ones.
- Evaluate generalization to novel data, including mining from Wikipedia, and compare against supervised CKBC methods.
Proposed method
- Convert head-relation-tail triples into candidate sentences using templates and grammatical transformations.
- Select the most coherent sentence using a pretrained language model as a coherency ranking step.
- Score the triple by estimating a weighted PMI between head and tail conditioned on the relation using a masked bidirectional LM.
- Compute p(t|h,r) and p(t|r) by masking and greedily unmasking tail tokens when the tail is multi-word, then average PMI across directions.
- Use a hyperparameter lambda to weight the PMI and average PMI(h,t|r) with PMI(t,h|r) to reduce variance.
- Compare against unsupervised baselines (Concatenation, Template, Template+Grammar) and supervised CKBC models on ConceptNet-driven tasks.
Experimental results
Research questions
- RQ1Can a fixed pretrained language model, without fine-tuning on a commonsense KB, score the validity of head-relation-tail triples?
- RQ2Does sentence-based generation plus PMI-based scoring generalize to mining new commonsense knowledge from sources like Wikipedia?
- RQ3How does coherency ranking compare to template-based sentence construction for CKBC?
- RQ4What is the impact of grammaticality and meaning fidelity on task performance in CKBC and Wikipedia mining?
- RQ5How close can unsupervised approaches come to supervised CKBC methods on standard benchmarks?
Key findings
- Unsupervised Coherency Ranking achieves Task 1 F1 of 78.8, approaching supervised Prototypical 79.4 on ConceptNet-style CKBC.
- On Task 2 (Wikipedia mining), Coherency Ranking attains a mean quality score of 3.00 (lambda=4), outperforming standard supervised methods in their setup.
- Template-based methods are generally outperformed by the Coherency Ranking approach, while simple Concatenation and Template methods lag behind.
- Supervised models (DNN, Factorized, Prototypical) still achieve higher CKBC F1 scores (89.0–89.2) than the unsupervised approach on the ConceptNet test set.
- The approach demonstrates strong generalization to unseen data (Wikipedia) despite training on ConceptNet-free data, indicating potential in mining beyond existing KBs.
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.