Filter-then-Generate: Large Language Models with Structure-Text Adapter for Knowledge Graph Completion
Liu, Ben, Zhang, Jihai, Lin, Fangquan, Yang, Cheng, Peng, Min
–arXiv.org Artificial Intelligence
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 \textit{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 \url{https://github.com/LB0828/FtG}.
arXiv.org Artificial Intelligence
Jan-9-2025
- Country:
- North America
- United States
- Nevada (0.04)
- Texas > Travis County
- Austin (0.04)
- New York
- Richmond County > New York City (0.04)
- Queens County > New York City (0.04)
- New York County > New York City (0.04)
- Kings County > New York City (0.04)
- Bronx County > New York City (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- Florida > Miami-Dade County
- Miami (0.04)
- California > Los Angeles County
- Long Beach (0.04)
- Alaska > Anchorage Municipality
- Anchorage (0.04)
- Mexico > Mexico City
- Mexico City (0.04)
- Canada
- Ontario > Toronto (0.04)
- Quebec > Montreal (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- United States
- Europe
- Holy See > Vatican City (0.04)
- Greece (0.04)
- Slovenia > Central Slovenia
- Municipality of Ljubljana > Ljubljana (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Germany
- Saxony > Leipzig (0.04)
- Hesse > Darmstadt Region
- Darmstadt (0.04)
- Bavaria > Upper Bavaria
- Munich (0.04)
- Baden-Württemberg
- Stuttgart Region > Stuttgart (0.04)
- Karlsruhe Region > Karlsruhe (0.04)
- Freiburg (0.04)
- France > Auvergne-Rhône-Alpes
- Denmark > Capital Region
- Copenhagen (0.04)
- Asia
- Singapore (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- China
- Zhejiang Province > Hangzhou (0.04)
- Hubei Province > Wuhan (0.04)
- Beijing > Beijing (0.04)
- Africa
- Lesotho (0.14)
- Senegal (0.04)
- West Africa (0.04)
- Ethiopia > Addis Ababa
- Addis Ababa (0.04)
- North America
- Genre:
- Research Report > New Finding (0.66)
- Technology: