Lune

ACL Findings2024

Knowledge Context Modeling with Pre-trained Language Models for Contrastive Knowledge Graph Completion

Guangqian Yang, Yi Liu, Lei Zhang, Licheng Zhang, Hongtao Xie, Zhendong Mao

Abstract

Text-based knowledge graph completion (KGC) methods utilize pre-trained language models for triple encoding and further fine-tune the model to achieve completion. Despite their excellent performance, they neglect the knowledge context in inferring process. Intuitively, knowledge contexts, which refer to the neighboring triples around the target triples, are important information for triple inferring, since they provide additional detailed information about the entities. To this end, we propose a novel framework named KnowC, which models the knowledge context as additional prompts with pre-trained language models for knowledge graph completion. Given the substantial number of neighbors typically associated with entities, along with the constrained input token capacity of language models, we further devise several strategies to sample the neighbors. We conduct extensive experiments on common datasets FB15k-237, WN18RR and Wikidata5M, experiments show that KnowC achieves state-of-the-art performance.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Generalization through Memorization: Nearest Neighbor Language Models
  • Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites A Simple Framework for Contrastive Learning of Visual Representations
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ReaLM: Residual Quantization Bridges Knowledge Graph Embeddings and Large Language ModelsWenbin Guo, Xin Wang, Jiaoyan Chen, Lingbing Guo et al.WWW 2026

Builds on12

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
  3. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  4. Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
  5. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations

Related papers

  1. Knowledge Graph Completion with Relation-Aware Anchor EnhancementDuanyang Yuan, Sihang Zhou, Xiaoshu Chen, Dong Wang et al.AAAI 2025 · 12 citations
  2. KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph CompletionYanbin Wei, Qiushi Huang, Yu Zhang, James T. KwokEMNLP Findings 2023 · 96 citations
  3. Pre-trained Language Model with Prompts for Temporal Knowledge Graph CompletionWenjie Xu, Ben Liu, Miao Peng, Xu Jia et al.ACL Findings 2023 · 53 citations
  4. Path-enhanced Pre-trained Language Model for Knowledge Graph CompletionHao Wang, Dandan Song, Zhijing Wu, Yuhang Tian et al.EMNLP Findings 2025
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines