Prompting as Probing: Using Language Models for Knowledge Base Construction

August 23, 2022 Β· Entered Twilight Β· πŸ› LM-KBC@ISWC

πŸ’€ TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: .gitattributes, .gitignore, LICENSE, README.md, baseline.py, data, evaluate.py, failure_cases, gpt3_baseline.py, integrity_checking.py, notebooks, opt_baseline.py, predictions, requirements.txt, submission, utils, wikidata_cleanup.py, wikidata_extract_aliases.go

Authors Dimitrios Alivanistos, Selene BÑez Santamaría, Michael Cochez, Jan-Christoph Kalo, Emile van Krieken, Thiviyan Thanapalasingam arXiv ID 2208.11057 Category cs.CL: Computation & Language Cross-listed cs.AI Citations 58 Venue LM-KBC@ISWC Repository https://github.com/HEmile/iswc-challenge ⭐ 11 Last Checked 1 month ago
Abstract
Language Models (LMs) have proven to be useful in various downstream applications, such as summarisation, translation, question answering and text classification. LMs are becoming increasingly important tools in Artificial Intelligence, because of the vast quantity of information they can store. In this work, we present ProP (Prompting as Probing), which utilizes GPT-3, a large Language Model originally proposed by OpenAI in 2020, to perform the task of Knowledge Base Construction (KBC). ProP implements a multi-step approach that combines a variety of prompting techniques to achieve this. Our results show that manual prompt curation is essential, that the LM must be encouraged to give answer sets of variable lengths, in particular including empty answer sets, that true/false questions are a useful device to increase precision on suggestions generated by the LM, that the size of the LM is a crucial factor, and that a dictionary of entity aliases improves the LM score. Our evaluation study indicates that these proposed techniques can substantially enhance the quality of the final predictions: ProP won track 2 of the LM-KBC competition, outperforming the baseline by 36.4 percentage points. Our implementation is available on https://github.com/HEmile/iswc-challenge.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Computation & Language

πŸŒ… πŸŒ… Old Age

Attention Is All You Need

Ashish Vaswani, Noam Shazeer, ... (+6 more)

cs.CL πŸ› NeurIPS πŸ“š 166.0K cites 8 years ago