Can Generative Pre-trained Language Models Serve as Knowledge Bases for Closed-book QA?

Cunxiang Wang, Pai Liu, Yue Zhang
6/3/2021
cs.CL

Official code: wangcunxiang/Can-PLM-Serve-as-KB-for-CBQA (22 stars, Python, Apache-2.0, last commit 2022-12-18).

Abstract

Recent work has investigated the interesting question using pre-trained language models (PLMs) as knowledge bases for answering open questions. However, existing work is limited in using small benchmarks with high test-train overlaps.

Show full abstract

We construct a new dataset of closed-book QA using SQuAD, and investigate the performance of BART. Experiments show that it is challenging for BART to remember training facts in high precision, and also challenging to answer closed-book questions even if relevant knowledge is retained. Some promising directions are found, including decoupling the knowledge memorizing process and the QA finetune process, forcing the model to recall relevant knowledge when question answering.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The code and data for ACL2021 paper <Can Generative Pre-trained Language Models Serve as Knowledge Bases for Closed-book QA?>

222Python, MakefileMay 31, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2021generative,
  title  = {Can Generative Pre-trained Language Models Serve as Knowledge Bases for Closed-book QA?},
  author = {Cunxiang Wang and Pai Liu and Yue Zhang},
  year   = {2021},
  eprint = {2106.01561},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.01561}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.01561.svg)](https://codeofpaper.com/paper/2106.01561)

Discussion