Back to Search
Start Over
How Can We Know What Language Models Know?
- Source :
- Transactions of the Association for Computational Linguistics, Vol 8, Pp 423-438 (2020)
- Publication Year :
- 2020
- Publisher :
- The MIT Press, 2020.
-
Abstract
- Recent work has presented intriguing results examining the knowledge contained in language models (LM) by having the LM fill in the blanks of prompts such as "Obama is a _ by profession". These prompts are usually manually created, and quite possibly sub-optimal; another prompt such as "Obama worked as a _" may result in more accurately predicting the correct profession. Because of this, given an inappropriate prompt, we might fail to retrieve facts that the LM does know, and thus any given prompt only provides a lower bound estimate of the knowledge contained in an LM. In this paper, we attempt to more accurately estimate the knowledge contained in LMs by automatically discovering better prompts to use in this querying process. Specifically, we propose mining-based and paraphrasing-based methods to automatically generate high-quality and diverse prompts, as well as ensemble methods to combine answers from different prompts. Extensive experiments on the LAMA benchmark for extracting relational knowledge from LMs demonstrate that our methods can improve accuracy from 31.1% to 39.6%, providing a tighter lower bound on what LMs know. We have released the code and the resulting LM Prompt And Query Archive (LPAQA) at https://github.com/jzbjyb/LPAQA.<br />TACL 2020
- Subjects :
- FOS: Computer and information sciences
Computer Science - Machine Learning
Linguistics and Language
Computer Science - Computation and Language
Computer science
Communication
lcsh:P98-98.5
02 engineering and technology
Machine Learning (cs.LG)
Computer Science Applications
Human-Computer Interaction
Work (electrical)
Artificial Intelligence
020204 information systems
0202 electrical engineering, electronic engineering, information engineering
Mathematics education
020201 artificial intelligence & image processing
Language model
lcsh:Computational linguistics. Natural language processing
Computation and Language (cs.CL)
Subjects
Details
- Language :
- English
- Volume :
- 8
- Database :
- OpenAIRE
- Journal :
- Transactions of the Association for Computational Linguistics
- Accession number :
- edsair.doi.dedup.....c568974fcc9b37ac03444915c4e789d2
- Full Text :
- https://doi.org/10.1162/tacl_a_00324