arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.08793cs.CLcs.AIcs.LG
收藏

SalKG:从知识图谱描述中学习常识推理

SalKG: Learning From Knowledge Graph Explanations for Commonsense Reasoning

University of Southern California(南加州大学);IIT Delhi(印度理工学院德里分校)

Aaron Chan, Jiashu Xu, Boyuan Long, Soumya Sanyal, Tanishq Gupta, Xiang Ren

摘要:

用知识图谱(KG)增强预训练的语言模型在各种常识推理任务上取得了成功。然而,对于给定的任务实例,KG或KG的某些部分可能不是有用的。虽然KG增强模型经常使用注意力来关注特定的KG组件,但KG仍然总是被使用,并且注意力机制从未被明确教导应该使用哪些KG组件。同时,显著性方法可以测量KG特征(例如,图形、节点、路径)影响模型做出正确的预测,从而解释哪些KG特征有用。本文探讨了如何显着性解释可以用来提高KG增强模型的性能。首先,我们建议创建粗糙(KG有用吗?)和精细(KG中的哪些节点/路径有用?)显着性解释。其次,为了激励基于显着性的监督,我们分析了直接使用显着性解释作为额外输入来引导他们的注意力的甲骨文KG增强模型。第三,我们提出了SalKG,KG增强模型的框架,从粗糙和/或精细的显着性解释中学习。给定从任务训练集创建的显着性解释,SalKG联合训练模型来预测解释,然后通过关注预测解释突出的KG特征来解决任务。在三个常识性的QA基准测试(CSQA,OBQA,CODAH)和一系列KG增强模型上,我们表明SalKG可以产生相当大的性能增益-CSQA的绝对改善高达2.76%。

英文摘要:

Augmenting pre-trained language models with knowledge graphs (KGs) has achieved success on various commonsense reasoning tasks. However, for a given task instance, the KG, or certain parts of the KG, may not be useful. Although KG-augmented models often use attention to focus on specific KG components, the KG is still always used, and the attention mechanism is never explicitly taught which KG components should be used. Meanwhile, saliency methods can measure how much a KG feature (e.g., graph, node, path) influences the model to make the correct prediction, thus explaining which KG features are useful. This paper explores how saliency explanations can be used to improve KG-augmented models' performance. First, we propose to create coarse (Is the KG useful?) and fine (Which nodes/paths in the KG are useful?) saliency explanations. Second, to motivate saliency-based supervision, we analyze oracle KG-augmented models which directly use saliency explanations as extra inputs for guiding their attention. Third, we propose SalKG, a framework for KG-augmented models to learn from coarse and/or fine saliency explanations. Given saliency explanations created from a task's training set, SalKG jointly trains the model to predict the explanations, then solve the task by attending to KG features highlighted by the predicted explanations. On three commonsense QA benchmarks (CSQA, OBQA, CODAH) and a range of KG-augmented models, we show that SalKG can yield considerable performance gains -- up to 2.76% absolute improvement on CSQA.

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

↑