KG-BiLM: Knowledge Graph Embedding via Bidirectional Language Models
Zirui Chen, Xin Wang, Zhao Li, Wenbin Guo, Dongxiao He, Yanbing Li, Wushour Silamu
Abstract
Recent advances in knowledge representation learning (KRL) highlight the urgent necessity to unify symbolic knowledge graphs (KGs) with language models (LMs) for richer semantic understanding. However, existing approaches typically prioritize either graph structure or textual semantics, which leaves a gap, i.e., a unified framework that simultaneously captures global KG connectivity, nuanced linguistic context, and discriminative reasoning semantics. To bridge this gap, we introduce KG-BiLM, a bidirectional LM framework that fuses structural cues from KGs with the semantic expressiveness of generative transformers. KG-BiLM incorporates three key components: (i) Bidirectional Knowledge Attention, which eliminates the causal mask to enable full interaction among all tokens and entities; (ii) Knowledge-Masked Prediction, which encourages the model to leverage both local semantic contexts and global graph connectivity; and (iii) Contrastive Graph Semantic Aggregation, which preserves KG structure via contrastive alignment of sampled subgraph representations. Extensive experiments on standard benchmarks demonstrate that KG-BiLM outperforms the state-of-the-art baselines in link prediction, especially on large-scale graphs with complex multi-hop relations—validating its effectiveness in unifying structural information and textual semantics. The source code of KG-BiLM is available at https://github.com/zirui-chen/kg-bilm
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2e0bf7d8-a0d0-492e-ba19-fd0b14b3457eBuilds on15
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Composition-based Multi-Relational Graph Convolutional NetworksShikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. TalukdarICLR 2020 · 1,105 citations
- K-BERT: Enabling Language Representation with Knowledge GraphWeijie Liu, Peng Zhou, Zhe Zhao, Zhiruo Wang et al.AAAI 2020 · 898 citations
- Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link PredictionZhaocheng Zhu, Zuobai Zhang, Louis-Pascal A. C. Xhonneux, Jian TangNeurIPS 2021 · 546 citations
- (Comet-) Atomic 2020: On Symbolic and Neural Commonsense Knowledge GraphsJena D. Hwang, Chandra Bhagavatula, Ronan Le Bras, Jeff Da et al.AAAI 2021 · 458 citations
Related papers
- UniLP: Unified Topology-aware Generative Framework for Link Prediction in Knowledge GraphBen Liu, Miao Peng, Wenjie Xu, Xu Jia et al.WWW 2024 · 9 citations
- Answering Complex Queries in Knowledge Graphs with Bidirectional Sequence EncodersBhushan Kotnis, Carolin Lawrence, Mathias NiepertAAAI 2021 · 48 citations
- Graph Language ModelsMoritz Plenz, Anette FrankACL 2024
- VL-KGE: Vision-Language Models Meet Knowledge Graph EmbeddingsAthanasios Efthymiou, Stevan Rudinac, Monika Kackovic, Nachoem Wijnberg et al.WWW 2026 · 2 citations
- 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
