Self-supervised Quantized Representation for Seamlessly Integrating Knowledge Graphs with Large Language Models
Qika Lin, Tianzhe Zhao, Kai He, Zhen Peng, Fangzhi Xu, Ling Huang, Jingying Ma, Mengling Feng
Abstract
Due to the presence of the natural gap between Knowledge Graph (KG) structures and the natural language, the effective integration of holistic structural information of KGs with Large Language Models (LLMs) has emerged as a significant question. To this end, we propose a two-stage framework to learn and apply quantized codes for each entity, aiming for the seamless integration of KGs with LLMs. Firstly, a self-supervised quantized representation (SSQR) method is proposed to compress both KG structural and semantic knowledge into discrete codes (i.e., tokens) that align the format of language sentences. We further design KG instruction-following data by viewing these learned codes as features to directly input to LLMs, thereby achieving seamless integration. The experiment results demonstrate that SSQR outperforms existing unsupervised quantized methods, producing more distinguishable codes. Further, the fine-tuned LLaMA2 and LLaMA3.1 also have superior performance on KG link prediction and triple classification tasks, utilizing only 16 tokens per entity instead of thousands in conventional prompting methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ReaLM: Residual Quantization Bridges Knowledge Graph Embeddings and Large Language Models cites KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion
- ReaLM: Residual Quantization Bridges Knowledge Graph Embeddings and Large Language Models cites NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge Graphs
- GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph Completion cites KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion
- GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph Completion cites Composition-based Multi-Relational Graph Convolutional Networks
- KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion cites Composition-based Multi-Relational Graph Convolutional Networks
- NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge Graphs cites Composition-based Multi-Relational Graph Convolutional Networks
Cited by top-tier papers6
- CodeBrain: Bridging Decoupled Tokenizer and Multi-Scale Architecture for EEG Foundation ModelJingying Ma, Feng Wu, Qika Lin, Yucheng Xing et al.ICLR 2026 · 25 citations
- MARS: Multi-Agent Adaptive Reasoning with Socratic Guidance for Automated Prompt OptimizationJian Zhang, Zhangqi Wang, Haiping Zhu, Kangda Cheng et al.AAAI 2026 · 9 citations
- : One LLM Token for Explicit Graph Structural UnderstandingJingyao Wu, Bin Lu, Zijun Di, Xiaoying Gan et al.ICLR 2026 · 2 citations
- ReaLM: Residual Quantization Bridges Knowledge Graph Embeddings and Large Language ModelsWenbin Guo, Xin Wang, Jiaoyan Chen, Lingbing Guo et al.WWW 2026
- GS-Quant: Granular Semantic and Generative Structural Quantization for Knowledge Graph CompletionQizhuo Xie, Yunhui Liu, Yu Xing, Qianzi Hou et al.ACL 2026
Builds on25
- Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
- Think-on-Graph: Deep and Responsible Reasoning of Large Language Model on Knowledge GraphJiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang et al.ICLR 2024 · 247 citations
- NodePiece: Compositional and Parameter-Efficient Representations of Large Knowledge GraphsMikhail Galkin, Etienne G. Denis, Jiapeng Wu, William L. HamiltonICLR 2022 · 114 citations
- Do Pre-trained Models Benefit Knowledge Graph Completion? A Reliable Evaluation and a Reasonable ApproachXin Lv, Yankai Lin, Yixin Cao, Lei Hou et al.ACL Findings 2022 · 97 citations
- KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph CompletionYanbin Wei, Qiushi Huang, Yu Zhang, James T. KwokEMNLP Findings 2023 · 96 citations
Related papers
- Quantizing Text-attributed Graphs for Semantic-Structural IntegrationJianyuan Bo, Hao Wu, Yuan FangKDD 2025
- K-ON: Stacking Knowledge on the Head Layer of Large Language ModelLingbing Guo, Yichi Zhang, Zhongpu Bo, Zhuo Chen et al.AAAI 2025 · 4 citations
- LightPROF: A Lightweight Reasoning Framework for Large Language Model on Knowledge GraphTu Ao, Yanhua Yu, Yuling Wang, Yang Deng et al.AAAI 2025 · 28 citations
- MKGL: Mastery of a Three-Word LanguageLingbing Guo, Zhongpu Bo, Zhuo Chen, Yichi Zhang et al.NeurIPS 2024 · 27 citations
- A New Pipeline for Knowledge Graph Reasoning Enhanced by Large Language Models Without Fine-TuningZhongwu Chen, Long Bai, Zixuan Li, Zhen Huang et al.EMNLP 2024 · 3 citations
