arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.07178cs.CL
收藏

符号知识蒸馏:从一般语言模型到常识模型

Symbolic Knowledge Distillation: from General Language Models to Commonsense Models

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学)

Peter West, Chandra Bhagavatula, Jack Hessel, Jena D. Hwang, Liwei Jiang, Ronan Le Bras, Ximing Lu, Sean Welleck, Yejin Choi

摘要:

训练常识模型的一般做法是从人到语料库再到机器:人类编写常识知识图谱以训练常识模型。在这项工作中,我们研究了一种替代方案,从机器到语料库到机器:通用语言模型作者这些常识知识图谱训练常识模型。我们的研究导致了一个新的框架,符号知识蒸馏。与知识蒸馏(Hinton等人,2015年),我们的方法使用较大的模型来教授较小的模型。一个关键的区别是,除了神经模型之外,我们还象征性地提取知识-作为文本。我们也只提炼出一个方面--一般语言模型教师的常识,让学生成为一个不同的类型,一个常识模型。总之,我们表明,仔细的提示工程和一个单独训练的批评家模型,使我们能够选择性地从GPT-3,一般的语言模型提取高质量的因果常识。实证结果表明,人类创作的常识知识图谱第一次在所有三个标准(数量、质量和多样性)上都被我们的自动提取变体所超越。此外,它还产生了一个神经常识模型,尽管它的尺寸小了100倍,但它超过了教师模型的常识能力。我们将其应用于原子资源,并分享我们新的符号知识图谱和常识模型。

英文摘要:

The common practice for training commonsense models has gone from-human-to-corpus-to-machine: humans author commonsense knowledge graphs in order to train commonsense models. In this work, we investigate an alternative, from-machine-to-corpus-to-machine: general language models author these commonsense knowledge graphs to train commonsense models. Our study leads to a new framework, Symbolic Knowledge Distillation. As with prior art in Knowledge Distillation (Hinton et al., 2015), our approach uses larger models to teach smaller models. A key difference is that we distill knowledge symbolically-as text-in addition to the neural model. We also distill only one aspect-the commonsense of a general language model teacher, allowing the student to be a different type, a commonsense model. Altogether, we show that careful prompt engineering and a separately trained critic model allow us to selectively distill high-quality causal commonsense from GPT-3, a general language model. Empirical results demonstrate that, for the first time, a human-authored commonsense knowledge graph is surpassed by our automatically distilled variant in all three criteria: quantity, quality, and diversity. In addition, it results in a neural commonsense model that surpasses the teacher model's commonsense capabilities despite its 100x smaller size. We apply this to the ATOMIC resource, and share our new symbolic knowledge graph and commonsense models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑