iText2KG: Incremental Knowledge Graphs Construction Using Large Language Models

Yassir Lairgi, Ludovic Moncla, Rémy Cazabet, Khalid Benabdeslem, Pierre Cléau
9/5/2024
cs.AIcs.CLcs.IR

No official code found. Best implementation: AuvaLab/itext2kg (971 stars, Apache-2.0, last commit 2025-11-08).

Abstract

Most available data is unstructured, making it challenging to access valuable information. Automatically building Knowledge Graphs (KGs) is crucial for structuring data and making it accessible, allowing users to search for information effectively. KGs also facilitate insights, inference, and reasoning. Traditional NLP methods, such as named entity recognition and relation extraction, are key in information retrieval but face limitations, including the use of predefined entity types and the need for supervised learning. Current research leverages large language models' capabilities, such as zero- or few-shot learning. However, unresolved and semantically duplicated entities and relations still pose challenges, leading to inconsistent graphs and requiring extensive post-processing. Additionally, most approaches are topic-dependent. In this paper, we propose iText2KG, a method for incremental, topic-independent KG construction without post-processing. This plug-and-play, zero-shot method is applicable across a wide range of KG construction scenarios and comprises four modules: Document Distiller, Incremental Entity Extractor, Incremental Relation Extractor, and Graph Integrator and Visualization. Our method demonstrates superior performance compared to baseline methods across three scenarios: converting scientific papers to graphs, websites to graphs, and CVs to graphs.

View on arXivView PDF

Code Implementations(1)

AuvaLab/itext2kgCommunity100%
Apache-2.0

We build KGs the way nature builds matter

971104PythonJul 6, 202411 months agoApache-2.0
knowledge-graphllmstemporal-knowledge-graph

Similar Papers

Cite this paper

@article{lairgi2024itextkg,
  title  = {iText2KG: Incremental Knowledge Graphs Construction Using Large Language Models},
  author = {Yassir Lairgi and Ludovic Moncla and Rémy Cazabet and Khalid Benabdeslem and Pierre Cléau},
  year   = {2024},
  eprint = {2409.03284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.03284v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.03284.svg)](https://codeofpaper.com/paper/2409.03284)

Discussion