Filter-then-Generate: Large Language Models with Structure-Text Adapter for Knowledge Graph Completion

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Ben, Zhang, Jihai, Lin, Fangquan, Yang, Cheng, Peng, Min
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915142732611584
author Liu, Ben
Zhang, Jihai
Lin, Fangquan
Yang, Cheng
Peng, Min
author_facet Liu, Ben
Zhang, Jihai
Lin, Fangquan
Yang, Cheng
Peng, Min
contents Large Language Models (LLMs) present massive inherent knowledge and superior semantic comprehension capability, which have revolutionized various tasks in natural language processing. Despite their success, a critical gap remains in enabling LLMs to perform knowledge graph completion (KGC). Empirical evidence suggests that LLMs consistently perform worse than conventional KGC approaches, even through sophisticated prompt design or tailored instruction-tuning. Fundamentally, applying LLMs on KGC introduces several critical challenges, including a vast set of entity candidates, hallucination issue of LLMs, and under-exploitation of the graph structure. To address these challenges, we propose a novel instruction-tuning-based method, namely FtG. Specifically, we present a filter-then-generate paradigm and formulate the KGC task into a multiple-choice question format. In this way, we can harness the capability of LLMs while mitigating the issue casused by hallucinations. Moreover, we devise a flexible ego-graph serialization prompt and employ a structure-text adapter to couple structure and text information in a contextualized manner. Experimental results demonstrate that FtG achieves substantial performance gain compared to existing state-of-the-art methods. The instruction dataset and code are available at https://github.com/LB0828/FtG.
format Preprint
id arxiv_https___arxiv_org_abs_2412_09094
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Filter-then-Generate: Large Language Models with Structure-Text Adapter for Knowledge Graph Completion
Liu, Ben
Zhang, Jihai
Lin, Fangquan
Yang, Cheng
Peng, Min
Computation and Language
Artificial Intelligence
Machine Learning
Large Language Models (LLMs) present massive inherent knowledge and superior semantic comprehension capability, which have revolutionized various tasks in natural language processing. Despite their success, a critical gap remains in enabling LLMs to perform knowledge graph completion (KGC). Empirical evidence suggests that LLMs consistently perform worse than conventional KGC approaches, even through sophisticated prompt design or tailored instruction-tuning. Fundamentally, applying LLMs on KGC introduces several critical challenges, including a vast set of entity candidates, hallucination issue of LLMs, and under-exploitation of the graph structure. To address these challenges, we propose a novel instruction-tuning-based method, namely FtG. Specifically, we present a filter-then-generate paradigm and formulate the KGC task into a multiple-choice question format. In this way, we can harness the capability of LLMs while mitigating the issue casused by hallucinations. Moreover, we devise a flexible ego-graph serialization prompt and employ a structure-text adapter to couple structure and text information in a contextualized manner. Experimental results demonstrate that FtG achieves substantial performance gain compared to existing state-of-the-art methods. The instruction dataset and code are available at https://github.com/LB0828/FtG.
title Filter-then-Generate: Large Language Models with Structure-Text Adapter for Knowledge Graph Completion
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2412.09094