[论文解读] KG-BART: Knowledge Graph-Augmented BART for Generative Commonsense Reasoning
KG-BART 提出了一种知识图谱增强的 BART 模型,通过整合常识知识图谱来提升文本生成中的生成式常识推理能力。通过利用图注意力机制编码概念之间的关系知识,KG-BART 生成的句子更具合理性、自然性以及上下文连贯性,在 CommonGen 基准测试中,BLEU-3 和 BLEU-4 分别比 BART 提高了 5.80 和 4.60。
Generative commonsense reasoning which aims to empower machines to generate sentences with the capacity of reasoning over a set of concepts is a critical bottleneck for text generation. Even the state-of-the-art pre-trained language generation models struggle at this task and often produce implausible and anomalous sentences. One reason is that they rarely consider incorporating the knowledge graph which can provide rich relational information among the commonsense concepts. To promote the ability of commonsense reasoning for text generation, we propose a novel knowledge graph augmented pre-trained language generation model KG-BART, which encompasses the complex relations of concepts through the knowledge graph and produces more logical and natural sentences as output. Moreover, KG-BART can leverage the graph attention to aggregate the rich concept semantics that enhances the model generalization on unseen concept sets. Experiments on benchmark CommonGen dataset verify the effectiveness of our proposed approach by comparing with several strong pre-trained language generation models, particularly KG-BART outperforms BART by 5.80, 4.60, in terms of BLEU-3, 4. Moreover, we also show that the generated context by our model can work as background scenarios to benefit downstream commonsense QA tasks.
研究动机与目标
- 解决预训练语言模型在缺乏关系知识的情况下,难以生成合理、具备常识意识的文本的问题。
- 通过从知识图谱中引入结构化常识知识,克服现有模型在生成自然、上下文丰富句子方面的局限性。
- 通过在生成过程中利用知识图谱中的关系与上下文信息,提升模型对未见概念集合的泛化能力。
- 通过将概念锚定于外部知识图谱,实现更自然且逻辑一致的句子生成。
- 展示生成的上下文作为背景场景在提升下游常识问答任务中的实用性。
提出的方法
- 构建两个专用知识图谱:一个用于概念推理的关系图谱,用于建模概念之间的关系;另一个用于概念扩展的图谱,用于同时包含概念间与概念内关系。
- 通过知识图谱增强的 Transformer 模型将知识图谱集成到 BART 架构中,利用图注意力机制聚合关系语义。
- 在标记层面将文本标记与知识图谱实体对齐,实现自然语言与符号化知识表示之间的联合推理。
- 将经过知识图谱增强的表示作为额外输入引入编码器-解码器注意力机制,增强对概念集合的上下文理解。
- 采用端到端的序列到序列目标进行训练,联合优化文本生成与知识感知表征学习。
- 将融合后的文本-知识表示重新分解回标记层级,以生成流畅、连贯且富含常识事实的句子。
实验结果
研究问题
- RQ1在生成式常识推理任务中,引入外部知识图谱是否能显著提升生成句子的质量与合理性?
- RQ2知识图谱的集成在多大程度上增强了模型在文本生成过程中对未见概念集合的泛化能力?
- RQ3当使用生成的上下文作为背景知识时,知识图谱增强的生成方法在多大程度上能提升下游常识问答任务的性能?
- RQ4与标准注意力机制相比,图注意力机制是否能更好地建模常识概念之间的关系依赖?
- RQ5所提出的 KG-BART 框架能否有效扩展到其他预训练序列到序列模型(如 T5 或 MASS)?
主要发现
- KG-BART 在 CommonGen 基准测试中,BLEU-3 和 BLEU-4 分别比标准 BART 提高了 5.80 和 4.60,显著提升了生成质量。
- 该模型生成的句子更具自然性与合理性,例如 "Fisherman uses a strong net to catch plentiful fishes in the river",其中包含来自知识图谱事实的附加词如 "plentiful" 和 "strong"。
- 概念推理图谱能有效捕捉概念间关系(例如 "使用渔网捕鱼"),从而实现基于给定概念的逻辑句子构建。
- 概念扩展图谱通过整合概念间与概念内关系,提升了句子的流畅性,生成更丰富、更具描述性的输出。
- KG-BART 生成的上下文可作为有效的背景场景,显著提升下游常识问答任务的性能。
- 由于知识图谱提供的关系归纳偏置,该模型在未见概念集合上表现出良好的泛化能力,显著增强了零样本推理能力。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。