home..

CBR-SUBG ———— Knowledge Base Question Answering by Case-based Reasoning over Subgraphs

Abstract

理念

we hypothesize in a large KB, reasoning patterns required to answer a query type reoccur for various entities in their respective subgraph neighborhoods.

同一子图里面的不同节点倾向于使用同样的reasoning pattern?

model

we introduce a semiparametric model (CBR-SUBG) with

1.Introduction

weakly-supervised

challenges

Case-based Reasoning (CBR)

Contributions.

2.Related work

3.Model

In CBR, a case is defined as an abstract representation of a problem along with its solution.

In our KBQA setting, a case is a natural language query along with its answer(entities).

Task Description

训练集:$\mathcal{D}={(q_1,\mathcal{A}_1),(q_2,\mathcal{A}_2),…,(q_N,\mathcal{A}_n)}$

Method Overrview

For input $q$ and $\mathcal{K}$,

3.1. Retrieval of Similar Cases

model

具体方法

3.2. Query-subgraph Selection

寻找子图时的目标

naive strategy

nonparametric approach of query subgraph collection

看训练集里面的每一个case,怎么选这个子图呢?就是把能够从 query 中的 entity 连到 answer 的 path 全部都留下,形成一个子图。

3.3. Reasoning over Multiple Subgraphs

overview

Input node representations

用 node 伸出来的边的类型来 represent 这个 entity,即$x_v\in{0, 1}^{|\mathcal{R}|}$

Relative distance enbedding

Message passing

R-GCN

Training

loss function image.png

Inference

image.png

4. Experiments

一些训练数据

© 2023 huyi   •  Powered by Soopr   •  Theme  Moonwalk