Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wu, Xue, Tsioutsiouliklis, Kostas
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929630053662720
author Wu, Xue
Tsioutsiouliklis, Kostas
author_facet Wu, Xue
Tsioutsiouliklis, Kostas
contents Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation. However, they often struggle with complex reasoning tasks and are prone to hallucination. Recent research has shown promising results in leveraging knowledge graphs (KGs) to enhance LLM performance. KGs provide a structured representation of entities and their relationships, offering a rich source of information that can enhance the reasoning capabilities of LLMs. For this work, we have developed different techniques that tightly integrate KG structures and semantics into LLM representations. Our results show that we are able to significantly improve the performance of LLMs in complex reasoning scenarios, and ground the reasoning process with KGs. We are the first to represent KGs with programming language and fine-tune pretrained LLMs with KGs. This integration facilitates more accurate and interpretable reasoning processes, paving the way for more advanced reasoning capabilities of LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2412_10654
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data
Wu, Xue
Tsioutsiouliklis, Kostas
Computation and Language
Machine Learning
Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation. However, they often struggle with complex reasoning tasks and are prone to hallucination. Recent research has shown promising results in leveraging knowledge graphs (KGs) to enhance LLM performance. KGs provide a structured representation of entities and their relationships, offering a rich source of information that can enhance the reasoning capabilities of LLMs. For this work, we have developed different techniques that tightly integrate KG structures and semantics into LLM representations. Our results show that we are able to significantly improve the performance of LLMs in complex reasoning scenarios, and ground the reasoning process with KGs. We are the first to represent KGs with programming language and fine-tune pretrained LLMs with KGs. This integration facilitates more accurate and interpretable reasoning processes, paving the way for more advanced reasoning capabilities of LLMs.
title Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2412.10654