Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Generated Knowledge Prompting for Commonsense Reasoning

About

It remains an open question whether incorporating external knowledge benefits commonsense reasoning while maintaining the flexibility of pretrained sequence models. To investigate this question, we develop generated knowledge prompting, which consists of generating knowledge from a language model, then providing the knowledge as additional input when answering a question. Our method does not require task-specific supervision for knowledge integration, or access to a structured knowledge base, yet it improves performance of large-scale, state-of-the-art models on four commonsense reasoning tasks, achieving state-of-the-art results on numerical commonsense (NumerSense), general commonsense (CommonsenseQA 2.0), and scientific commonsense (QASC) benchmarks. Generated knowledge prompting highlights large-scale language models as flexible sources of external knowledge for improving commonsense reasoning. Our code is available at https://github.com/liujch1998/GKP

Jiacheng Liu, Alisa Liu, Ximing Lu, Sean Welleck, Peter West, Ronan Le Bras, Yejin Choi, Hannaneh Hajishirzi• 2021

Related benchmarks

TaskDatasetResultRank
Multimodal Sarcasm DetectionMMSD 2.0 (test)
Accuracy76.4
45
Sarcasm DetectionMMSD 1.0 (test)
F1 Score76.3
38
Commonsense ReasoningCSQA (dev)
Accuracy85.34
16
Commonsense ReasoningQASC (dev)
Accuracy84.02
14
Commonsense ReasoningCSQA2 (dev)
Accuracy72.37
7
Commonsense ReasoningNumerSense (dev)
Accuracy78
6
Commonsense ReasoningQASC (test)
Accuracy80.33
6
Commonsense ReasoningNumerSense core (test)
Accuracy79.24
4
Commonsense ReasoningNumerSense (test)
Accuracy72.47
4
Commonsense ReasoningCSQA2 (test)
Accuracy73.03
4
Showing 10 of 10 rows

Other info

Code

Follow for update