NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Knowledge Base-enhanced Multilingual Relation Extraction with Large Language Models

Tong Chen, Procheta Sen, Zimu Wang, Zhengyong Jiang, Jionglong SuLKM @ IJCAI 2024

Abstract

Large Language Models (LLMs) demonstrate significant reasoning capabilities but often struggle with Relation Extraction (RE) due to context unawareness, schema misalignment, and limited world knowledge. This paper introduces a two-stage framework that integrates external knowledge from Wikidata to enhance RE performance. By linking entities to a Knowledge Base (KB) and utilizing LLMs as verifiers for candidate relations, the framework achieves state-of-the-art results across multiple benchmarks. Notably, this approach allows smaller models to outperform significantly larger counterparts, suggesting that external knowledge acts as a scaling shortcut for structured information extraction.

Introduction

Relation Extraction (RE) is a fundamental task in natural language processing, aimed at identifying structured relationships between entities within text—for example, recognizing that "Apple Inc." has a product produced relationship with the "iPhone." Despite the success of LLMs in general reasoning tasks, they face three primary challenges in RE:

  1. Context Unawareness: Models often miss subtle linguistic cues that connect entities.
  2. Schema Misalignment: Human-defined database schemas are frequently more rigid than the natural language labels an LLM might generate.
  3. World Knowledge Ignorance: LLMs rely on internal training data that may be outdated or incomplete, leading them to ignore factual relationships not explicitly stated in the text.

This work addresses these issues by bridging the gap between the vast, structured facts in Knowledge Bases and the reasoning power of LLMs, particularly in multilingual settings.

Methodology

The proposed framework operates in two distinct stages: Entity Linking and Relation Inference.

  1. Entity Linking and Querying: Given a text and identified entities, the system first links those entities to Wikidata, a massive multilingual knowledge base. It uses SPARQL queries to determine if a known relationship already exists between these entities in the real world. This provides a "candidate relation" that serves as a contextual hint.
  2. Relation Inference: The LLM is then prompted using In-Context Learning (ICL). If a candidate relation was found in the KB, the LLM is asked a binary verification question: "Does this specific relationship actually occur in this text?" If no relation was found, the LLM falls back to a standard classification task against the dataset's schema.
The two-stage framework: Entity Linking to Wikidata followed by Relation Inference using an LLM verifier.

Experimental Results

The framework was evaluated across three major benchmarks: DocRED (document-level reasoning), REBEL (large-scale distant supervision), and REDFM (multilingual).

Key Findings

  • Inferencers vs. Classifiers: LLMs are significantly more effective at being inferencers (verifying a suggested fact) than classifiers (selecting one label from a large set). When the KB provides a hint, the LLM's accuracy improves dramatically.
  • Knowledge as a Scaling Shortcut: The researchers identified a "scaling law" for knowledge. A smaller model (e.g., 80M parameters) equipped with KB knowledge can outperform models with 10x to 40x more parameters that lack that knowledge.
F1-score vs. Model Parameters, showing how external knowledge allows smaller models to compete with or exceed the performance of larger models.
  • State-of-the-Art Performance: Flan-T5-XL emerged as the top performer. On the DocRED dataset, it achieved an F1-score of 73.90, significantly outperforming previous specialized fine-tuned baselines like DREEAM (69.55).
  • Multilingual Consistency: Because Wikidata is inherently multilingual, the framework works consistently across different languages (e.g., English, Spanish, German) without requiring language-specific tuning.

Conclusion

Integrating Knowledge Bases with LLMs transforms complex relation extraction into a manageable verification task, yielding substantial performance gains. While the system remains dependent on KB coverage and query latency, it provides a robust path for enhancing structured reasoning in LLMs. Future work will explore extending this "link-then-verify" approach to more complex tasks such as Event Relation Extraction.

Summary updated

BibTeX
@inproceedings{chen2024knowledge,
  author = {Tong Chen and Procheta Sen and Zimu Wang and Zhengyong Jiang and Jionglong Su},
  title = {{Knowledge Base-enhanced Multilingual Relation Extraction with Large Language Models}},
  booktitle = {LKM @ IJCAI},
  year = {2024},
  url = {https://openreview.net/forum?id=YCLt0fKp5a},
}
Figure