Skip to main navigation Skip to search Skip to main content

ReaLM: Residual Quantization Bridging Knowledge Graph Embeddings and Large Language Models

  • Wenbin Guo
  • , Xin Wang
  • , Jiaoyan Chen
  • , Lingbing Guo
  • , Zhao Li
  • , Zirui Chen
  • Tianjin University

Research output: Chapter in Book/Conference proceeding › Conference contribution › peer-review

65 Downloads (Pure)

Abstract

Large Language Models (LLMs) have recently emerged as a powerful paradigm for Knowledge Graph Completion (KGC), offering strong reasoning and generalization capabilities beyond traditional embedding-based approaches. However, existing LLM-based methods often struggle to fully exploit structured semantic representations, as the continuous embedding space of pretrained KG models is fundamentally misaligned with the discrete token space of LLMs. This discrepancy hinders effective semantic transfer and limits their performance. To address this challenge, we propose ReaLM, a novel and effective framework that bridges the gap between KG embeddings and LLM tokenization through the mechanism of residual vector quantization. ReaLM discretizes pretrained KG embeddings into compact code sequences and integrates them as learnable tokens within the LLM vocabulary, enabling seamless fusion of symbolic and contextual knowledge. Furthermore, we incorporate ontology-guided class constraints to enforce semantic consistency, refining entity predictions based on class-level compatibility. Extensive experiments on two widely used benchmark datasets demonstrate that ReaLM achieves state-of-the-art performance, confirming its effectiveness in aligning structured knowledge with large-scale language models. The implementation is publicly available at https://github.com/xiumu-gg/ReaLM.
Original languageEnglish
Title of host publicationTHE ACM WEB CONFERENCE 2026
Subtitle of host publicationWWW
PublisherAssociation for Computing Machinery
Pages3996 - 4007
DOIs
Publication statusPublished - 12 Apr 2026

Fingerprint

Dive into the research topics of 'ReaLM: Residual Quantization Bridging Knowledge Graph Embeddings and Large Language Models'. Together they form a unique fingerprint.

Cite this