EMNLP 2022main12 citations

Pre-training Language Models with Deterministic Factual Knowledge

Shaobo Li, Xiaoguang Li, Lifeng Shang, Chengjie Sun, Bingquan Liu, Zhenzhou Ji, Xin Jiang, Qun Liu

Abstract

Previous works show that Pre-trained Language Models (PLMs) can capture factual knowledge. However, some analyses reveal that PLMs fail to perform it robustly, e.g., being sensitive to the changes of prompts when extracting factual knowledge. To mitigate this issue, we propose to let PLMs learn the deterministic relationship between the remaining context and the masked content. The deterministic relationship ensures that the masked factual content can be deterministically inferable based on the existing clues in the context. That would provide more stable patterns for PLMs to capture factual knowledge than randomly masking. Two pre-training tasks are further introduced to motivate PLMs to rely on the deterministic relationship when filling masks. Specifically, we use an external Knowledge Base (KB) to identify deterministic relationships and continuously pre-train PLMs with the proposed methods. The factual knowledge probing experiments indicate that the continuously pre-trained PLMs achieve better robustness in factual knowledge capturing. Further experiments on question-answering datasets show that trying to learn a deterministic relationship with the proposed methods can also help other knowledge-intensive tasks.

BibTeX
@inproceedings{li-etal-2022-pre-training,
    title = "Pre-training Language Models with Deterministic Factual Knowledge",
    author = "Li, Shaobo  and
      Li, Xiaoguang  and
      Shang, Lifeng  and
      Sun, Chengjie  and
      Liu, Bingquan  and
      Ji, Zhenzhou  and
      Jiang, Xin  and
      Liu, Qun",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-main.764/",
    doi = "10.18653/v1/2022.emnlp-main.764",
    pages = "11118--11131"
}
Pre-training Language Models with Deterministic Factual Knowledge · EMNLP 2022