English

Knowledgeable Salient Span Mask for Enhancing Language Models as Knowledge Base

Computation and Language 2023-10-12 v2 Artificial Intelligence

Abstract

Pre-trained language models (PLMs) like BERT have made significant progress in various downstream NLP tasks. However, by asking models to do cloze-style tests, recent work finds that PLMs are short in acquiring knowledge from unstructured text. To understand the internal behaviour of PLMs in retrieving knowledge, we first define knowledge-baring (K-B) tokens and knowledge-free (K-F) tokens for unstructured text and ask professional annotators to label some samples manually. Then, we find that PLMs are more likely to give wrong predictions on K-B tokens and attend less attention to those tokens inside the self-attention module. Based on these observations, we develop two solutions to help the model learn more knowledge from unstructured text in a fully self-supervised manner. Experiments on knowledge-intensive tasks show the effectiveness of the proposed methods. To our best knowledge, we are the first to explore fully self-supervised learning of knowledge in continual pre-training.

Keywords

Cite

@article{arxiv.2204.07994,
  title  = {Knowledgeable Salient Span Mask for Enhancing Language Models as Knowledge Base},
  author = {Cunxiang Wang and Fuli Luo and Yanyang Li and Runxin Xu and Fei Huang and Yue Zhang},
  journal= {arXiv preprint arXiv:2204.07994},
  year   = {2023}
}

Comments

NLPCC-2023

R2 v1 2026-06-24T10:50:19.463Z