arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.00975cs.CLcs.AI
收藏

用于问答的关系感知语言-图 Transformer

Relation-Aware Language-Graph Transformer for Question Answering

Korea University(高丽大学);NAVER(NAVER公司);NAVER Cloud(NAVER云);NAVER AI Lab(NAVER人工智能实验室)

Jinyoung Park, Hyeong Kyu Choi, Juyeon Ko, Hyeonjin Park, Ji-Hoon Kim, Jisu Jeong, Kyungmin Kim, Hyunwoo J. Kim

AI总结:

针对现有问答方法未充分利用知识图谱关系且语言与图交互有限的问题,提出 QAT,通过 Meta-Path token 和关系感知跨模态注意力实现统一推理,并在多个常识与医学问答基准上达到 SOTA。

摘要:

问答(QA)是一项需要对自然语言上下文进行推理的任务,许多相关工作通过图神经网络(GNN)增强语言模型(LM),以编码知识图谱(KG)信息。然而,现有大多数用于问答的基于 GNN 的模块没有利用 KG 中丰富的关系信息,并且依赖于 LM 与 KG 之间有限的信息交互。为解决这些问题,我们提出了 Question Answering Transformer(QAT),其旨在以统一方式围绕实体关系统一对语言和图进行推理。具体而言,QAT 构建 Meta-Path token,基于多样的结构和语义关系学习以关系为中心的嵌入。随后,我们的关系感知自注意力模块通过跨模态相对位置偏差全面整合不同模态,该偏差引导不同模态相关实体之间的信息交换。我们在 CommonsenseQA、OpenBookQA 等常识问答数据集以及医学问答数据集 MedQA-USMLE 上验证了 QAT 的有效性。在所有数据集上,我们的方法均取得最先进性能。代码位于 http://github.com/mlvlab/QAT。

英文摘要:

Question Answering (QA) is a task that entails reasoning over natural language contexts, and many relevant works augment language models (LMs) with graph neural networks (GNNs) to encode the Knowledge Graph (KG) information. However, most existing GNN-based modules for QA do not take advantage of rich relational information of KGs and depend on limited information interaction between the LM and the KG. To address these issues, we propose Question Answering Transformer (QAT), which is designed to jointly reason over language and graphs with respect to entity relations in a unified manner. Specifically, QAT constructs Meta-Path tokens, which learn relation-centric embeddings based on diverse structural and semantic relations. Then, our Relation-Aware Self-Attention module comprehensively integrates different modalities via the Cross-Modal Relative Position Bias, which guides information exchange between relevant entites of different modalities. We validate the effectiveness of QAT on commonsense question answering datasets like CommonsenseQA and OpenBookQA, and on a medical question answering dataset, MedQA-USMLE. On all the datasets, our method achieves state-of-the-art performance. Our code is available at http://github.com/mlvlab/QAT.

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

↑