Enhancing Large Language Model for Knowledge Graph Completion via Structure-Aware Alignment-Tuning
Preprint
Abstract
Knowledge graph completion (KGC) aims to infer new knowledge and make predictions from knowledge graphs. Recently, large language models (LLMs) have exhibited remarkable reasoning capabilities. LLM-enhanced KGC methods primarily focus on designing task-specific instructions, achieving promising advancements. However, there are still two critical challenges. First, existing methods often ignore the inconsistent representation spaces between natural language and graph structures. Second, most approaches design separate instructions for different KGC tasks, leading to duplicate works and time-consuming processes. To address these challenges, we propose SAT, a novel framework that enhances LLMs for KGC via structure-aware alignment-tuning. Specifically, we first introduce hierarchical knowledge alignment to align graph embeddings with the natural language space through multi-task contrastive learning. Then, we propose structural instruction tuning to guide LLMs in performing structure-aware reasoning over KGs, using a unified graph instruction combined with a lightweight knowledge adapter. Experimental results on two KGC tasks across four benchmark datasets demonstrate that SAT significantly outperforms state-of-the-art methods, especially in the link prediction task with improvements ranging from 8.7% to 29.8%.Keywords
All Related Versions
This publication has 16 references indexed in Scilit:
- KICGPTv2: Large Language Model With Knowledge in Context for Knowledge Graph CompletionIEEE Transactions on Knowledge and Data Engineering, 2026
- KERMIT: Knowledge graph completion of enhanced relation modeling with inverse transformationKnowledge-Based Systems, 2025
- Exploring Large Language Models for Knowledge Graph Completion2025
- Prompting disentangled embeddings for knowledge graph completion with pre-trained language modelExpert Systems with Applications, 2024
- Making Large Language Models Perform Better in Knowledge Graph Completion2024
- Enhancing text-based knowledge graph completion with zero-shot large language models: A focus on semantic enhancementKnowledge-Based Systems, 2024
- Knowledge Graphs: Introduction, History and, PerspectivesAI Magazine, 2022
- KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language RepresentationTransactions of the Association for Computational Linguistics, 2021
- A Survey on Knowledge Graph-Based Recommender SystemsIEEE Transactions on Knowledge and Data Engineering, 2020
- CoDEx: A Comprehensive Knowledge Graph Completion Benchmark2020