Direct Fact Retrieval from Knowledge Graphs without Entity Linking

Jinheon Baek, Alham Fikri Aji, Jens Lehmann, Sung Ju Hwang

Abstract

Retrieving specific facts from a Knowledge Graph (KG) has traditionally required a multi-stage pipeline involving entity mention detection, disambiguation, and relation classification. These pipelines are prone to error propagation, require intensive labeling, and often fail to generalize across different KG schemas. This paper introduces DiFaR (Direct Fact Retrieval), a framework that bypasses the entity linking bottleneck by treating KG triplets as text and retrieving them directly in a dense vector space. Our approach demonstrates superior accuracy, efficiency, and zero-shot generalization capabilities across multiple benchmarks.

1. Introduction: The Entity Linking Bottleneck

The conventional approach to fact retrieval from Knowledge Graphs relies on a rigid pipeline. For a query like "Where was Michael F. Phelps born?", a system must first detect the entity mention, disambiguate "Michael F. Phelps" to a specific database ID (e.g., Q39562 in Wikidata), and then classify the intended relation ("place of birth").

This status quo has three major flaws:

  1. Error Propagation: Failure at the initial entity detection stage inevitably leads to total system failure.
  2. Label Intensity: Training requires separate, high-quality datasets for detection, disambiguation, and classification.
  3. Lack of Generalization: Pipeline components are often hard-coded to specific KG schemas, making them difficult to adapt to new graphs without extensive retraining.

2. Methodology: Direct Fact Retrieval

The proposed DiFaR framework simplifies this process into a single dense retrieval step. By embedding KG triplets—such as (Michael Phelps, place of birth, Baltimore)—and natural language queries into the same vector space, the system can retrieve facts based on semantic similarity rather than explicit ID matching.

Comparison between conventional pipeline-based fact retrieval (a) and the proposed direct retrieval approach (b).

The researchers developed two versions of the system:

  • DiFaR (The Retriever): Utilizes a bi-encoder architecture (DistilBERT) to convert facts and queries into dense vectors. Efficient similarity search is performed using the FAISS library.
  • DiFaR² (The Reranker): To address the sparsity of KG triplets, a cross-encoder (MiniLM) reranks the top-k results. This model captures fine-grained token-level interactions between the query and the fact, significantly enhancing precision.

The system is trained using contrastive learning, which optimizes the representation space to bring relevant query-fact pairs closer together while separating irrelevant ones.

3. Experimental Setup

The performance of DiFaR was evaluated across four diverse datasets:

  • SimpleQuestions: A benchmark for single-relation questions.
  • WebQuestionsSP (WebQSP): Complex questions based on the Freebase KG.
  • Mintaka: A dataset requiring multi-hop reasoning and handling diverse relations.
  • OpenDialKG: A dialogue-based dataset focused on conversational fact retrieval.

4. Key Results and Analysis

DiFaR² consistently outperformed traditional pipeline baselines, including spaCy, BLINK, and ReFinED. Notably, on the Mintaka dataset, DiFaR² achieved a Mean Reciprocal Rank (MRR) of 0.4189, nearly doubling the performance of the BLINK entity linker (0.2075).

Performance comparison of DiFaR against state-of-the-art entity linking pipelines (BLINK, ReFinED) across Wikidata and Freebase datasets.

Key insights from the results include:

  • Implicit Linking: Semantic embeddings are powerful enough to handle entity linking implicitly, learning to associate text with triplets through representational similarity.
  • Zero-Shot Generalization: Because it relies on language models rather than fixed schemas, a model trained on Wikidata can successfully retrieve facts from Freebase without additional fine-tuning.
  • Efficiency: Reranking the top 10 facts adds minimal overhead, taking less than 20% of the initial retrieval time, ensuring the system remains viable for real-time use.

5. Conclusion and Future Work

By removing the need for explicit entity linking, DiFaR makes Knowledge Graphs significantly more accessible for downstream NLP tasks. While the system handles single-hop facts exceptionally well, future work will focus on improving multi-hop reasoning for complex queries and incorporating graph topology to provide richer context beyond flat triplet representations.

Summary updated

BibTeX
@inproceedings{baek2023direct,
  author = {Jinheon Baek and Alham Fikri Aji and Jens Lehmann and Sung Ju Hwang},
  title = {{Direct Fact Retrieval from Knowledge Graphs without Entity Linking}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.558},
}
Figure