Back to search

Wright State University

Integrating Knowledge Graphs with Large Language Models for Natural Language Querying

Abstract

dc:description

This research explores the integration of knowledge graphs with large language modelsthat have already been trained on a vast pool of unstructured text data. Large languagemodels trained on this type of data have a tendency to hallucinate and produce factuallyinaccurate results. This behavior is primarily due to the data being trained is unstructured and huge text corpus, and large language model uses predictive text analysis methodsto obtain a response. These issues can be addressed by applying Retrieval AugmentedGeneration and Fine-tuning to large language models, employing an underlying domainspecific knowledge graph. Integrating knowledge graph and large language models aidsin learning the underlying semantics with the contextual understanding provided by largelanguage models, resulting in an efficient system capable of interpreting and responding touser queries in a more contextually aware manner while reducing hallucinations. In thisthesis, we conducted experiments to improve the efficiency of large language models usingknowledge graphs, Retrieval Augmented Generation, and fine-tuning strategies, where thelarge language model responds to user query with the help of either Retrieval AugmentedGeneration or fine-tuning techniques. The results of this study show that Retrieval Augmented Generation outperformed fine-tuning in terms of generating precise responses touser queries.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MS)
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
Wright State University
Year dc:date
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kandula, Rakesh
Contributors dc:contributor
  • Shimizu, Cogan

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Kandula, Rakesh. Integrating Knowledge Graphs with Large Language Models for Natural Language Querying. masters thesis, Wright State University, 2024. http://rave.ohiolink.edu/etdc/view?acc_num=wright1724672437730044