Back to Search
Start Over
Calibrating Factual Knowledge in Pretrained Language Models
- Publication Year :
- 2022
- Publisher :
- arXiv, 2022.
-
Abstract
- Previous literature has proved that Pretrained Language Models (PLMs) can store factual knowledge. However, we find that facts stored in the PLMs are not always correct. It motivates us to explore a fundamental question: How do we calibrate factual knowledge in PLMs without re-training from scratch? In this work, we propose a simple and lightweight method CaliNet to achieve this goal. To be specific, we first detect whether PLMs can learn the right facts via a contrastive score between right and fake facts. If not, we then use a lightweight method to add and adapt new parameters to specific factual texts. Experiments on the knowledge probing task show the calibration effectiveness and efficiency. In addition, through closed-book question answering, we find that the calibrated PLM possesses knowledge generalization ability after fine-tuning. Beyond the calibration performance, we further investigate and visualize the knowledge calibration mechanism.<br />Comment: Accepted by Findings of EMNLP 2022
Details
- Database :
- OpenAIRE
- Accession number :
- edsair.doi.dedup.....83ef56d32b9968b15d126a1026dba986
- Full Text :
- https://doi.org/10.48550/arxiv.2210.03329