Two-stage Generative Question Answering on Temporal Knowledge Graph Using Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Gao, Yifu, Qiao, Linbo, Kan, Zhigang, Wen, Zhihua, He, Yongquan, Li, Dongsheng
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909266166677504
author Gao, Yifu
Qiao, Linbo
Kan, Zhigang
Wen, Zhihua
He, Yongquan
Li, Dongsheng
author_facet Gao, Yifu
Qiao, Linbo
Kan, Zhigang
Wen, Zhihua
He, Yongquan
Li, Dongsheng
contents Temporal knowledge graph question answering (TKGQA) poses a significant challenge task, due to the temporal constraints hidden in questions and the answers sought from dynamic structured knowledge. Although large language models (LLMs) have made considerable progress in their reasoning ability over structured data, their application to the TKGQA task is a relatively unexplored area. This paper first proposes a novel generative temporal knowledge graph question answering framework, GenTKGQA, which guides LLMs to answer temporal questions through two phases: Subgraph Retrieval and Answer Generation. First, we exploit LLM's intrinsic knowledge to mine temporal constraints and structural links in the questions without extra training, thus narrowing down the subgraph search space in both temporal and structural dimensions. Next, we design virtual knowledge indicators to fuse the graph neural network signals of the subgraph and the text representations of the LLM in a non-shallow way, which helps the open-source LLM deeply understand the temporal order and structural dependencies among the retrieved facts through instruction tuning. Experimental results on two widely used datasets demonstrate the superiority of our model.
format Preprint
id arxiv_https___arxiv_org_abs_2402_16568
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Two-stage Generative Question Answering on Temporal Knowledge Graph Using Large Language Models
Gao, Yifu
Qiao, Linbo
Kan, Zhigang
Wen, Zhihua
He, Yongquan
Li, Dongsheng
Computation and Language
Temporal knowledge graph question answering (TKGQA) poses a significant challenge task, due to the temporal constraints hidden in questions and the answers sought from dynamic structured knowledge. Although large language models (LLMs) have made considerable progress in their reasoning ability over structured data, their application to the TKGQA task is a relatively unexplored area. This paper first proposes a novel generative temporal knowledge graph question answering framework, GenTKGQA, which guides LLMs to answer temporal questions through two phases: Subgraph Retrieval and Answer Generation. First, we exploit LLM's intrinsic knowledge to mine temporal constraints and structural links in the questions without extra training, thus narrowing down the subgraph search space in both temporal and structural dimensions. Next, we design virtual knowledge indicators to fuse the graph neural network signals of the subgraph and the text representations of the LLM in a non-shallow way, which helps the open-source LLM deeply understand the temporal order and structural dependencies among the retrieved facts through instruction tuning. Experimental results on two widely used datasets demonstrate the superiority of our model.
title Two-stage Generative Question Answering on Temporal Knowledge Graph Using Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2402.16568