Home

Awesome

Awesome-LLM-KG

Awesome License: MIT

A collection of papers and resources about unifying large language models (LLMs) and knowledge graphs (KGs).

Large language models (LLMs) have achieved remarkable success and generalizability in various applications. However, they often fall short of capturing and accessing factual knowledge. Knowledge graphs (KGs) are structured data models that explicitly store rich factual knowledge. Nevertheless, KGs are hard to construct and existing methods in KGs are inadequate in handling the incomplete and dynamically changing nature of real-world KGs. Therefore, it is natural to unify LLMs and KGs together and simultaneously leverage their advantages.

<img src="figs/PLM_vs_KG.png" width = "600" />

News

🔭 This project is under development. You can hit the STAR and WATCH to follow the updates.

Overview

In this repository, we collect recent advances in unifying LLMs and KGs. We present a roadmap that summarizes three general frameworks: 1) KG-enhanced LLMs, 2) LLMs-augmented KGs, and 3) Synergized LLMs + KGs.

<img src="figs/roadmap.png" width = "800" />

We also illustrate the involved techniques and applications.

<img src="figs/Unifying.png" width = "600" />

We hope this repository can help researchers and practitioners to get a better understanding of this emerging field.
If this repository is helpful for you, plase help us by citing this paper:

@article{llm_kg,
title={Unifying Large Language Models and Knowledge Graphs: A Roadmap},
author={Pan, Shirui and Luo, Linhao and Wang, Yufei and Chen, Chen and Wang, Jiapu and Wu, Xindong},
journal={IEEE Transactions on Knowledge and Data Engineering (TKDE)},
year={2024}
}

Table of Contents

Related Surveys

KG-enhanced LLMs

KG-enhanced LLM Pre-training

KG-enhanced LLM Inference

KG-enhanced LLM Interpretability

LLM-augmented KGs

LLM-augmented KG Embedding

LLM-augmented KG Completion

LLM-augmented KG-to-Text Generation

LLM-augmented KG Question Answering

Synergized LLMs + KGs

Knowledge Representation

Reasoning

Applications

Recommender System

Fault Analysis