Knowledge Prompts: Injecting World Knowledge into Language Models through Soft Prompts
Santos, Cicero Nogueira dos, Dong, Zhe, Cer, Daniel, Nham, John, Shakeri, Siamak, Ni, Jianmo, Sung, Yun-hsuan
–arXiv.org Artificial Intelligence
Soft prompts have been recently proposed as a tool for adapting large frozen language models (LMs) to new tasks. In this work, we repurpose soft prompts to the task of injecting world knowledge into LMs. We introduce a method to train soft prompts via self-supervised learning on data from knowledge bases. The resulting soft knowledge prompts (KPs) are task independent and work as an external memory of the LMs. We perform qualitative and quantitative experiments and demonstrate that: (1) KPs can effectively model the structure of the training data; (2) KPs can be used to improve the performance of LMs in different knowledge intensive tasks.
arXiv.org Artificial Intelligence
Oct-10-2022
- Country:
- North America
- Dominican Republic (0.04)
- United States
- Utah > Salt Lake County
- Salt Lake City (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Utah > Salt Lake County
- Canada > British Columbia
- Europe
- Austria > Vienna (0.14)
- Germany > Berlin (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Romania > Centru Development Region
- Sibiu County > Sibiu (0.05)
- Italy > Tuscany
- Florence (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Asia > China
- Hong Kong (0.04)
- North America
- Genre:
- Research Report (0.64)
- Industry:
- Technology: