Skip to main content
QUICK REVIEW

[论文解读] UniKGQA: Unified Retrieval and Reasoning for Solving Multi-hop Question Answering Over Knowledge Graph

Jinhao Jiang, Kun Zhou|arXiv (Cornell University)|Dec 2, 2022
Topic Modeling被引用 28
一句话总结

UniKGQA 提出一个统一模型,联合处理多跳知识图谱问答的检索与推理,使用语义匹配的 PLM 和信息传播模块,检索使用抽象子图且共享预训练任务。

ABSTRACT

Multi-hop Question Answering over Knowledge Graph~(KGQA) aims to find the answer entities that are multiple hops away from the topic entities mentioned in a natural language question on a large-scale Knowledge Graph (KG). To cope with the vast search space, existing work usually adopts a two-stage approach: it first retrieves a relatively small subgraph related to the question and then performs the reasoning on the subgraph to find the answer entities accurately. Although these two stages are highly related, previous work employs very different technical solutions for developing the retrieval and reasoning models, neglecting their relatedness in task essence. In this paper, we propose UniKGQA, a novel approach for multi-hop KGQA task, by unifying retrieval and reasoning in both model architecture and parameter learning. For model architecture, UniKGQA consists of a semantic matching module based on a pre-trained language model~(PLM) for question-relation semantic matching, and a matching information propagation module to propagate the matching information along the directed edges on KGs. For parameter learning, we design a shared pre-training task based on question-relation matching for both retrieval and reasoning models, and then propose retrieval- and reasoning-oriented fine-tuning strategies. Compared with previous studies, our approach is more unified, tightly relating the retrieval and reasoning stages. Extensive experiments on three benchmark datasets have demonstrated the effectiveness of our method on the multi-hop KGQA task. Our codes and data are publicly available at~\url{https://github.com/RUCAIBox/UniKGQA}.

研究动机与目标

  • Motivate and address the inefficiency of separate retrieval and reasoning stages in multi-hop KGQA.
  • Propose a unified architecture that shares parameters and signals between retrieval and reasoning.
  • Introduce abstract subgraphs to normalize scale differences between stages.
  • Design pre-training and fine-tuning strategies to transfer knowledge between stages.
  • Demonstrate effectiveness on benchmark datasets and analyze retrieval quality and training impact.

提出的方法

  • A dual-module architecture: semantic matching (SM) with a PLM for question–relation relevance, and a matching information propagation (MIP) module that propagates SM signals along KG edges.
  • Abstract subgraphs for retrieval: merge tails of triples with the same head-relation prefix to reduce node scale.
  • Shared pre-training task (Question-Relation Matching) with contrastive learning to align questions with relevant relations, using shortest paths between topics and answers to define positives.
  • Two-stage fine-tuning: Retrieval on abstract subgraphs (RAS) using KL-divergence against ground-truth abstract-node signals; Reasoning on retrieved subgraphs (RRS) initializing from the retrieval model and fine-tuning with KL-divergence against ground-truth tail signals.
  • Unified optimization where PLM parameters are shared and can be fixed or per-stage updated (w/ QU vs w/ QU,RU variants).

实验结果

研究问题

  • RQ1Can a unified model architecture improve both retrieval and reasoning in multi-hop KGQA compared to separate-stage approaches?
  • RQ2Does sharing parameters and transferring relevance information between retrieval and reasoning improve overall QA performance?
  • RQ3Do abstract subgraphs effectively bridge the scale gap between retrieval and reasoning stages without sacrificing accuracy?
  • RQ4Can pre-training on question–relation matching and subsequent fine-tuning yield efficient and effective learning for both stages?

主要发现

模型WebQSP Hits@1WebQSP F1CWQ Hits@1CWQ F1MetaQA-1 Hits@1MetaQA-2 Hits@1MetaQA-3 Hits@1
KV-Mem46.734.518.415.796.282.748.9
GraftNet66.460.436.832.797.094.877.7
PullNet68.1-45.9-97.099.991.4
EmbedKGQA66.6---97.598.894.8
NSM68.762.847.642.497.199.998.9
TransferNet71.4-48.6-97.5100100
SR+NSM68.964.150.247.1---
SR+NSM+E2E69.564.149.346.3---
UniKGQA75.170.250.748.097.599.099.1
w QU77.071.050.949.497.699.999.5
w QU,RU77.272.251.249.098.099.999.9
  • UniKGQA outperforms baselines on WebQSP and CWQ, with notable gains in Hits@1.
  • Retrieval evaluation shows higher answer coverage with learned retrieval vs heuristic methods at comparable subgraph sizes.
  • Ablation studies confirm two training strategies (pre-training and initialization transfer) are both beneficial.
  • Updating PLM encoder only for questions can match or exceed updating for both questions and relations, offering efficiency benefits.
  • Unified architecture enables effective transfer of relevance information from retrieval to reasoning, improving final QA metrics.
  • Two variants (w QU and w QU,RU) provide strong performance with different computational trade-offs.

更好的研究,从现在开始

从论文设计到论文写作,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。